mcpbeat Sign in

Google Workspace MCP Server

local only

Google Workspace runs on your own machine — the client starts it, so there is no endpoint to ping. 355 installs a week from npm. Last commit 3 Nov 2026.

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

Installs per day peak 119 · avg 31 · +145% w/w
a month agotoday
355
Installs / week
npm · @mindstone/mcp-server-google-workspace
14
Stars
2 open issues
3 Nov 2026
Last commit
6 releases in 90 days
FSL-1.1-MIT
License
TypeScript

What the code does

We read the source, 5 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command connectors/office/src/index.ts:403
    const child = spawn(process.execPath, [script], {
  if (isUnder(resolvedAbs, sshDir)) return { hit: true, reason: '~/.ssh/** is sensitive' };
Page loads a third-party script connectors/office/src/addin/taskpane.html:10
  <script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js"></script>
    const entries = fs.readdirSync(workspacePath, { withFileTypes: true });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-server-google-workspace -e 'GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>' -e 'GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET>' -e 'ACCOUNTS_PATH=<ACCOUNTS_PATH>' -e 'CREDENTIALS_PATH=<CREDENTIALS_PATH>' -- npx -y @mindstone/mcp-server-google-workspace
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-google-workspace": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-workspace"
      ],
      "env": {
        "ACCOUNTS_PATH": "<ACCOUNTS_PATH>",
        "CREDENTIALS_PATH": "<CREDENTIALS_PATH>",
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-server-google-workspace]
command = "npx"
args = ["-y", "@mindstone/mcp-server-google-workspace"]
env = { GOOGLE_CLIENT_ID = "<GOOGLE_CLIENT_ID>", GOOGLE_CLIENT_SECRET = "<GOOGLE_CLIENT_SECRET>", ACCOUNTS_PATH = "<ACCOUNTS_PATH>", CREDENTIALS_PATH = "<CREDENTIALS_PATH>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-google-workspace": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-workspace"
      ],
      "env": {
        "ACCOUNTS_PATH": "<ACCOUNTS_PATH>",
        "CREDENTIALS_PATH": "<CREDENTIALS_PATH>",
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server-google-workspace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-workspace"
      ],
      "env": {
        "ACCOUNTS_PATH": "<ACCOUNTS_PATH>",
        "CREDENTIALS_PATH": "<CREDENTIALS_PATH>",
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>"
      }
    }
  }
}

Put your own values in place of <GOOGLE_CLIENT_ID> (Google OAuth client ID), <GOOGLE_CLIENT_SECRET> (Google OAuth client secret), <ACCOUNTS_PATH> (Path to accounts.json written by the MCP host), <CREDENTIALS_PATH> (Directory containing per-account Google OAuth token files). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: 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).

Alternatives to Google Workspace

same job, measured the same way
W
Workspace MCP
by taylorwilsdon

Google Workspace MCP server for Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Chat.

61 290 installs/wk local only
MCP Gee Sweet
by khuisman

MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), Calendar, and Gmail.

13 738 installs/wk local only
Google Workspace MCP Server
by conorbronsdon

67 curated MCP tools for Google Workspace: Gmail, Calendar, Drive, Sheets, Docs, Slides, Tasks.

339 installs/wk local only
Better Workspace MCP
by n24q02m

Google Workspace MCP — Docs, Drive, Calendar, Gmail, Sheets, Slides, Tasks, Chat, People, Forms

605 installs/wk local only
MCP fork of Google Workspace CLI
by shigechika

MCP fork of Google Workspace CLI (Gmail, Drive, Calendar, and more)

local only
Google Workspace
by foreverworks

Search and work in Gmail, Calendar, Drive, Docs, Sheets and Slides across several Google accounts.

626 installs/wk local only
Google Workspace (gsuite-sdk)
by pabloalaniz

Gmail, Calendar, Drive, Sheets, Tasks and Contacts for agents, with your own Google login

265 installs/wk local only
Google Drive MCP
by piotr-agier

Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.

6 484 installs/wk local only

Google Workspace — questions

Answers built from our own checks of this server.

Why is there no uptime for Google Workspace?
Google Workspace runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @mindstone/mcp-server-google-workspace was installed 355 times last week.
How do I connect Google Workspace?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @mindstone/mcp-server-google-workspace straight from npm; nothing to host, nothing to sign up for.
How many people use Google Workspace?
The npm package @mindstone/mcp-server-google-workspace was installed 355 times in the last week. Week over week that is +145%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Google Workspace open source?
No, and the distinction matters: its licence is declared as FSL-1.1-MIT. That makes it source-available — you can read the code, but the terms are the author's own, not one of the recognised open-source licences. Read them before you build on it.