Google MCP servers

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.

One list, every CLI
Your MCP servers
  • 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/v1

Google Docs

Read and write Google Docs.

https://docsmcp.googleapis.com/mcp/v1

Google Sheets

Read and update the values of a spreadsheet.

https://sheetsmcp.googleapis.com/mcp/v1

Google Slides

Read and edit a presentation.

https://slidesmcp.googleapis.com/mcp/v1

BigQuery

List datasets and run SQL queries, billed by Google.

https://bigquery.googleapis.com/mcp

Gmail, Calendar, Chat and the other Google Cloud remote servers follow the same model.

How it works

  1. 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. 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. 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. 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.readonly

Your 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 else
Can I use the Google Drive MCP server in Claude Code?
Yes. Paste the Drive server (https://drivemcp.googleapis.com/mcp/v1) with "authProviderType": "google_credentials" in the MCP servers field of AgentsRoom, after running gcloud auth application-default login once with the Drive scope. Every Claude Code agent AgentsRoom launches then lists the Drive tools.
Does it work with Codex, OpenCode and the other CLIs?
Yes. The Google login is added by a small bridge shipped with AgentsRoom, so every agent CLI with an MCP client sees the same Google servers: Claude Code, Codex, OpenCode, Gemini CLI, Grok and the others.
Why not use the Use OAuth button?
Google's servers do not accept the automatic client registration that button relies on (Dynamic client registration not supported), and a token pasted in an Authorization header expires after one hour. The Google login avoids both.
My Drive or Docs server answered HTTP 400 "Header missing" and listed no tools.
That was an older AgentsRoom. The Workspace servers speak the newest MCP revision, which AgentsRoom handles on its own since 28 November 2026. Update AgentsRoom and restart the agent. If a tool then answers invalid token or a permission error, sign in again with your own OAuth client and the Workspace scopes.
Does AgentsRoom store my Google token?
No. It reads the login that gcloud auth application-default login saved on your computer, adds a fresh token to each request, and sends it only to googleapis.com addresses.
BigQuery MCP server or BigQuery database connection: which one?
Both use the same Google login. The MCP server gives your agents Google's own BigQuery tools. The database connection lets you browse tables yourself, read-only by default, with a billing cap on each query.

You may also like

Give your agents your Google files

One Google login on your computer, every agent CLI connected to Drive, Docs, Sheets and BigQuery.

Download AgentsRoomFree

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.