Skip to content

AnEntrypoint/docmcp

Repository files navigation

docmcp

Google Docs and Sheets MCP server. 40 tools for docs, sheets, and apps script.

Setup

# Using npm
npm install

# Using bun (recommended)
bun install

export GOOGLE_OAUTH_CLIENT_ID="your-client-id"
export GOOGLE_OAUTH_CLIENT_SECRET="your-client-secret"
npx docmcp auth login

MCP Config

{
  "mcpServers": {
    "docmcp": {
      "command": "npx",
      "args": ["docmcp-mcp"],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "your-client-id",
        "GOOGLE_OAUTH_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Usage with Bun

# Run the MCP server with bun
bun run stdio-server.js

# Execute CLI commands with bun
bun x docmcp auth login
bun x docmcp docs list

Tokens stored at ~/.config/gcloud/docmcp/token.json.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published