What is the Google Docs MCP MCP server?
MCP server for the Google Docs API: read and edit documents, styles, tables, images, comments.
How to install Google Docs MCP
Copy-paste configuration for popular MCP clients.
GOOGLE_DOCS_CLIENT_IDGoogle OAuth2 client id (refresh-token flow).
GOOGLE_DOCS_CLIENT_SECRETsecretGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.
GOOGLE_DOCS_REFRESH_TOKENsecretGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_DOCS_ACCESS_TOKENsecretStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
GOOGLE_DOCS_OAUTH_PORTFixed 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_BASEDocs API root override.
GOOGLE_DOCS_DRIVE_API_BASEDrive API root override (markdown import/export, document export, comments).
GOOGLE_DOCS_TIMEOUT_MSPer-request timeout in milliseconds.
GOOGLE_DOCS_MAX_RETRIESRetries on transient errors (429 always; 5xx/network for reads).
Related MCP servers

Google Drive MCP
MCP server for the Google Drive API: search, upload, download, organize and share files.

Google Forms MCP
MCP server for the Google Forms API: create forms, manage questions, read responses and watches.

Gmail MCP
MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

MCP server for Google Merchant Center (Merchant API v1): products, promotions, reports, issues.

MCP server for the Google Search Console API: search analytics, sitemaps, URL inspection, sites.

Google Sheets MCP
MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.