Google Drive, Docs, Sheets and BigQuery,
in every AI coding agent
Google publishes official remote MCP servers for Workspace and Google Cloud. AgentsRoom connects them to Claude Code, Codex, OpenCode, Gemini CLI, Grok and every other agent CLI, with the Google login already on your computer.
- notionmcp.notion.com/mcpConnected on this computer
- sentrymcp.sentry.dev/mcpRemote
- githubnpx github-mcpLocal
- Claude Code
- Codex
- GitHub Copilot CLI
- Cursor
- and 14 other agent CLIs
Google's remote MCP servers do not sign in like other MCP servers. They refuse the automatic client registration most OAuth buttons rely on, and a token pasted into a header expires after one hour. Gemini CLI solves it with a Google login provider. The other CLIs have no such thing.
AgentsRoom adds it for all of them. You paste the block Google documents for Gemini CLI, or just the server address, and every agent you launch reaches the server with a fresh token from your own Google login, on each request.
It covers the Google Workspace servers (Drive, Docs, Sheets, Slides, and Gmail, Calendar or Chat the same way) and the Google Cloud ones, BigQuery first.
The servers it covers
Each address below is a Google server. AgentsRoom only brings the login.
Google Drive
Search your files and read their content.
https://drivemcp.googleapis.com/mcp/v1Google Docs
Read and write Google Docs.
https://docsmcp.googleapis.com/mcp/v1Google Sheets
Read and update the values of a spreadsheet.
https://sheetsmcp.googleapis.com/mcp/v1Google Slides
Read and edit a presentation.
https://slidesmcp.googleapis.com/mcp/v1BigQuery
List datasets and run SQL queries, billed by Google.
https://bigquery.googleapis.com/mcpGmail, Calendar, Chat and the other Google Cloud remote servers follow the same model.
How it works
1. Sign in once with gcloud
In a terminal, run gcloud auth application-default login. For the Workspace servers, sign in with your own OAuth client and the Workspace scopes (see the command below).
2. Paste the server in MCP servers
In Settings, in a project's settings or on one agent, open the MCP servers field and paste Google's block. If you paste only the address, the row offers a Use Google login button that writes the setting for you.
3. Check the Google login badge
The row shows a Google login badge: this server will use the Google login of this computer. No key is stored in AgentsRoom.
4. Every agent sees the tools
Launch Claude Code, Codex, OpenCode or any other agent: the server's tools are in its list, and each request carries a fresh Google token.
The block to paste
The same block Google documents for Gemini CLI, accepted as is. httpUrl is read as url, and authProviderType turns the Google login on.
{
"mcpServers": {
"google-drive": {
"httpUrl": "https://drivemcp.googleapis.com/mcp/v1",
"authProviderType": "google_credentials"
}
}
}The login for Workspace servers
Google asks for the Workspace scopes and an OAuth client marked as used by an AI-powered agent. Add the scopes of the servers you use.
gcloud auth application-default login \
--client-id-file=client.json \
--scopes=https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/drive.readonlyYour Google login stays yours
- A fresh token is added to each request and renewed before it expires.
- AgentsRoom stores no key and no token: it reads the login gcloud already saved on this computer.
- The token only goes to googleapis.com addresses. A shared or imported block that asks for it anywhere else is skipped.
- The login never leaves your computer: it is not sent to agents running on an SSH host.
Limits, stated plainly
- Agents running on an SSH host do not get the Google servers: the login stays on your computer.
- A Google tool that asks for your approval answers an error, because AgentsRoom cannot show that approval yet. Use the /mcp/v1self address, which lists only the tools that work without it.
- Your Google account needs the roles or scopes Google lists for each server. For BigQuery: MCP Tool User, BigQuery Job User and BigQuery Data Viewer.
- BigQuery queries run through Google's server are billed by Google, without the per-query billing cap of a BigQuery database connection.
Frequently asked questions
Ask us something elseCan I use the Google Drive MCP server in Claude Code?
Does it work with Codex, OpenCode and the other CLIs?
Why not use the Use OAuth button?
My Drive or Docs server answered HTTP 400 "Header missing" and listed no tools.
Does AgentsRoom store my Google token?
BigQuery MCP server or BigQuery database connection: which one?
You may also like
MCP servers
Declare an MCP server once and hand it to Claude Code, Codex and every agent CLI. Pick it from the official MCP registry, keep keys in the Secret Manager, and sign in to OAuth servers like Notion or Linear with one Connect button.
Database Connections
Save your MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and Google BigQuery connections, reach a database in a private subnet through an SSH tunnel or an AWS SSM session, and let your AI agents query it over MCP. Read-only by default, one statement per call, capped result sets, and the password never reaches the agent. Export, import and database-to-database copy for MySQL, PostgreSQL and MongoDB.
Cloud SQL Auth Proxy
Reach a Cloud SQL for MySQL or PostgreSQL instance from your own machine, private IP included, without a bastion VM. AgentsRoom starts the Cloud SQL Auth Proxy on a loopback port with your gcloud Application Default Credentials, supports IAM database authentication, and lets AI agents query it read-only.
Multi-Provider
AgentsRoom supports 25 AI coding providers: Claude, Codex, GitHub Copilot CLI, OpenCode, Antigravity CLI, Aider, Grok Build, Mistral Vibe, Kimi Code, Amp, oh-my-pi, Freebuff, Devin, Cursor, Command Code, Muse Code, Pi, MiniMax Code, ZCode, Hermes Agent, Goose, Qwen Code, Kiro, Rovo Dev and DeepSeek Harness. Assign a different provider per agent, switch provider mid-conversation, and keep full context with automatic handoff. The best multi-provider AI coding tool.
Give your agents your Google files
One Google login on your computer, every agent CLI connected to Drive, Docs, Sheets and BigQuery.
Companion app: monitor your agents on the go
Bring your own: Claude, Codex, Antigravity CLI, or other AI provider.
Push bugs and requests straight to your public backlog.