Skip to content
MCP server

Google Docs

Allow AI systems to read and edit Google Docs.

Install
Pricing
Open source
Runs
Locally or Remotely
Version
1.2.0
Listing updated
4 days ago

About Google Docs

Google Docs is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Install

Run in a terminal

claude mcp add google-documents-mcp --env GOOGLE_ACCESS_TOKEN='<GOOGLE_ACCESS_TOKEN>' -- npx -y google-documents-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "google-documents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-documents-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-documents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-documents-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "google-documents-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "google-documents-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "google-documents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-documents-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "google-documents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-documents-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
      }
    }
  }
}

Configuration

  • GOOGLE_ACCESS_TOKENGoogle OAuth access token with Docs scope.Required
  • MCP_TRANSPORTTransport type.Required
  • GOOGLE_CLIENT_IDGoogle OAuth client ID.Required
  • GOOGLE_CLIENT_SECRETGoogle OAuth client secret.Required

Pricing

Open source

Google Docs FAQ

Is Google Docs free?

Yes. Google Docs is open source, so you can use and self-host it for free.

How do I add Google Docs to Claude Code?

Run this command in your terminal: claude mcp add google-documents-mcp --env GOOGLE_ACCESS_TOKEN='<GOOGLE_ACCESS_TOKEN>' -- npx -y google-documents-mcp