google-docs-mcp
20
The Ultimate Google Docs MCP Server enhances interaction between Claude Desktop and Google Docs using the Model Context Protocol. It provides tools for document management and formatting, ensuring secure access through OAuth 2.0 authentication.
Ultimate Google Docs MCP Server
Connect Claude Desktop (or other MCP clients) to your Google Docs!
🔥 Check out you can accomplish with this enhanced server!
This enhanced server uses the Model Context Protocol (MCP) to provide comprehensive tools for reading, writing, formatting, and structuring Google Documents. It acts as a powerful bridge, allowing AI assistants like Claude to interact with your documents.
Features:
Document Access
- Read Documents: Read content in various formats
- Append to Documents: Add text
- Insert Text: Place text at specific positions
- Delete Content: Remove content
Formatting & Styling
- Text Formatting: Apply styling
- Paragraph Formatting: Control layout
- Find & Format: Format by content
Document Structure
- Tables: Create tables
- Page Breaks: Insert breaks
- Experimental Features: Automatic list detection
Integration
- Google Authentication: Secure OAuth 2.0
- MCP Compliant: Designed for MCP clients
Prerequisites
- Node.js and npm
- Git
- A Google Account
- Command Line Familiarity
- Claude Desktop (Optional)
Setup Instructions
Step 1: Google Cloud Project & Credentials
- Go to Google Cloud Console
- Create or Select a Project
- Enable APIs
- Configure OAuth Consent Screen
- Create Credentials
- Download the Credentials File
Step 2: Get the Server Code
- Clone the Repository
- Navigate into Directory
- Place Credentials
Step 3: Install Dependencies
Step 4: Build the Server Code
Step 5: First Run & Google Authorization
Step 6: Configure Claude Desktop (Optional)
Usage with Claude Desktop
- "Use the
google-docs-mcp
server to read the document." - Advanced Usage Examples: Text Styling, Paragraph Styling, Table Creation, Legacy Formatting
Security & Token Storage
.gitignore
: Prevents committing sensitive files- Token Storage: Store tokens securely
Troubleshooting
- Claude Error: Check paths and build status
- Google Error: Verify APIs and test users