Google Docs Integration
The Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
What is Google Docs Integration?
Google Docs Integration is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ultimate google docs, sheets, drive, gmail, & google calendar mcp server. this mcp (primarily for use in claude desktop) gains full access to your google suite and lets claude do its thing.
The Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- The Ultimate Google Docs, Sheets, Drive, Gmail, & Google Cal
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx claude-mcp-x-google-docsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Google Docs Integration
The Google Docs MCP server (@a-bonus/google-docs-mcp) gives Claude Desktop and other MCP clients full access to the Google Workspace suite — Docs, Sheets, Drive, Gmail, and Calendar — through OAuth 2.0. It exposes dozens of tools covering document editing, spreadsheet manipulation, file management, email handling, and calendar event management, turning Claude into a capable Google Workspace assistant that can read, write, and organize your data through conversation.
Prerequisites
- Node.js 18 or later installed
- A Google Cloud project with the Docs, Sheets, Drive, Gmail, and Calendar APIs enabled
- OAuth 2.0 credentials (Client ID and Client Secret) from Google Cloud Console
- An MCP client such as Claude Desktop or Cursor
Create Google Cloud OAuth credentials
Go to console.cloud.google.com, create or select a project, enable the Google Docs, Sheets, Drive, Gmail, and Calendar APIs, then create OAuth 2.0 credentials of type 'Desktop app'. Download the client ID and secret.
Run the authorization flow
Use the npx auth command to open a browser OAuth flow and store the access token locally. Replace the placeholders with your actual client ID and secret.
GOOGLE_CLIENT_ID="your-client-id" \
GOOGLE_CLIENT_SECRET="your-client-secret" \
npx -y @a-bonus/google-docs-mcp authConfigure Claude Desktop
Add the server block to your Claude Desktop configuration file with your Google OAuth credentials as environment variables.
{
"mcpServers": {
"google-docs": {
"command": "npx",
"args": ["-y", "@a-bonus/google-docs-mcp"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret"
}
}
}
}Restart Claude Desktop
Save the configuration and restart Claude Desktop. The Google Workspace tools will be available in the next session.
Use multiple Google accounts (optional)
Set the GOOGLE_MCP_PROFILE environment variable to a profile name to maintain separate token stores for different Google accounts.
{
"mcpServers": {
"google-docs-work": {
"command": "npx",
"args": ["-y", "@a-bonus/google-docs-mcp"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_MCP_PROFILE": "work"
}
}
}
}Ask Claude to work with your Google Workspace
Request any Docs, Sheets, Drive, Gmail, or Calendar operation in natural language. Claude will use the appropriate tool.
Google Docs Integration Examples
Client configuration
Claude Desktop config block for the Google Docs MCP server with OAuth credentials.
{
"mcpServers": {
"google-docs": {
"command": "npx",
"args": ["-y", "@a-bonus/google-docs-mcp"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret"
}
}
}
}Prompts to try
Example queries across Google Workspace services.
- "Read my Google Doc with ID 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms as markdown"
- "Write the data [[Name, Score], [Alice, 95], [Bob, 82]] to range A1 in my spreadsheet"
- "Search my Drive for documents modified in the last 7 days containing 'Q4 report'"
- "Show my 20 most recent unread emails and flag which ones need a reply"
- "Create a calendar event 'Team standup' every weekday at 9am starting Monday"Troubleshooting Google Docs Integration
OAuth flow fails with 'redirect_uri_mismatch' error
In Google Cloud Console, add 'http://localhost' (and common localhost ports like http://localhost:3000) to the list of Authorized Redirect URIs for your OAuth 2.0 client. The auth command starts a local server to receive the OAuth callback.
Token expires and Claude loses access between sessions
The token is stored at ~/.config/google-docs-mcp/token.json and should auto-refresh. If it does not, re-run the auth command: 'GOOGLE_CLIENT_ID=... GOOGLE_CLIENT_SECRET=... npx -y @a-bonus/google-docs-mcp auth'. For persistent remote deployments set JWT_SIGNING_KEY so sessions survive restarts.
API returns 403 Forbidden for a specific Google service
Each Google API (Docs, Sheets, Drive, Gmail, Calendar) must be individually enabled in your Google Cloud Console project under 'APIs & Services > Enabled APIs'. Enable the API for the service returning the error and wait a few minutes for propagation.
Frequently Asked Questions about Google Docs Integration
What is Google Docs Integration?
Google Docs Integration is a Model Context Protocol (MCP) server that ultimate google docs, sheets, drive, gmail, & google calendar mcp server. this mcp (primarily for use in claude desktop) gains full access to your google suite and lets claude do its thing. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Google Docs Integration?
Follow the installation instructions on the Google Docs Integration GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Google Docs Integration?
Google Docs Integration works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Google Docs Integration free to use?
Yes, Google Docs Integration is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Google Docs Integration Alternatives — Similar Cloud Services Servers
Looking for alternatives to Google Docs Integration? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Google Docs Integration in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Google Docs Integration?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.