home / mcp / google docs mcp server

Google Docs MCP Server

MCP server that reads and edits Google Docs via OAuth, enabling document workflows through an MCP client.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "domdomegg-google-documents-mcp": {
      "url": "http://localhost:3000/mcp",
      "headers": {
        "MCP_TRANSPORT": "http",
        "GOOGLE_CLIENT_ID": "YOUR_CLIENT_ID",
        "GOOGLE_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
      }
    }
  }
}

Available tools

document_get_raw

Get full raw JSON structure of a Google Document, including tabs, formatting, headers, footers, and styles.

document_get_text

Extract plain text content from a Google Document.

document_create

Create a new blank Google Document.

document_batch_update

Apply multiple edits to a document atomically, including insertions, deletions, and formatting changes.

document_append

Append text to the end of a document.

document_insert

Insert text at a specific index in the document.

document_replace

Find and replace text within the document.