Google Docs MCP Server

MCP server for Google Docs, Sheets, Drive, Gmail, and Calendar

Local serverstdioGo

What is the Google Docs MCP MCP server?

Google docs mcp mcp server connects Google Docs MCP to AI assistants that speak the Model Context Protocol. MCP server for Google Docs, Sheets, Drive, Gmail, and Calendar.

What Google Docs MCP does

Connect Claude Desktop, Cursor, or any MCP client to your Google Docs, Google Sheets, Google Drive, Gmail, and Google Calendar.

Tools it exposes

Once connected, the assistant can call these 3 tools directly:

  • Comments — The Comments tool exposed by this server
  • Gmail — The Gmail tool exposed by this server
  • Setup — 1. Create a GCP project and enable Docs, Sheets, and Drive APIs 2. Create an OAuth client (Web application type, not Desktop) 3. Set the authorized

Installing the google docs mcp mcp server

The server is distributed via npm as @a-bonus/google-docs-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 6 environment variables: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, SERVICE_ACCOUNT_PATH, GOOGLE_IMPERSONATE_USER, BASE_URL, JWT_SIGNING_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Communication servers earn their keep on volume — summarising channels and threads that would otherwise cost you an hour of scrollback. Google Docs MCP sits in that group, and the shape of its toolset — Comments, Gmail, Setup — tells you what it is really for. Worth comparing against the other communication servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by a-bonus, written in Go.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the google docs mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
CommentsThe Comments tool exposed by this server.
GmailThe Gmail tool exposed by this server.
Setup1. Create a GCP project and enable Docs, Sheets, and Drive APIs 2. Create an OAuth client (**Web application** type, not Desktop) 3. Set the authorized redirect URI to {BASE_URL}/oauth/callback 4. Deploy to Cloud Run:

How to install the Google Docs MCP MCP server

{
  "mcpServers": {
    "google-docs": {
      "command": "npx",
      "args": ["-y", "@a-bonus/google-docs-mcp"],
      "env": {
        "SERVICE_ACCOUNT_PATH": "/path/to/service-account-key.json",
        "GOOGLE_IMPERSONATE_USER": "user@yourdomain.com"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GOOGLE_CLIENT_IDConfiguration value read at startup.Optional
GOOGLE_CLIENT_SECRETCredential the server authenticates with.Yes
SERVICE_ACCOUNT_PATHFilesystem location the server is allowed to use.Optional
GOOGLE_IMPERSONATE_USERConfiguration value read at startup.Optional
BASE_URLEndpoint or connection string the server talks to.Yes
JWT_SIGNING_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Google Docs MCP to Comments.
  • Use Google Docs MCP to Gmail.
  • Use Google Docs MCP to Setup.

Frequently asked questions

It connects Google Docs MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Comments, Gmail, Setup) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Google Docs MCP directly.