Google Docs Integration

v1.0.0Cloud Servicesstable

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.

claude-mcp-x-google-docsmcpai-integration
Share:
541
Stars
0
Downloads
0
Weekly
0/5

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

Access Google Docs, Sheets, Drive, Gmail, and Calendar through Claude Desktop.
Perform document management and collaboration tasks via AI commands.
a-bonus

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-mcp-x-google-docs

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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.

2

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 auth
3

Configure 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"
      }
    }
  }
}
4

Restart Claude Desktop

Save the configuration and restart Claude Desktop. The Google Workspace tools will be available in the next session.

5

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"
      }
    }
  }
}
6

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.

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.

Quick Config Preview

{ "mcpServers": { "claude-mcp-x-google-docs": { "command": "npx", "args": ["-y", "claude-mcp-x-google-docs"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides