Koskamo

Google Docs MCP

An MCP server that enables AI agents to interact with Google Docs via the Google Docs API. It supports reading documents as text or Markdown, editing text content, modifying styles, managing tables, images, and comments, and exporting documents. The server handles OAuth authentication through the conversation flow without requiring manual config file edits.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Google Docs MCP logo, by A1-x-TechCommunity listingLocal stdioSource reviewed; not executedPublished by A1-x-Tech
You need:You need Node.js 20+ and a Google account.Credentials are not required at install time — the server connects from the conversation.Say "connect Google Docs": the assistant walks you through creating the OAuth client and approving access without editing config files.
Vendor documentation

What you can do with it

  • Read a document as text or Markdown to summarize content
  • Edit specific text ranges and styles within a document
  • Manage comments and images in a document
  • Export document content

Source and maintenance

Community listingRegistry 1.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@a1-x-tech/mcp-google-docs 1.1.1

npm
@a1-x-tech/mcp-google-docs package definition
{
  "version": "1.1.1",
  "transport": "stdio",
  "identifier": "@a1-x-tech/mcp-google-docs",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "GOOGLE_DOCS_CLIENT_ID",
      "description": "Google OAuth2 client id (refresh-token flow)."
    },
    {
      "name": "GOOGLE_DOCS_CLIENT_SECRET",
      "description": "Google OAuth2 client secret (refresh-token flow). Treat it as a secret."
    },
    {
      "name": "GOOGLE_DOCS_REFRESH_TOKEN",
      "description": "Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret."
    },
    {
      "name": "GOOGLE_DOCS_ACCESS_TOKEN",
      "description": "Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing."
    },
    {
      "name": "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."
    },
    {
      "name": "GOOGLE_DOCS_API_BASE",
      "default": "https://docs.googleapis.com",
      "description": "Docs API root override."
    },
    {
      "name": "GOOGLE_DOCS_DRIVE_API_BASE",
      "default": "https://www.googleapis.com",
      "description": "Drive API root override (markdown import/export, document export, comments)."
    },
    {
      "name": "GOOGLE_DOCS_TIMEOUT_MS",
      "default": "60000",
      "description": "Per-request timeout in milliseconds."
    },
    {
      "name": "GOOGLE_DOCS_MAX_RETRIES",
      "default": "3",
      "description": "Retries on transient errors (429 always; 5xx/network for reads)."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "google-docs-mcp-a1-x-tech-mcp-google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-docs@1.1.1"
      ],
      "env": {
        "GOOGLE_DOCS_CLIENT_ID": "<YOUR_GOOGLE_DOCS_CLIENT_ID>",
        "GOOGLE_DOCS_CLIENT_SECRET": "<YOUR_GOOGLE_DOCS_CLIENT_SECRET>",
        "GOOGLE_DOCS_REFRESH_TOKEN": "<YOUR_GOOGLE_DOCS_REFRESH_TOKEN>",
        "GOOGLE_DOCS_ACCESS_TOKEN": "<YOUR_GOOGLE_DOCS_ACCESS_TOKEN>",
        "GOOGLE_DOCS_OAUTH_PORT": "<YOUR_GOOGLE_DOCS_OAUTH_PORT>",
        "GOOGLE_DOCS_API_BASE": "<YOUR_GOOGLE_DOCS_API_BASE>",
        "GOOGLE_DOCS_DRIVE_API_BASE": "<YOUR_GOOGLE_DOCS_DRIVE_API_BASE>",
        "GOOGLE_DOCS_TIMEOUT_MS": "<YOUR_GOOGLE_DOCS_TIMEOUT_MS>",
        "GOOGLE_DOCS_MAX_RETRIES": "<YOUR_GOOGLE_DOCS_MAX_RETRIES>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "google-docs-mcp-a1-x-tech-mcp-google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-docs@1.1.1"
      ],
      "env": {
        "GOOGLE_DOCS_CLIENT_ID": "<YOUR_GOOGLE_DOCS_CLIENT_ID>",
        "GOOGLE_DOCS_CLIENT_SECRET": "<YOUR_GOOGLE_DOCS_CLIENT_SECRET>",
        "GOOGLE_DOCS_REFRESH_TOKEN": "<YOUR_GOOGLE_DOCS_REFRESH_TOKEN>",
        "GOOGLE_DOCS_ACCESS_TOKEN": "<YOUR_GOOGLE_DOCS_ACCESS_TOKEN>",
        "GOOGLE_DOCS_OAUTH_PORT": "<YOUR_GOOGLE_DOCS_OAUTH_PORT>",
        "GOOGLE_DOCS_API_BASE": "<YOUR_GOOGLE_DOCS_API_BASE>",
        "GOOGLE_DOCS_DRIVE_API_BASE": "<YOUR_GOOGLE_DOCS_DRIVE_API_BASE>",
        "GOOGLE_DOCS_TIMEOUT_MS": "<YOUR_GOOGLE_DOCS_TIMEOUT_MS>",
        "GOOGLE_DOCS_MAX_RETRIES": "<YOUR_GOOGLE_DOCS_MAX_RETRIES>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "google-docs-mcp-a1-x-tech-mcp-google-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-docs@1.1.1"
      ],
      "env": {
        "GOOGLE_DOCS_CLIENT_ID": "<YOUR_GOOGLE_DOCS_CLIENT_ID>",
        "GOOGLE_DOCS_CLIENT_SECRET": "<YOUR_GOOGLE_DOCS_CLIENT_SECRET>",
        "GOOGLE_DOCS_REFRESH_TOKEN": "<YOUR_GOOGLE_DOCS_REFRESH_TOKEN>",
        "GOOGLE_DOCS_ACCESS_TOKEN": "<YOUR_GOOGLE_DOCS_ACCESS_TOKEN>",
        "GOOGLE_DOCS_OAUTH_PORT": "<YOUR_GOOGLE_DOCS_OAUTH_PORT>",
        "GOOGLE_DOCS_API_BASE": "<YOUR_GOOGLE_DOCS_API_BASE>",
        "GOOGLE_DOCS_DRIVE_API_BASE": "<YOUR_GOOGLE_DOCS_DRIVE_API_BASE>",
        "GOOGLE_DOCS_TIMEOUT_MS": "<YOUR_GOOGLE_DOCS_TIMEOUT_MS>",
        "GOOGLE_DOCS_MAX_RETRIES": "<YOUR_GOOGLE_DOCS_MAX_RETRIES>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "google-docs-mcp-a1-x-tech-mcp-google-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-docs@1.1.1"
      ],
      "env": {
        "GOOGLE_DOCS_CLIENT_ID": "<YOUR_GOOGLE_DOCS_CLIENT_ID>",
        "GOOGLE_DOCS_CLIENT_SECRET": "<YOUR_GOOGLE_DOCS_CLIENT_SECRET>",
        "GOOGLE_DOCS_REFRESH_TOKEN": "<YOUR_GOOGLE_DOCS_REFRESH_TOKEN>",
        "GOOGLE_DOCS_ACCESS_TOKEN": "<YOUR_GOOGLE_DOCS_ACCESS_TOKEN>",
        "GOOGLE_DOCS_OAUTH_PORT": "<YOUR_GOOGLE_DOCS_OAUTH_PORT>",
        "GOOGLE_DOCS_API_BASE": "<YOUR_GOOGLE_DOCS_API_BASE>",
        "GOOGLE_DOCS_DRIVE_API_BASE": "<YOUR_GOOGLE_DOCS_DRIVE_API_BASE>",
        "GOOGLE_DOCS_TIMEOUT_MS": "<YOUR_GOOGLE_DOCS_TIMEOUT_MS>",
        "GOOGLE_DOCS_MAX_RETRIES": "<YOUR_GOOGLE_DOCS_MAX_RETRIES>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Google Docs MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.