Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Google Mcp Suite

БесплатноНе проверен

Google Workspace MCP servers for AI agents, one per service per account: Gmail, Google Calendar, Google Drive, Google Docs, and Google Sheets. Identity is bound

GitHubEmbed

Описание

Google Workspace MCP servers for AI agents, one per service per account: Gmail, Google Calendar, Google Drive, Google Docs, and Google Sheets. Identity is bound to the running instance, so an agent (Claude, Cursor, or any MCP client) can never act on the

README

google-mcp-suite

npm   CI   codecov   OpenSSF Scorecard   License: MIT

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: 117 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%.

Gmail     Calendar     Sheets     Docs     Drive

117 operations ship today: Gmail (33), Calendar (25), Sheets (15), Docs (9), 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:

  1. An operation is a folder of schema.ts + handler.ts + index.ts + handler.test.ts, conforming to one operation() shape.
  2. 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 25 (8 plus 17), Drive with 35 (8 plus 27), Sheets with 15, and Docs with 9 (Google publishes no MCP toolset for Sheets or Docs, so those are REST-sourced throughout); 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. A google-mcp-suite front-door bin dispatches to any of them (npx google-mcp-suite gmail), 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 25 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 publishes no MCP toolset for either, so those servers are methods-only (15 and 9 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 [email protected]   # browser consent; writes the account token
google-mcp-doctor auth [email protected]       # 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": "[email protected]" }
    },
    "gmail-work": {
      "command": "google-mcp-gmail",
      "env": { "GOOGLE_MCP_ACCOUNT": "[email protected]" }
    },
    "calendar-personal": {
      "command": "google-mcp-calendar",
      "env": { "GOOGLE_MCP_ACCOUNT": "[email protected]" }
    },
    "calendar-work": {
      "command": "google-mcp-calendar",
      "env": { "GOOGLE_MCP_ACCOUNT": "[email protected]" }
    },
    "sheets-work": {
      "command": "google-mcp-sheets",
      "env": { "GOOGLE_MCP_ACCOUNT": "[email protected]" }
    },
    "docs-work": {
      "command": "google-mcp-docs",
      "env": { "GOOGLE_MCP_ACCOUNT": "[email protected]" }
    },
    "drive-work": {
      "command": "google-mcp-drive",
      "env": { "GOOGLE_MCP_ACCOUNT": "[email protected]" }
    }
  }
}

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.

Then ask your agent for something no single-account tool can do:

Find a free 30-minute window next week that works across my work and personal calendars, book it on the work calendar with a Meet link, email the invite summary to my personal address, and log the booking in my scheduling spreadsheet.

Layout

src/
  auth/      # shared OAuth: one client secret, per-account tokens
  lib/       # the two MCP primitives: operation() + server()
  suite/     # google-mcp-suite: the front-door bin; dispatches to a service or doctor
  doctor/    # google-mcp-doctor: provisioning + auth-health CLI
  gmail/     # the Gmail server (reference/canary); new services mirror its shape
  calendar/  # the Calendar server; same shape
  sheets/    # the Sheets server; same shape, methods-only (no Google MCP toolset)
  docs/      # the Docs server; same shape, methods-only
  drive/     # the Drive server; same shape (MCP toolset + REST methods)

One package, one version. auth, lib, doctor, and each service are folders in one src/ and compile to a single published package.

  • src/auth owns authentication. A service imports it and calls authorizedClient(account) to get an authenticated Google client.
  • src/lib owns the protocol with two primitives: operation() (a typed definition every operation conforms to) and server() (turns a service's operations into a running stdio MCP server). A service never reimplements the MCP server.
  • src/doctor is the setup and health CLI; it knows the services, never the other way around. See its README.
  • src/<service> is a server: index.ts (bootstrap) plus a folder per operation under tools/ (MCP-sourced verbs) and methods/ (REST-sourced verbs), each holding schema.ts + handler.ts + index.ts + handler.test.ts; shared zod nouns live in entities/ and projections in lib/.

The multi-account model

  • One OAuth app. A single Google Cloud OAuth client (client_secret) is shared across every service.
  • One token per account. Each account is authorized once, granted the full scope union for all services. Tokens are stored per account, outside the repo. The account name is a label you choose at doctor auth time; an email address or a short alias (work, personal) both work, and the alias form keeps your MCP config readable.
  • Identity by instance. A running server is bound to one account via the GOOGLE_MCP_ACCOUNT environment variable. To command three accounts, you run three instances of a service, each with a different GOOGLE_MCP_ACCOUNT. There is no per-call account argument, so a server cannot act on the wrong account.

Auth setup

Authorization is a one-time, per-account browser consent flow.

  1. Create a Google Cloud project, enable the APIs you need (Gmail, Calendar, Sheets, ...), and create an OAuth client (Desktop app). Download the client secret JSON.
  2. Place the client secret JSON at ~/.google-mcp/client_secret.json (override knobs in src/auth's README).
  3. Authorize each account once; this opens a browser consent flow and stores that account's token.
  4. Run a service with GOOGLE_MCP_ACCOUNT=<account> to act as that account.

The google-mcp-doctor CLI drives all of it except the console clicks: doctor scopes prints the APIs and scopes to enable, doctor auth <email> runs the consent flow and writes the token, and doctor / doctor status confirm every account is authorized and reachable.

Credentials never live in the repo. Tokens and the client secret live in the ignored ~/.google-mcp/ config directory, and .gitignore also blocks common credential filenames.

For the full, step-by-step Google Cloud walkthrough (enabling APIs, declaring scopes, consent-screen and test-user setup, and what an agent can automate), see PROVISIONING.md.

Development

bun install
bun run check     # lint-fix, build, typecheck, test, knip

See CONTRIBUTING.md for the full task list, AGENTS.md for the per-service pattern, EXTENDING.md for the add-a-service recipe, ADDING-A-SERVICE.md for the end-to-end service playbook, and CHANGELOG.md for release history.

Services

Service Status Operations
Gmail ✅ Implemented 33 operations: threads, messages, drafts, labels, filters, attachments
Calendar ✅ Implemented 25 operations: events, calendars, free/busy, meeting-time suggestions
Sheets ✅ Implemented 15 operations: spreadsheets, values, batch and data-filter reads/writes, developer metadata
Docs ✅ Implemented 9 operations: document reads and creation, curated text editing and styling
Drive ✅ Implemented 35 operations: files, search, content, comments, revisions, shared drives

Gmail is the reference (canary) implementation; Calendar is its first replication; Sheets and Docs are methods-only (Google publishes no MCP toolset for them); Drive carries both wings; each new service mirrors the same shape.


GitHub     X     Ko-fi

MIT. Google product names are used nominatively; see NOTICE.md; not affiliated with Google LLC. Crafted with care by  Simiancraft.

from github.com/simiancraft/google-mcp-suite

Установить Google Mcp Suite в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install google-mcp-suite

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add google-mcp-suite -- npx -y google-mcp-suite

FAQ

Google Mcp Suite MCP бесплатный?

Да, Google Mcp Suite MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Google Mcp Suite?

Нет, Google Mcp Suite работает без API-ключей и переменных окружения.

Google Mcp Suite — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Google Mcp Suite в Claude Desktop, Claude Code или Cursor?

Открой Google Mcp Suite на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Google Mcp Suite with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication