MCP directory
GW

Google Workspace

by github.com/mindstone · v0.5.11 · updated Nov 24, 2026

Google Workspace MCP server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, and more

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @mindstone/[email protected]

Environment variables

  • GOOGLE_CLIENT_IDrequired

    Google OAuth client ID

  • GOOGLE_CLIENT_SECRETrequiredsecret

    Google OAuth client secret

  • ACCOUNTS_PATHrequired

    Path to accounts.json written by the MCP host

  • CREDENTIALS_PATHrequired

    Directory containing per-account Google OAuth token files

  • GOOGLE_WORKSPACE_REQUEST_TIMEOUT_MS

    Outbound Google API request timeout in milliseconds (max 300000 = 5 min)

  • GOOGLE_WORKSPACE_DISABLE_REFRESH

    Set to 1 to disable background OAuth token refresh (tokens are only read, never refreshed)

  • MCP_WORKSPACE_PATH

    Directory attachments and downloaded files are constrained to (defaults to a temp dir; reads/writes outside it are refused)

  • WORKSPACE_BASE_PATH

    Legacy fallback for MCP_WORKSPACE_PATH; prefer MCP_WORKSPACE_PATH

  • GAUTH_FILE

    Legacy fallback path to gauth.json OAuth client config; host-orchestrated setups use GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET instead

More from github.com/mindstone

More MCP servers