google-mcp-suite
Google Workspace MCP servers you can read in an afternoon, one per service.
The curated MCP toolset plus the broader REST surface for Gmail, Google Calendar, Google Drive, Google Docs, and Google Sheets, one server per service per account: 210 self-describing operations across five Google services, so an AI agent (Claude, Cursor, or any MCP client) can do (nearly) anything your accounts can, on several accounts at once, and never on the wrong one. Every operation cites its Google reference page and validates input and output; test coverage is pinned at 100%.
210 operations ship today: Gmail (33), Calendar (31), Sheets (76), Docs (35), and Drive (35).
Replacing a built-in connector? Hand your agent ADOPTING.md: the playbook to adopt, supersede, verify, and decommission.
What it does
Point an AI agent at your Google accounts and let it do the work: triage and send mail, run your calendars, read and write your spreadsheets, draft and edit documents, and manage your files and shared drives. The end goal is an agent that operates your accounts and hands you results.
The design has two internal concepts and nothing else:
- An operation is a folder of
schema.ts + handler.ts + index.ts + handler.test.ts, conforming to one operation() shape.
- A server function,
server(...), wires those operations into a running MCP server.
That is the whole surface. Read one operation folder and you understand all of them.
- REST plus MCP in one surface. Each server exposes the curated MCP toolset and the broader REST method set of its Google API, so an agent gets far more than a thin slice. Gmail ships with 33 operations (10 curated MCP tools plus 23 REST methods), Calendar with 31 (8 plus 23), Drive with 35 (8 plus 27), Sheets with 76, and Docs with 35 (Sheets and Docs are REST-sourced throughout; Google published no MCP toolset for either when they shipped, though previews now exist); the split is explained in MCP, and then some.
- The folder tree mirrors Google's docs. A Google tools-list reference page becomes a
tools/ folder; a Google REST method reference page becomes a methods/ folder. If you can find the operation in Google's docs, you can find it in this repo.
| Google's reference page | This repo's folder |
|---|
| A tools-list page (curated MCP toolset) | tools/<operation>/ |
| A REST method reference page | methods/<operation>/ |
- Multiple accounts, in parallel. Identity is bound to a running instance, not passed per call, so an agent can act across your accounts at once and cannot act on the wrong one.
- Siloed by design. Each service runs as its own independent server in its own lane; the orchestrating agent is the single thing that coordinates them.
- Strict by construction. Input and output schemas are validated on every call, vocabulary is sourced from Google's own docs, types are strict (NodeNext ESM,
verbatimModuleSyntax, noUncheckedIndexedAccess), and coverage is pinned at 100% in bunfig.toml.
One package, one version: everything compiles into google-mcp-suite, which ships a bin per service (google-mcp-gmail, google-mcp-calendar, google-mcp-sheets, google-mcp-docs, and google-mcp-drive today) plus the google-mcp-doctor setup CLI and google-mcp-host, which serves every service for every account from one Streamable HTTP process. A google-mcp-suite front-door bin dispatches to any of them (npx google-mcp-suite gmail, npx google-mcp-suite host), which is also what lets MCP registries launch the suite from its package name alone.
MCP, and then some
This is an MCP server, and deliberately more than one. Google publishes an MCP toolset for some services, but that toolset is a small slice of what each API can do; you cannot fully instrument an account with it alone. Calendar makes the gap concrete: Google's curated Calendar toolset is 8 tools; the API has 31 worth having, and this server ships all of them. The goal here is to fully empower an agent across several Google accounts and services, so each server exposes two surfaces under one wire protocol:
tools/ mirrors Google's MCP toolset reference, verbatim.
methods/ covers the broader REST reference, the operations the MCP toolset omits.
The split is Google's own (its MCP reference and its REST reference are separate trees); we keep it on disk on purpose and unify it operationally (one Operation type, one merged wire surface where everything is an MCP tool). The breadth of the operation list is the evidence that MCP alone is not enough for real work. Sheets and Docs are the limit case: Google published no MCP toolset for either when they shipped (developer previews have since appeared), so those servers are methods-only (76 and 35 operations sourced entirely from the REST reference). Keeping the two sourced surfaces separate also makes each new operation a bounded, documentation-driven unit of work; the recipe is in EXTENDING.md.
Quickstart
One thing first: a Google Cloud OAuth client (roughly ten minutes of console clicks, once; the friction is Google's, not ours). PROVISIONING.md walks every click, and doctor tells you which step you are on.
Driving this with an agent? Hand it ADOPTING.md: the literal adopt, supersede-the-built-ins, verify, and decommission playbook, with a hand-off prompt to paste.
npm install -g google-mcp-suite
google-mcp-doctor scopes # the exact APIs + scopes to enable in Google Cloud
google-mcp-doctor auth personal@example.com # browser consent; writes the account token
google-mcp-doctor auth work@example.com # once per account
google-mcp-doctor # provisioned, authorized, reachable?
Then point your MCP client at the servers, one instance per service per account:
{
"mcpServers": {
"gmail-personal": {
"command": "google-mcp-gmail",
"env": { "GOOGLE_MCP_ACCOUNT": "personal@example.com" }
},
"gmail-work": {
"command": "google-mcp-gmail",
"env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
},
"calendar-personal": {
"command": "google-mcp-calendar",
"env": { "GOOGLE_MCP_ACCOUNT": "personal@example.com" }
},
"calendar-work": {
"command": "google-mcp-calendar",
"env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
},
"sheets-work": {
"command": "google-mcp-sheets",
"env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
},
"docs-work": {
"command": "google-mcp-docs",
"env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
},
"drive-work": {
"command": "google-mcp-drive",
"env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
}
}
}
The GOOGLE_MCP_ACCOUNT value must be the same string doctor auth was given;
a bare email is its own account label. For short aliases (personal, work)
write the optional roster first, as ADOPTING.md step 3 does.
Or one shared host
Stdio is fine for one client. Each stdio entry above is a process per client
session, so on a machine running several agents at once (or a client that
spawns MCP servers per thread and never closes them), that multiplies into
hundreds of idle Node processes.
google-mcp-host serves every service for every roster account from one
process over MCP's Streamable HTTP transport; each client connection is its
own session, bound to the account in the path:
google-mcp-host # http://127.0.0.1:8765/<account>/<service>