
Connects Claude to Gmail, Calendar, Drive, Docs, and Sheets with 61 tools across multi-account OAuth. Returns compact metadata by default (subject lines, file names, event summaries) and fetches full bodies or content only when you ask, keeping token usage down. Handles Send-As identities for email aliases, supports threaded replies, calendar free/busy checks, Drive comments and permissions, Sheets named ranges and conditional formatting, and Docs tracked changes. Stores refresh tokens in macOS Keychain instead of plaintext. Built because the official Claude connector locks you to one account and pulls entire message bodies upfront. Useful when you're juggling work and personal Google accounts or need fine-grained control over what gets loaded into context.
Multi-account, token-efficient MCP for Gmail + Calendar + Drive + Docs + Sheets. Built because the official Claude connector supports one account and returns full message/file bodies by default.
account email; aliases are handled via Send-As identities.{id, from, subject, snippet, ...} for mail, {id, name, mime, modified, size, ...} for Drive).
Bodies and file content are opt-in.gws_account_add — browser OAuth flow, adds a new authorized mailboxgws_account_list — list authorized accounts + defaultgws_account_remove — remove local credential (doesn't revoke Google-side)gmail_search — search with Gmail operators. Compact response.gmail_read — read one message or full thread. Bodies opt-in.gmail_send — send mail, optional from_alias for Send-As identitiesgmail_draft — create a draftgmail_reply — reply (preserves thread + headers), optional reply_allgmail_labels_list — list all labelsgmail_label_apply — batch add/remove labelsgmail_archive — batch archive (remove INBOX)gmail_trash — batch move to trashgmail_sendas_list — list Send-As identities on this mailboxgmail_attachments_list — list a message's attachments (filename, mime type, size)gmail_attachment_save — download one attachment to a local file, path returned for direct readingcal_list_calendars — list all calendarscal_list_events — list upcoming events (compact by default, verbose=True for full)cal_create_event — create event, optional Google Meet linkcal_update_event — partial-update fieldscal_delete_event — deletecal_freebusy — check busy windows for schedulingcal_respond — accept/decline/tentativedrive_search — free-text or raw Drive q-syntax. Metadata-only response.drive_read_file — metadata by default; include_content=True for bodydrive_list_folder — direct children of a folder ('root' for My Drive)drive_create_folder — create a folder under an optional parentdrive_upload — upload a local file, optional convert_to_googledrive_move — change parent folderdrive_rename — rename a file or folderdrive_share — grant reader/commenter/writer/etc. access by emaildrive_trash — soft delete (recoverable)drive_untrash — restore from Trashdrive_permission_list — list everyone with access to a filedrive_permission_update — change a grantee's roledrive_permission_delete — revoke a permissiondrive_shared_drives_list — list shared drives this account accessesdrive_comments_list — list comments on any Drive file (Doc/Sheet/Slide/upload)drive_comment_add — add a comment, optional anchordrive_comment_reply — reply to a commentdrive_comment_resolve — mark a comment resolveddocs_create — new Doc, optional initial body and parent folderdocs_read — flat text by default; structured=True for full Docs API treedocs_append — append text to end of bodydocs_insert_at — insert text at a specific indexdocs_replace_text — find-and-replace, returns count replaceddocs_export — export to markdown / pdf / docx / rtf / plaindocs_suggestions_list — list pending tracked-change suggestionsdocs_suggestions_accept_all — accept all suggestions (rewrites Doc)docs_suggestions_reject_all — reject all suggestions (rewrites Doc)sheets_create — new workbook, optional parent foldersheets_list_sheets — list tabs with row/col dimensionssheets_add_sheet — add a new tab to an existing workbooksheets_read_range — read A1 range. FORMULA / UNFORMATTED_VALUE options.sheets_write_range — overwrite a range. USER_ENTERED parses formulas.sheets_append — append rows below existing datasheets_clear_range — clear values (formatting preserved)sheets_batch_read — multi-range read in one API callsheets_batch_write — multi-range write in one API callsheets_named_ranges_list — list named ranges in a workbooksheets_named_range_add — create a named rangesheets_named_range_delete — delete a named rangesheets_conditional_format_add — add a conditional formatting rulesheets_data_validation_add — set dropdown / number / email / URL validationFastest path — one script, no manual wiring.
macOS and Linux:
git clone https://github.com/adelaidasofia/google-workspace-mcp.git
bash google-workspace-mcp/install.sh
Windows (PowerShell):
git clone https://github.com/adelaidasofia/google-workspace-mcp.git
powershell -ExecutionPolicy Bypass -File .\google-workspace-mcp\install.ps1
The installer creates an isolated venv, installs dependencies, takes your
Google OAuth client (either interactively or via GWS_CLIENT_ID /
GWS_CLIENT_SECRET in the environment), and registers the server with
Claude Code. Safe to re-run. You still need a Google OAuth client first —
see SETUP.md for the ~45 min one-time GCP setup. Then run
gws_account_add from Claude Code to authorize your first mailbox.
Both need Python 3.10 or newer and will find one you already have.
python3 first, then python3.14 down to
python3.10, so a Homebrew Python still counts when python3 resolves to
macOS's older system one.py -3 (the Python launcher) first, then python,
python3 and the versioned names. Every candidate has to run and report its
own version before it counts, which is what keeps the Microsoft Store
placeholder in %LOCALAPPDATA%\Microsoft\WindowsApps from being picked: it
is a real python.exe on PATH that only opens the Store.If yours lives somewhere no search would guess (pyenv, conda, a private prefix), name it:
GWS_PYTHON=/full/path/to/python3 bash google-workspace-mcp/install.sh
$env:GWS_PYTHON = 'C:\full\path\to\python.exe'
powershell -ExecutionPolicy Bypass -File .\google-workspace-mcp\install.ps1
-ExecutionPolicy Bypass is in the command on purpose. Windows blocks
downloaded scripts by default; this applies the exception to this one run
without changing the machine's policy.
Run it from PowerShell, not Git Bash. install.sh detects Git Bash / MSYS
and stops there with a pointer to install.ps1, rather than registering a
POSIX venv path that a native Claude Code cannot launch. WSL is real Linux and
keeps using install.sh.
Time zone. The connector reads the machine's IANA zone so that "3pm" in a
cal_* call means 3pm where you are. Windows names its zones its own way
(SA Western Standard Time), so this goes through tzlocal, which the
installer pulls in. Set GWS_TIME_ZONE=America/Bogota to override.
Open Claude Code, paste:
/plugin marketplace add adelaidasofia/google-workspace-mcp
/plugin install google-workspace-mcp@google-workspace-mcp
You still need to complete the one-time GCP setup in SETUP.md
(~45 min for v1, ~5 min incremental for v2 Drive/Docs/Sheets) so the
server has a client_secret.json to OAuth against. Run gws_account_add
from Claude Code to authorize your first mailbox.
On Windows, run install.ps1 afterwards. The plugin's .mcp.json launches
the server with python3, and a plugin manifest has no way to say "except on
Windows, use this instead". On Windows python3 is either absent or the
Microsoft Store placeholder, so the connector is registered and never starts.
install.ps1 re-registers it against an absolute interpreter path, which is
unambiguous on every platform.
.mcp.json wiring)See SETUP.md for the one-time GCP setup (~45 min for v1, ~5 min incremental to enable Drive/Docs/Sheets for v2).
After setup:
pip3 install --break-system-packages -r requirements.txt
Add to your project's .mcp.json (or ~/.claude.json for global access):
"google-workspace": {
"type": "stdio",
"command": "python3",
"args": ["/path/to/google-workspace-mcp/server.py"]
}
On Windows, give the full path to a real interpreter rather than a bare name —
python3 there is usually the Microsoft Store placeholder, which resolves fine
and never runs Python:
"google-workspace": {
"type": "stdio",
"command": "C:\\Users\\you\\google-workspace-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\Users\\you\\google-workspace-mcp\\server.py"]
}
v2 adds Drive + Docs + Sheets scopes. Each authorized account must re-OAuth once so Google grants the new scopes. See SETUP.md step 6b.
Same author, same architecture pattern (FastMCP, draft+confirm on writes where applicable, vault auto-export, MIT):
This plugin sends a single anonymous install signal to myceliumai.co the first time it loads in a Claude Code session on a given machine.
What is sent:
slack-mcp)0.1.0)What is NOT sent:
Why: Helps the maintainer know which plugins people actually install, so attention goes to the ones that get used.
Opt out: Set the environment variable MYCELIUM_NO_PING=1 before launching Claude Code. The hook will skip the network call entirely. Already-pinged installs leave a sentinel at ~/.mycelium/onboarded-<plugin> — delete it if you want to reset state.
MIT
Built by Mycelium AI. Full install or team version at diazroa.com.
GOOGLE_OAUTH_CLIENT_ID*From console.cloud.google.com
GOOGLE_OAUTH_CLIENT_SECRET*secretFrom console.cloud.google.com