@suncreation/mcp-google-docs
Provides tools for reading and writing Google Docs with full formatting support, including text formatting, paragraph styling, tables, images, page breaks, and comment management.
Provides tools for managing files and folders in Google Drive, including listing, searching, creating, moving, copying, renaming, and deleting documents and folders.
Provides tools for reading and writing Google Sheets, including appending rows, clearing ranges, creating spreadsheets, and adding sheets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@suncreation/mcp-google-docsCreate a new Google Doc titled 'Project Plan' and add a table of tasks."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@suncreation/mcp-google-docs
MCP server for Google Docs, Sheets & Drive with full formatting support.
Fork of a-bonus/google-docs-mcp with fixed OAuth flow (replaced deprecated OOB with localhost redirect).
Quick Start with npx
npx @suncreation/mcp-google-docsRelated MCP server: @node2flow/google-docs-mcp
Installation
Option 1: Environment Variables (Recommended for npx)
{
"mcpServers": {
"google-docs": {
"command": "npx",
"args": ["-y", "@suncreation/mcp-google-docs"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"TOKEN_PATH": "/path/to/token.json"
}
}
}
}Option 2: credentials.json File
{
"mcpServers": {
"google-docs": {
"command": "npx",
"args": ["-y", "@suncreation/mcp-google-docs"],
"env": {
"CREDENTIALS_PATH": "/path/to/credentials.json",
"TOKEN_PATH": "/path/to/token.json"
}
}
}
}First Run: OAuth Authentication
On first run, a browser window will open for Google authentication. After approval, token.json is saved for future use.
Features
Google Docs
Read/write documents
Text formatting (bold, italic, colors)
Paragraph styling (alignment, spacing)
Tables, images, page breaks
Comment management
Google Sheets
Read/write spreadsheets
Append rows, clear ranges
Create spreadsheets, add sheets
Google Drive
List, search, create documents
Folder management
Move, copy, rename, delete files
Environment Variables
Variable | Description |
| OAuth Client ID |
| OAuth Client Secret |
| Path to credentials.json (alternative to above) |
| Path to save/load token.json |
| Path to service account key (for enterprise) |
| Email to impersonate (with service account) |
Google Cloud Setup
Go to Google Cloud Console
Create a project
Enable APIs: Google Docs API, Google Sheets API, Google Drive API
Create OAuth 2.0 credentials (Desktop app)
Important: Add
http://localhost:3000/oauth2callbackto Authorized redirect URIsDownload credentials.json or copy Client ID/Secret
License
MIT - Based on a-bonus/google-docs-mcp
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for Google Workspace APIs - Docs, Sheets, Drive, Gmail, and Calendar. Enables reading, creating, and editing Google Docs and Sheets, managing comments, reading emails, and viewing calendar events.Last updated2345416MIT
- Alicense-qualityDmaintenanceMCP server for Google Docs — create, read, edit, format, and manage documents through 26 tools via the Model Context Protocol.Last updated161MIT
- Alicense-qualityBmaintenanceMCP server for Google Drive, Docs, and Sheets — built for Claude Code. Gives Claude Code direct read/write access to Google Sheets (cell-level edits, formatting, structure), Google Docs (insert, replace, append), and Drive (search).Last updated951MIT
- Alicense-qualityDmaintenanceMCP server for Google Docs, Google Drive, and Comments with flexible authentication, enabling document management, editing, formatting, commenting, and drive operations.Last updated1672MIT
Related MCP Connectors
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SunCreation/mcp-google-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server