Google Docs MCP
MCP server for the Google Docs API: read and edit documents, styles, tables, images, comments.
Documentation & Preview
{ "mcpServers": { "mcp-mcp-google-docs-c647991e30d3411b6fcd": { "command": "npx", "args": [ "-y", "--package", "@a1-x-tech/mcp-google-docs@1.2.0", "mcp-google-docs" ], "env": { "GOOGLE_DOCS_CLIENT_ID": "${ENV_GOOGLE_DOCS_CLIENT_ID}", "GOOGLE_DOCS_CLIENT_SECRET": "${ENV_GOOGLE_DOCS_CLIENT_SECRET}", "GOOGLE_DOCS_REFRESH_TOKEN": "${ENV_GOOGLE_DOCS_REFRESH_TOKEN}", "GOOGLE_DOCS_ACCESS_TOKEN": "${ENV_GOOGLE_DOCS_ACCESS_TOKEN}", "GOOGLE_DOCS_OAUTH_PORT": "${ENV_GOOGLE_DOCS_OAUTH_PORT}", "GOOGLE_DOCS_API_BASE": "${ENV_GOOGLE_DOCS_API_BASE}", "GOOGLE_DOCS_DRIVE_API_BASE": "${ENV_GOOGLE_DOCS_DRIVE_API_BASE}", "GOOGLE_DOCS_TIMEOUT_MS": "${ENV_GOOGLE_DOCS_TIMEOUT_MS}", "GOOGLE_DOCS_MAX_RETRIES": "${ENV_GOOGLE_DOCS_MAX_RETRIES}" } } }, "setup": { "fields": [ { "id": "ENV_GOOGLE_DOCS_CLIENT_ID", "label": "GOOGLE_DOCS_CLIENT_ID", "description": "Google OAuth2 client id (refresh-token flow).", "required": false, "secret": false, "default": "" }, { "id": "ENV_GOOGLE_DOCS_CLIENT_SECRET", "label": "GOOGLE_DOCS_CLIENT_SECRET", "description": "Google OAuth2 client secret (refresh-token flow). Treat it as a secret.", "required": false, "secret": true, "default": "" }, { "id": "ENV_GOOGLE_DOCS_REFRESH_TOKEN", "label": "GOOGLE_DOCS_REFRESH_TOKEN", "description": "Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.", "required": false, "secret": true, "default": "" }, { "id": "ENV_GOOGLE_DOCS_ACCESS_TOKEN", "label": "GOOGLE_DOCS_ACCESS_TOKEN", "description": "Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.", "required": false, "secret": true, "default": "" }, { "id": "ENV_GOOGLE_DOCS_OAUTH_PORT", "label": "GOOGLE_DOCS_OAUTH_PORT", "description": "Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GOOGLE_DOCS_API_BASE", "label": "GOOGLE_DOCS_API_BASE", "description": "Docs API root override.", "required": false, "secret": false, "default": "https://docs.googleapis.com" }, { "id": "ENV_GOOGLE_DOCS_DRIVE_API_BASE", "label": "GOOGLE_DOCS_DRIVE_API_BASE", "description": "Drive API root override (markdown import/export, document export, comments).", "required": false, "secret": false, "default": "https://www.googleapis.com" }, { "id": "ENV_GOOGLE_DOCS_TIMEOUT_MS", "label": "GOOGLE_DOCS_TIMEOUT_MS", "description": "Per-request timeout in milliseconds.", "required": false, "secret": false, "default": "60000" }, { "id": "ENV_GOOGLE_DOCS_MAX_RETRIES", "label": "GOOGLE_DOCS_MAX_RETRIES", "description": "Retries on transient errors (429 always; 5xx/network for reads).", "required": false, "secret": false, "default": "3" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.A1-x-Tech/mcp-google-docs", "registryVersion": "1.2.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.A1-x-Tech%2Fmcp-google-docs/versions/1.2.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@a1-x-tech/mcp-google-docs", "version": "1.2.0", "integrity": "sha512-yw/rWmypc4/f/vMo3vx8Ebth9+Y7TfwUxt/+MokN6v5NxYuYzDDN2U6b2Y3YxdZkVa1qtW4Yqgn5Kk2VyazW4g==", "registryNameMatched": "io.github.A1-x-Tech/mcp-google-docs", "checkedAt": "2026-12-02T15:21:12.533Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }