mcp-google-multi
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MASTER_KEY | Yes | Base64-encoded 32-byte key to encrypt token store (e.g. openssl rand -base64 32) | |
| GOOGLE_PROFILE | No | Write policy: read-only (default), safe-writes, or full-writes | read-only |
| GOOGLE_ACCOUNTS | Yes | Comma-separated alias:email pairs, e.g. work:you@co.com,personal:you@gmail.com | |
| GOOGLE_CLIENT_ID | Yes | OAuth Desktop client ID from Google Cloud | |
| GOOGLE_READ_ONLY | No | Set to 'true' to hard-disable all writes | |
| TOKEN_STORE_PATH | No | Override path for encrypted token directory (default: ~/.config/mcp-google-multi/tokens) | |
| GOOGLE_WRITE_DENY | No | Glob overrides to deny specific write tools, e.g. '*:delete*' | |
| GOOGLE_WRITE_ALLOW | No | Glob overrides to allow specific write tools, e.g. 'calendar:*, sheets:update*' | |
| GOOGLE_CLIENT_SECRET | Yes | OAuth Desktop client secret from Google Cloud | |
| GOOGLE_ADMIN_ACCOUNTS | No | Aliases granted Workspace admin scopes | |
| GOOGLE_OPTIONAL_SCOPES | No | Extra scope bundles: 'forms', 'chat', or comma-separated |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| discover_allA | 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. |
| discover_resetA | Collapse the tool surface back to the configured default, reclaiming context budget after heavy Google work. All tools remain callable by name after collapsing. |
| gmail_discoverA | 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. |
| drive_discoverA | 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. |
| calendar_discoverB | 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. |
| sheets_discoverA | 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. |
| docs_discoverA | 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. |
| contacts_discoverA | 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. |
| searchconsole_discoverA | 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. |
| tasks_discoverA | 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. |
| meet_discoverA | 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. |
| workspaceevents_discoverA | Discover workspaceevents: lists the catalog and reveals its hidden tools; call first, then call the tool by name. Ops: 7 generated ops: subscriptions, operations. |
| google_api_searchA | 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. |
| google_api_callA | 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 |
| account_listA | 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). |
| diagnoseA | 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. |
| account_addA | 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 |
| account_reauthA | 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. |
| account_write_configA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| setup | Guided Google Cloud Console prelude: project, APIs, consent screen, OAuth client, and credentials. The one-time browser setup that has no API. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.