Skip to content
Cursor

Google Docs MCP for Cursor

io.github.a1-x-tech/mcp-google-docs

MCP server for the Google Docs API: read and edit documents, styles, tables, images, comments.

client:Cursor transport:stdio runtime:npm

Install Google Docs MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-google-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-docs"
      ],
      "env": {
        "GOOGLE_DOCS_CLIENT_ID": "<GOOGLE_DOCS_CLIENT_ID>",
        "GOOGLE_DOCS_CLIENT_SECRET": "<GOOGLE_DOCS_CLIENT_SECRET>",
        "GOOGLE_DOCS_REFRESH_TOKEN": "<GOOGLE_DOCS_REFRESH_TOKEN>",
        "GOOGLE_DOCS_ACCESS_TOKEN": "<GOOGLE_DOCS_ACCESS_TOKEN>",
        "GOOGLE_DOCS_OAUTH_PORT": "<GOOGLE_DOCS_OAUTH_PORT>",
        "GOOGLE_DOCS_API_BASE": "<GOOGLE_DOCS_API_BASE>",
        "GOOGLE_DOCS_DRIVE_API_BASE": "<GOOGLE_DOCS_DRIVE_API_BASE>",
        "GOOGLE_DOCS_TIMEOUT_MS": "<GOOGLE_DOCS_TIMEOUT_MS>",
        "GOOGLE_DOCS_MAX_RETRIES": "<GOOGLE_DOCS_MAX_RETRIES>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Google Docs MCP in other clients