mcp-google-multi
Use mcp-google-multi as a private, multi-account Google Workspace MCP server for reading, writing, searching, and automating Google services.
Access 970 tools across 29 Google services, including Gmail, Drive, Calendar, Sheets, Docs, Slides, Forms, Contacts, Tasks, Chat, Meet, Analytics, Search Console, Classroom, Vault, and Admin.
Discover tools per service or reveal all curated tools; reset discovery to reclaim context.
Search Google's API Discovery index and invoke any Google Workspace REST method through google_api_search and google_api_call when no dedicated tool exists.
Work with multiple Google accounts by alias; list accounts, add accounts via OAuth, re-authenticate, check token/scope status, and fan calls across accounts.
Send/read Gmail in Markdown with attachments and replies; manage Drive files, calendars/events, Sheets ranges, Docs, contacts, tasks, Meet records/transcripts, Search Console data, and more.
Diagnose auth/config/API-enablement problems and get copy-paste fixes.
Register the server with Claude Code, Claude Desktop, or Cursor, or print the config snippet.
Enforce safety controls: deny-by-default writes, read-only/write profiles, confirmation for write calls, outbound recipient allowlists, encrypted tokens, and no telemetry.
Run locally over stdio or self-hosted over HTTP with a built-in OAuth 2.1 server.
Allows reading and managing Gmail messages, including sending emails, searching, and managing labels across multiple Google accounts.
Provides integration with Google Workspace services (Gmail, Drive, Calendar, Sheets, Docs, Contacts, Tasks, Meet, Search Console, plus optional Forms, Chat, Workspace Admin) across multiple Google accounts, with read-only by default and configurable write permissions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-google-multi show my upcoming events from my work calendar"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-google-multi
The most complete local Google Workspace MCP server: Gmail, Drive, Calendar, Sheets, Docs, Slides, Forms, Contacts, Tasks, Chat, Meet, Analytics (GA4), Search Console, Classroom, Vault, Admin and more โ every OAuth-reachable API method as a tool, across multiple Google accounts at once, from Claude Code or any MCP client.
๐งฐ Exhaustive โ 970 tools across 29 services, now including Google Analytics (GA4), + an escape hatch for anything else โ COVERAGE.md
๐ Multi-account โ drive any number of Google accounts by alias, or fan one call out across all of them
๐ Private by design โ your own OAuth app, tokens encrypted at rest (AES-256-GCM), writes deny-by-default, no telemetry, no metering โ it talks only to Google
๐ Local or remote โ runs locally over stdio, or self-hosted over HTTP with its own built-in OAuth 2.1 server (Claude Code's
/mcplogin and the claude.ai connector, zero custom UI). Pull-and-up Docker Compose with optional automatic HTTPS โ remote setupโ๏ธ Built for real work โ send and read email in Markdown with attachments and one-call replies, an interactive setup wizard with a
doctorself-check, and per-account scope profiles โ features tour
Quick setup
New to all this? It's written for someone who just installed Claude Code and has never made an API key. Copy-paste each step; it says what you'll see. (Already technical? The Configuration reference is the terse version.)
Install it. Get Node.js (the green "LTS" button, version 22 or newer), then run:
npm install -g mcp-google-multiClaude Desktop user? You can skip npm entirely: download the
mcp-google-multi.mcpbbundle from the latest release, double-click it (or drag it into Claude Desktop โ Settings โ Extensions), and fill in the values from step 2 when prompted.Make your Google key (the one manual part, a few minutes, because Google has no way to script it). Follow the step-by-step Google Cloud setup, or just ask Claude Code: "walk me through creating a Google OAuth Desktop client for mcp-google-multi." You finish with two values, a Client ID and a Client Secret. It's free and private to you.
Put them in a file. In the folder you'll run from, make a file named
.envand paste this, filling in your values:GOOGLE_CLIENT_ID=paste-your-client-id GOOGLE_CLIENT_SECRET=paste-your-client-secret # any short nickname, then your Gmail address: GOOGLE_ACCOUNTS=me:you@gmail.comNo encryption key to make: the server generates and stores one for you.
Sign in. A browser opens; pick your account and click Allow:
mcp-google-multi auth --account meAdd it to Claude Code, then restart Claude Code:
claude mcp add mcp-google-multi -s user -- npx -y mcp-google-multi
Stuck at any point? Run mcp-google-multi doctor. It inspects every part and prints the exact fix for anything wrong (a missing sign-in, a Google API you still need to switch on, and so on). Once it reads all-green, just talk to Claude: "summarize my unread email."
Got more than one Google account? Add them together, like GOOGLE_ACCOUNTS=me:you@gmail.com,work:you@company.com, and run step 4 once per nickname.
On a server or from claude.ai? Advanced path: Remote / HTTP setup. Coming from v5? v6 migration guide.
Go deeper: Configuration reference ยท What's covered ยท Features tour ยท Remote / HTTP setup ยท Secrets in a vault ยท Local usage metrics ยท Migrating to v6 ยท Security policy ยท Roadmap
Related MCP server: google-workspace-mcp
Which one to use: this server or Google's hosted Workspace MCP servers
Google now runs its own remote MCP servers for Workspace. This is how they compare, from Google's pages as read on 17 November 2026. Their status can change, so check the sources before you decide.
Google's hosted servers | mcp-google-multi | |
Where it runs | Google's endpoints, one per product ( | Your machine over stdio, or your own host over HTTP |
Status | Developer Preview, and you need membership in the Google Workspace Developer Preview Program. No GA date is stated | Released and versioned, MIT licensed |
Setup | Enable the MCP services in a Google Cloud project, make a Web application OAuth client with "Use this client for an AI-powered agent" ticked, add test users if the consent screen is External | Your own OAuth client, an interactive setup wizard and a |
Scopes | Narrow, for example | Per-account scope profiles, from read-only up to the full set you grant |
Coverage | Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, People, Classroom | 970 tools across 29 services, plus an escape hatch for any REST method (COVERAGE.md) |
Accounts | User-delegated OAuth, or service accounts with domain-wide delegation | Several Google accounts at once, by alias |
Writes | Sensitive actions through domain-wide delegation get confirmation prompts | Denied by default, with write profiles, an outbound recipient allowlist and local file confinement |
Limits and pricing | Not stated on the pages read | No metering or telemetry. Google's own API quotas apply to your client |
Admin view | Developer access is managed in the Admin console under Security > API Controls | You run it, so you own the credentials and the logs |
Pick Google's servers when you want a first-party, no-install connector for Gmail, Drive, Calendar, Docs, Sheets or Slides, you are comfortable with a preview product, and the narrower scopes suit the job. They are also the natural choice when your organisation wants Google to host the connection.
Pick this server when you need more than those products (Tasks, Forms, Meet, Analytics, Search Console, Admin and the rest), more than one account in one session, local files and attachments, a stricter write policy, or something that is not in preview.
Nothing stops you running both: they are separate MCP servers.
Sources: Configure the Google Workspace MCP servers, Universal Search MCP server, Workspace Updates, 1 May 2026.
Agent skill
The repo and the npm package both ship an Agent Skill at skills/google-workspace/: a hand-written SKILL.md covering account selection, the discover step, incremental Gmail sweeps, keeping results small, write profiles, and the escape hatch, plus a reference/ folder with a generated argument table per service. Loading it gets an agent calling this server's tools correctly without guessing argument names.
To install it for Claude Code, copy or symlink the skills/google-workspace folder into ~/.claude/skills/ (every project) or a project's own .claude/skills/ (that project only):
# from a cloned copy of this repo
ln -s "$(pwd)/skills/google-workspace" ~/.claude/skills/google-workspace
# from the installed npm package
ln -s "$(npm root -g)/mcp-google-multi/skills/google-workspace" ~/.claude/skills/google-workspaceMaintainer, sponsor & license
Built and maintained by Abdelbaki Berkati โ berkati.xyz ยท @bakissation. Read the case study โ
Development is funded by IdeaCrafters (@IdeaCraftersHQ) โ the studio that pays for this OSS to exist.
An Enterprise Edition (hosted, multi-tenant) is available: ask through berkati.xyz (email or LinkedIn there).
Thanks to contributors @obatried, @trevor-commits, and @mjreddy. The project is maintainer-led (roadmap on Milestones; bug reports welcome, feature PRs by prior agreement โ see CONTRIBUTING.md). Feedback shapes the roadmap: open an issue with bugs, pain points, or what you wish it did. Security reports go to SECURITY.md, never a public issue.
Licensed under MIT.
Available Tools
19 toolsaccount_addADestructiveIdempotent
Add a new Google account: pass alias + email directly (plus optional bundles/allBundles/admin), or pass nothing for an interactive form where the client supports elicitation. Writes the registry and runs Google consent in the browser. No file editing or restart needed to use the account (tools of a service it newly enables register at the next restart). Requires GOOGLE_CLIENT_ID/SECRET (run the setup prompt first if missing).
Inputs: admin, alias, email, account, +2 more.
account_listARead-onlyIdempotent
List the configured Google accounts: alias, email, admin flag, token status (ok / expired_refreshable / needs_reauth / missing / decrypt_error), and which one is the default. Pass verbose: true for the full per-account report (granted vs configured scopes).
Inputs: verbose.
account_reauthADestructiveIdempotent
Re-authenticate an existing Google account (recover a dead refresh token, or grant scopes after a profile change). Runs Google consent in the browser. Pass the account alias.
Inputs: alias, account.
account_write_configADestructiveIdempotent
Register this server with your MCP client (Claude Code / Claude Desktop / Cursor) so you don't hand-edit JSON. Default: returns the exact snippet/command to add. Pass write:true to write detected file-based configs in place (backs up first, never clobbers a malformed file). Secrets are never inlined.
Inputs: name, write, client.
calendar_discoverBRead-onlyIdempotent
Discover calendar: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: list_calendars, list_events, get_event, create_event, update_event, respond_event, delete_event, quick_add, move_event, list_instances +6 more; 24 generated ops: acl, calendars, calendar, events, settings, channels +1 areas.
Inputs: query.
contacts_discoverARead-onlyIdempotent
Discover contacts: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: search, search_directory, resolve, get, list, create, update, delete, groups_list, group_members +1 more; 13 generated ops: people, contact, other.
Inputs: query.
diagnoseARead-onlyIdempotent
Health report for this server: runtime, config, keys, per-account token status, scope grants, and API enablement. Read-only; returns copy-pasteable fixes for anything wrong. Call this to diagnose auth/config failures.
Inputs: no named parameters.
discover_allARead-onlyIdempotent
Reveal ALL curated Google tools at once (instead of per-service discovery). Use when starting substantial Google work; prefer these over google_api_call. Pair with discover_reset.
Inputs: no named parameters.
discover_resetARead-onlyIdempotent
Collapse the tool surface back to the configured default, reclaiming context budget after heavy Google work. All tools remain callable by name after collapsing.
Inputs: no named parameters.
docs_discoverARead-onlyIdempotent
Discover docs: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: create, get, read, insert_text, replace_text, delete_range, update_style, insert_table, create_named_range, delete_named_range +17 more.
Inputs: query.
drive_discoverARead-onlyIdempotent
Discover drive: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: search, read, list, upload, download, export, create_folder, update, delete, trash +27 more; 35 generated ops: approvals, files, drives, teamdrives, changes, apps +6 areas.
Inputs: query.
gmail_discoverARead-onlyIdempotent
Discover gmail: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: search, read, read_thread, read_batch, send, download_attachment, create_draft, modify_labels, trash, delete +13 more; 57 generated ops: users.
Inputs: query.
google_api_callADestructive
Invoke any Google Workspace REST method by Discovery id (escape hatch for operations without a dedicated tool). Find methods with google_api_search first. A write asks the connected human to confirm the real call (account, verb, params, a destinations-first body summary) unless GOOGLE_PROFILE=full-writes with no outbound allowlist; GOOGLE_READ_ONLY or a matching GOOGLE_WRITE_DENY still refuse outright. On reads, pass a fields query param (Google partial response) to keep the payload small. Returns JSON only; for binary/file content (media downloads, drive.files.export) use drive_download / drive_export instead.
Inputs: api (required), methodId (required), body, account, +2 more.
google_api_searchARead-onlyIdempotent
Search the Google API Discovery index for any Workspace REST method, including ones with no dedicated tool here. Returns method ids + parameters to invoke via google_api_call. APIs: gmail, drive, calendar, sheets, docs, slides, forms, people, searchconsole, tasks, chat, meet, driveactivity, drivelabels, admin_directory, admin_reports, admin_datatransfer, groupssettings, analyticsadmin, analyticsadmin_v1alpha, analyticsdata, appsmarket, classroom, cloudidentity, cloudsearch, groupsmigration, keep, licensing, postmaster, reseller, script, vault, workspaceevents.
Inputs: query (required), api, maxResults.
meet_discoverARead-onlyIdempotent
Discover meet: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: conference_records_list, conference_record_get, recordings_list, transcripts_list, transcript_entries_list; 19 generated ops: spaces, conference.
Inputs: query.
searchconsole_discoverARead-onlyIdempotent
Discover searchconsole: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: sites_list, sites_get, sites_add, sites_delete, sitemaps_list, sitemaps_get, sitemaps_submit, sitemaps_delete, searchanalytics_query, url_inspect; 1 generated ops: url.
Inputs: query.
sheets_discoverARead-onlyIdempotent
Discover sheets: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: create, get, read_range, write_range, append_rows, clear_range, batch_read, batch_write, add_sheet, delete_sheet +20 more; 7 generated ops: spreadsheets.
Inputs: query.
tasks_discoverARead-onlyIdempotent
Discover tasks: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: lists_list, list_get, list_insert, list_update, list_delete, list, get, insert, update, delete +2 more; 2 generated ops: tasklists, tasks.
Inputs: query.
workspaceevents_discoverARead-onlyIdempotent
Discover workspaceevents: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: 7 generated ops: subscriptions, operations.
Inputs: query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 19 tools
Per-service discover tools are cleanly partitioned by Google product, but discover_all overlaps with every one of them and google_api_search/google_api_call provide a second, generic path to the same operations. An agent can reasonably struggle to decide between a curated *_discover tool, discover_all, and the raw Discovery escape hatch for a given task.
Everything is snake_case and readable, but there are competing families: service-first `docs_discover`/`gmail_discover` versus verb-first `discover_all`/`discover_reset`, plus bare `diagnose` and prefixed `account_*`. The discovery-group naming break in particular makes related tools look unrelated.
19 top-level tools sits at the heavy end of the acceptable band, and each discover tool hides dozens more operations behind it, so the effective surface is in the hundreds. The discovery-gating pattern is a legitimate mitigation, but agents still pay a two-step cost before doing any real work.
Coverage spans gmail, drive, calendar, sheets, docs, meet, tasks, contacts, searchconsole and events, with account management, diagnostics and config helpers, plus google_api_search/call as a universal fallback. Gaps exist only where services like slides, forms and chat rely on raw Discovery calls rather than curated tools.
Maintenance
Related MCP Connectors
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
Permissioned access to Gmail, Drive and Calendar via the user's own Google account
Gmail, Outlook, Drive, OneDrive and calendars for AI agents. Many accounts, one endpoint, audit log.
Your Gmail, Calendar, Drive, GitHub, Oura, wallet and confirmed profile facts in any MCP client.
Related MCP Servers
- AlicenseCqualityAmaintenanceA multi-account Google Workspace MCP server that drives Gmail, Google Calendar, and Google Drive across any number of Google accounts in parallel from one server.422MIT
- FlicenseBqualityDmaintenanceMCP server providing full access to Google Workspace services (Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Contacts) using OAuth authentication.1001-
- AlicenseAqualityBmaintenanceEnables natural language interaction with multiple Google accounts (Gmail, Drive, Calendar) from MCP-compatible clients like Claude.6333 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables multi-user access to Google Workspace services (Gmail, Calendar, Docs, Sheets, Slides, Drive) via remote MCP with OAuth 2.1 authentication.-