Google Docs MCP
MCP server by a-bonus Verified · npm:@a-bonus
Google Docs MCP connects AI assistants to Google Docs, Sheets, Drive, Gmail, and Calendar. It is for people who use Claude Desktop, Cursor, or another MCP client and want assistant access to their Google files.
Install Google Docs MCP
Built from the published package, never by AI.
claude mcp add google-docs-mcp -- npx -y @a-bonus/google-docs-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-docs-mcp": {
"args": [
"-y",
"@a-bonus/google-docs-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-docs-mcp": {
"args": [
"-y",
"@a-bonus/google-docs-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-docs-mcp": {
"args": [
"-y",
"@a-bonus/google-docs-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-docs-mcp -- npx -y @a-bonus/google-docs-mcp{
"mcpServers": {
"google-docs-mcp": {
"args": [
"-y",
"@a-bonus/google-docs-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-docs-mcp npx -y @a-bonus/google-docs-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-docs-mcp block.
About
Google Docs MCP is an MCP server that connects Claude Desktop, Cursor, or any MCP client to Google Docs, Google Sheets, Google Drive, Gmail, and Google Calendar. Setup starts with a Google Cloud OAuth client, with the relevant Google APIs enabled and the gmail.modify and calendar.events scopes added to the consent screen. The source lists tools for Docs, Comments, Suggestions, Sheets, Sheets Tables, and Drive.
For local use, you run an npx auth command with your client ID and secret, approve access in the browser, and the refresh token is saved to a local file. For teams, the server can be deployed once to Cloud Run using an HTTP transport. Users then add the server URL to their MCP client and sign in with Google, using MCP OAuth 2.1. It suits individuals who want an assistant to work with their Google files, and teams that want one shared deployment.
Written from the project's README and checked against it.
Tools it gives your assistant
readDocumentReads a document as plain text, JSON, or markdown.findAndReplaceFinds and replaces text across a Google Doc.addCommentCreates a comment anchored to text in a document.searchDocumentsSearches Drive documents by name or content.createDocumentCreates a new Google Doc.readSpreadsheetReads data from a range in A1 notation.writeSpreadsheetWrites data to a range in a Google Sheet.insertChartCreates a chart in a spreadsheet from data.moveFileMoves a Drive file to another folder.listDriveFilesLists any file type in Drive with filters.
What you need
- Google Cloud project with an OAuth client ID (Desktop app type)
- Google Docs, Sheets, Drive, Gmail, and Calendar APIs enabled
- Google account added as a test user on the OAuth consent screen
- Node.js 22 or later for suggestion mode
- Google Cloud Run for remote deployment
Try asking
- Read my Google Doc called Q3 plan and summarize it.
- Find and replace the old product name across my document.
- Add a comment on the intro paragraph asking for a review.
Good to know
- Suggestion mode requires Node 22 or later and googleapis@184.
- Local installs save the refresh token to ~/.config/google-docs-mcp/token.json.
- Remote deployment example uses --allow-unauthenticated on Cloud Run.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Google Docs MCP
All alternatives →LearnHouse is an open source learning platform for building courses, learning paths and communities in your own academy. Its MCP server lets AI assistants read and build courses in your organization.
Agent-Native Calendar is the Calendar agent in Agent-Native, an open-source TypeScript framework for building agents with UIs. The README describes it as a way to find time, schedule events, and manage bookings. It is aimed at developers building agent apps.
Agent-Native Clips is the Clips agent from the Agent-Native framework, an open-source TypeScript project. It records and helps people understand meetings, screens, and voice notes.
Agent-Native Slides is the Slides agent in the Agent-Native open-source framework, described as a way to create and edit on-brand presentations. It is aimed at developers who build agents with a purpose-built UI.
AIHawk is an AI job application bot. It finds recent job postings that match your resume, then fills in and sends applications on the company's own forms after you pick the jobs.
Connects AI assistants to Microsoft 365 and Office services through the Microsoft Graph API. It suits users and administrators who want an assistant to work with Outlook, calendar, OneDrive, Teams and SharePoint data.
Compare with LearnHouse, Agent-Native Calendar or Agent-Native Clips
Google Docs MCP: common questions
Where is the Google login token stored?
For local installs, the refresh token is saved to ~/.config/google-docs-mcp/token.json after authorization. The remote deployment example sets TOKEN_STORE to firestore.
Can the assistant suggest edits instead of editing directly?
Yes. Write tools accept suggestMode: true to apply edits as pending suggestions for review. The source says this requires Node 22 or later.
Which Google services does it cover?
The description names Google Docs, Sheets, Drive, Gmail, and Google Calendar. The tool lists in the source cover Docs, Sheets, and Drive.
How do I install Google Docs MCP?
In Claude Code run claude mcp add google-docs-mcp -- npx -y @a-bonus/google-docs-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Docs MCP the official server?
Google Docs MCP is published by npm:@a-bonus from its verified domain in the official MCP Registry.
Is Google Docs MCP free?
The code is published under the ISC licence. The service it connects to may have its own pricing.
Is Google Docs MCP safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Google Docs MCP?
Similar MCP servers: LearnHouse, Agent-Native Calendar, Agent-Native Clips, Agent-Native Slides.
Does Google Docs MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
