# Google Workspace

> Google Workspace is an MCP server for productivity. Gmail, Calendar, Drive, Docs, Sheets and more behind one multi-account server, 124 tools. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, API
- **Repository:** https://github.com/mindstone/mcp-servers/tree/HEAD/connectors/google-workspace
- **MCP Registry name:** io.github.mindstone/mcp-server-google-workspace
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

The maintainers forked an existing community Google Workspace server so the host application could own the entire sign-in flow. The connector runs no callback server and builds no OAuth URLs; it returns a structured auth_required response, and the host writes an accounts index plus per-account token files that the connector reads.

It has 124 tools across Gmail (23), Calendar (9), Drive (15) and further areas including Docs, Sheets, Slides, Contacts, Chat, Meet, Tasks, Forms and comments. Text from outside, such as email bodies and file names, is wrapped in untrusted-content tags, while IDs and page tokens are returned exactly so they can be passed straight to the next call.

Read requests retry when Google rate-limits, waiting up to 64 seconds each, but writes are never replayed. Token files are written atomically with restrictive permissions. The README says Google's own Workspace server has since shipped, and the maintainers keep this one for its credential layout and recovery guidance. It is a hard fork and no longer syncs with upstream.

## Features

- **124 Workspace tools:** Spans Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, Chat, Meet, Tasks and Forms.
- **Multiple accounts:** Per-account token files with an accounts index.
- **Host-owned sign-in:** The server hands OAuth to the host instead of running a callback.
- **Untrusted-content marking:** Outside text is wrapped so assistants can treat it as data.
- **Safe retries:** Reads wait and retry on rate limits; writes are not replayed.
- **Secure token files:** Atomic writes with restrictive permissions and symlink rejection.

## Good for

- Find an email thread and reply
- Look up free calendar slots
- Search and copy Drive files
- Work across personal and work Google accounts

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-server-google-workspace --env GOOGLE_CLIENT_ID='<GOOGLE_CLIENT_ID>' --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' --env ACCOUNTS_PATH='<ACCOUNTS_PATH>' --env CREDENTIALS_PATH='<CREDENTIALS_PATH>' -- npx -y @mindstone/mcp-server-google-workspace
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-server-google-workspace": {
      "type": "stdio",
      "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>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-server-google-workspace --env GOOGLE_CLIENT_ID='<GOOGLE_CLIENT_ID>' --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' --env ACCOUNTS_PATH='<ACCOUNTS_PATH>' --env CREDENTIALS_PATH='<CREDENTIALS_PATH>' -- npx -y @mindstone/mcp-server-google-workspace
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```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>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e GOOGLE_CLIENT_ID='<GOOGLE_CLIENT_ID>' -e GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' -e ACCOUNTS_PATH='<ACCOUNTS_PATH>' -e CREDENTIALS_PATH='<CREDENTIALS_PATH>' mcp-server-google-workspace npx -- -y @mindstone/mcp-server-google-workspace

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_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>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "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>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 3 tools changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `authenticate_workspace_account`: Returns the auth_required handoff so the host connects a Google account.
- `search_workspace_emails` (name suggests: reads): Searches Gmail with a query.
- `reply_to_workspace_email` (name suggests: changes): Replies on a returned thread ID.

## FAQ

### Does Google Workspace handle Google sign-in itself?

No. The host computes the OAuth URL and writes the token files.

### Is Google Workspace published to npm?

The README lists it as not yet published, while the registry entry names an npm package.

### Is Google Workspace related to Google's own server?

No. It is based on a community project and maintained independently.

### How are rate limits handled?

Read requests retry, with each wait capped at 64 seconds; writes are not retried.

### How do I add Google Workspace to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-google-workspace --env GOOGLE_CLIENT_ID='<GOOGLE_CLIENT_ID>' --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' --env ACCOUNTS_PATH='<ACCOUNTS_PATH>' --env CREDENTIALS_PATH='<CREDENTIALS_PATH>' -- npx -y @mindstone/mcp-server-google-workspace

### What are the best alternatives to Google Workspace?

The closest alternatives to Google Workspace are TrendRadar, Ha MCP, Concord MCP, TryPost and Open Sunsama.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.

---
Source: https://ai-powered.com/mcp/google-workspace-3
