@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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth. Reuses the google_sheets…
Online office suite for AI agents: edit docs, sheets, slides and PDFs in browser or via MCP.
MCP server for Speech-to-Text
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.3417MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Google Docs — create, read, edit, format, and manage documents through 26 tools via the Model Context Protocol.13 npm1MIT
- FlicenseNot gradedqualityCmaintenanceMCP 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).1-
- AlicenseNot gradedqualityDmaintenanceMCP server for Google Docs, Google Drive, and Comments with flexible authentication, enabling document management, editing, formatting, commenting, and drive operations.156 npm2MIT