Google Docs and Sheets MCP server. 40 tools for docs, sheets, and apps script.
# 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{
"mcpServers": {
"docmcp": {
"command": "npx",
"args": ["docmcp-mcp"],
"env": {
"GOOGLE_OAUTH_CLIENT_ID": "your-client-id",
"GOOGLE_OAUTH_CLIENT_SECRET": "your-client-secret"
}
}
}
}# 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 listTokens stored at ~/.config/gcloud/docmcp/token.json.