Skip to content
mcp/skillhub

Google Docs MCP Server

by a1-x-techio.github.A1-x-Tech/mcp-google-docsv1.0.0

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

0Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active5d ago

Install Google Docs MCP server

Install in Claude Code

claude mcp add google-docs-a1-x-tech -e GOOGLE_DOCS_CLIENT_SECRET='<google-docs-client-secret>' -e GOOGLE_DOCS_REFRESH_TOKEN='<google-docs-refresh-token>' -e GOOGLE_DOCS_ACCESS_TOKEN='<google-docs-access-token>' -- npx -y @a1-x-tech/mcp-google-docs

Configuration

VariableRequiredSecretDescription
GOOGLE_DOCS_CLIENT_ID——Google OAuth2 client id (refresh-token flow).
GOOGLE_DOCS_CLIENT_SECRET—yesGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.
GOOGLE_DOCS_REFRESH_TOKEN—yesGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_DOCS_ACCESS_TOKEN—yesStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
GOOGLE_DOCS_OAUTH_PORT——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.
GOOGLE_DOCS_API_BASE——Docs API root override.
GOOGLE_DOCS_DRIVE_API_BASE——Drive API root override (markdown import/export, document export, comments).
GOOGLE_DOCS_TIMEOUT_MS——Per-request timeout in milliseconds.
GOOGLE_DOCS_MAX_RETRIES——Retries on transient errors (429 always; 5xx/network for reads).

Freshness

Active — last maintenance signal 5d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-04 · 5d ago · GitHub

  2. Latest release

    2026-09-23 · 16d ago · GitHub · v1.0.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-23 · 16d ago · official registry · v1.0.0

FAQ

›How do I install the Google Docs MCP server in Claude Code?

Run: claude mcp add google-docs-a1-x-tech -e GOOGLE_DOCS_CLIENT_SECRET='<google-docs-client-secret>' -e GOOGLE_DOCS_REFRESH_TOKEN='<google-docs-refresh-token>' -e GOOGLE_DOCS_ACCESS_TOKEN='<google-docs-access-token>' -- npx -y @a1-x-tech/mcp-google-docs. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Google Docs require an API key?

Yes. It expects GOOGLE_DOCS_CLIENT_SECRET, GOOGLE_DOCS_REFRESH_TOKEN, GOOGLE_DOCS_ACCESS_TOKEN, of which 3 are secrets.

›Can I use Google Docs as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Google Docs in the official MCP registry?

Yes, as io.github.A1-x-Tech/mcp-google-docs.

Alternatives to Google Docs

Other notes & knowledge MCP servers.

View all