mcpField
M
mcp-gee-sweet

mcp-gee-sweet

Local
github.com/khuismanProductivity1Updated 1d ago

About mcp-gee-sweet

mcp-gee-sweet is an MCP server for AI clients that need access to Google Workspace. It combines broad Sheets, Drive, Docs, Calendar, and Gmail operations with formula-level access, structured document creation, and local Drive sync.

Key features

  1. 01Sheets formulas and batch operations
  2. 02Drive files, sharing, and sync
  3. 03Structured Docs creation and Markdown export
  4. 04Calendar event management and free-slot search
  5. 05Gmail messages, threads, and reviewable drafts
  6. 06Cached reads and tool filtering

Use cases

  1. 01Read or update spreadsheet formulas in batches
  2. 02Sync a local folder with Google Drive
  3. 03Create styled Google Docs from HTML or Markdown
  4. 04Find calendar availability across calendars
  5. 05Review an email draft before sending

MCP support

Exposes Google Sheets, Drive, Docs, Calendar, and Gmail tools to MCP clients. It supports stdio and authenticated SSE or Streamable HTTP transports.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"khuisman-mcp-gee-sweet": {
"command": "uvx",
"args": [
"mcp-gee-sweet"
],
"env": {
"AUTH_METHOD": "<AUTH_METHOD>",
"CREDENTIALS_PATH": "<CREDENTIALS_PATH>",
"TOKEN_PATH": "<TOKEN_PATH>",
"SERVICE_ACCOUNT_PATH": "<SERVICE_ACCOUNT_PATH>",
"CREDENTIALS_CONFIG": "<CREDENTIALS_CONFIG>",
"ENABLED_TOOLS": "<ENABLED_TOOLS>"
}
}
}
}
Run commanduvx mcp-gee-sweet
Environment variables to set
AUTH_METHODSecretPin a single auth method with no fallback, instead of the default waterfall (OAuth, then service account, then Application Default Credentials).
CREDENTIALS_PATHSecretPath to an OAuth Client ID JSON file downloaded from GCP Console, used for the oauth auth method.
TOKEN_PATHSecretPath where the OAuth token is cached after the first interactive authorization.
SERVICE_ACCOUNT_PATHPath to a Google service account JSON key file, used for the service_account auth method.
CREDENTIALS_CONFIGSecretBase64-encoded service account JSON key, as an alternative to SERVICE_ACCOUNT_PATH for headless or container deployments.
ENABLED_TOOLSComma-separated list of tool function names to register. Default: all tools enabled.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-gee-sweet0.9.5

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README
mcp-gee-sweet logo

mcp-gee-sweet

A Google Workspace MCP server built for depth.

GitHub License

mcp-gee-sweet gives AI clients deep, direct access to Google Sheets, Docs, Drive, Calendar, and Gmail. It reads raw formulas like =VLOOKUP(), builds Docs structurally (colspan/rowspan tables, themes, named styles, an HTML/Markdown→AST→Docs pipeline), and covers Drive files, sharing, and sync alongside Calendar events and Gmail messages, threads, and drafts.

A few highlights:

  • Caching — repeated reads return in ~2ms from a local cache instead of a round-trip API call every time.
  • Formula access — reads raw =VLOOKUP(), =SUM(), and =IF() expressions, not just the values they produce.
  • Local sync — two-way sync between a local folder and Google Drive.

Install (stable):

uvx mcp-gee-sweet

Install (bleeding edge — every code change on develop):

uvx --prerelease=allow mcp-gee-sweet

Full documentation →


What's covered

ServiceToolsHighlights
Google Sheets36Formula access, batch read/write, 8 chart types, structural ops
Google Drive38File ops, sharing/permissions, local sync, revision history
Google Docs34Full HTML→Doc pipeline, tables, range styling, themes, Markdown export
Google Calendar17Event CRUD, free-slot finder across multiple calendars
Gmail15Search and read messages and threads, send and reply, drafts you can review, edit, or discard before sending, labels (OAuth only). By default nothing is sent until the user confirms it; a client that can't ask leaves the email as a draft. See Gmail sending

Quick start

Option A: uv — local use and development

If you cloned the repo or just want to use the server from your machine, uv is all you need. No Docker required.

git clone https://github.com/khuisman/mcp-gee-sweet.git
cd mcp-gee-sweet
uv sync

Then point your MCP client at it using stdio transport (see MCP client config below). The client spawns the server as a subprocess on demand — each session gets its own isolated process, so restarting the server for a code change or config update doesn't affect other open sessions.

Option B: Docker — persistent shared server (SSE)

Use Docker when you want a single long-running server that multiple clients connect to over SSE — for example, Claude Desktop talking to the same instance as Claude Code.

git clone https://github.com/khuisman/mcp-gee-sweet.git
cd mcp-gee-sweet
echo "MCP_SERVER_TOKEN=$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')" >> .env
make build   # build the container image
make start   # start the server (SSE on port 47000)
make logs    # tail logs

Point your MCP client at http://localhost:47000/sse, sending the token from .env as an Authorization: Bearer <token> header (see the SSE config below). The server rejects any request without it. Without Docker, --transport sse and --transport streamable-http listen on 127.0.0.1 only, and need MCP_SERVER_TOKEN to serve on any other address; see HTTP transport authentication.

Note: when using SSE, all clients share one server process. After a code change or restart (make restart), you must also restart each MCP client to reconnect.


Configuration

The server tries auth methods in a waterfall by default, OAuth first — it authenticates as you and has full personal Drive access, which is what local/dev use (Option A above) needs. For OAuth, download an OAuth Client ID JSON from GCP Console and point the server at it:

export CREDENTIALS_PATH="/path/to/credentials.json"
export TOKEN_PATH="/path/to/token.json"
mcp-gee-sweet auth   # one-time browser login; `uvx mcp-gee-sweet auth` for a PyPI install

Pass the same CREDENTIALS_PATH and TOKEN_PATH in your MCP client's env. A stdio server with no token doesn't open a browser itself. Instead its first tool call offers you the Google consent link (or you run mcp-gee-sweet auth), and you retry the call. A token revoked mid-session is handled the same way, with no restart.

Service accounts (recommended for headless server deployments, see Option B above), base64 credential injection, and Application Default Credentials are also supported. Gmail tools need OAuth. See Authentication for all options.


MCP client config

Claude Desktop — one-click bundle: download mcp-gee-sweet-<version>.mcpb from the latest GitHub Release and open it in Claude Desktop. It asks for your OAuth client file and needs no config editing (details).

Claude Desktop — stdio (cloned repo):

{
  "mcpServers": {
    "mcp-gee-sweet": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp-gee-sweet", "mcp-gee-sweet"],
      "env": {
        "CREDENTIALS_PATH": "/path/to/credentials.json",
        "TOKEN_PATH": "/path/to/token.json"
      }
    }
  }
}

Claude Desktop — SSE (Docker):

{
  "mcpServers": {
    "mcp-gee-sweet": {
      "transport": "sse",
      "url": "http://localhost:47000/sse",
      "headers": {
        "Authorization": "Bearer <token>"
      }
    }
  }
}

See Client Setup for more options including tool filtering.

Using a client with a tool limit

Some MCP clients cap how many tools they accept, and with every tool registered this server is over each cap:

ClientLimit
VS Code + GitHub Copilot (agent mode)128 tools per request, built-in tools included. Over it, every request fails with "Cannot have more than 128 tools per request"
Windsurf100 tools in total, across all servers
CursorDepends on the model ("Too many MCP tools are enabled for this mode")
Google Antigravity100 tools per server (user report)

On these clients, set ENABLED_TOOLS in the server's env to one of the suggested subsets, each under 100 tools, e.g. all Docs tools, or Docs + Drive combined. Clients with a tool limit has a ready-to-paste config for VS Code, Cursor, and Windsurf.


Docs


Contributing

See CONTRIBUTING.md for setup, QA workflows, and PR guidelines. A signed-off docs/qa/runs/vX.Y.Z.md record is required before any stable PyPI release — see docs/qa/README.md for the QA workflow.

License

MIT — see LICENSE.

Credits

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.