@node2flow/google-docs-mcp
Provides tools for creating, reading, editing, formatting, and managing Google Docs documents, including text manipulation, styling, lists, tables, headers/footers, sections, named ranges, and batch updates.
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., "@@node2flow/google-docs-mcpcreate a new document called 'Project Plan'"
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.
@node2flow/google-docs-mcp
MCP server for Google Docs — create, read, edit, format, and manage documents through 26 tools via the Model Context Protocol.
Quick Start
Claude Desktop / Cursor
Add to your MCP config:
{
"mcpServers": {
"google-docs": {
"command": "npx",
"args": ["-y", "@node2flow/google-docs-mcp"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}HTTP Mode
GOOGLE_CLIENT_ID=xxx GOOGLE_CLIENT_SECRET=xxx GOOGLE_REFRESH_TOKEN=xxx npx @node2flow/google-docs-mcp --httpMCP endpoint: http://localhost:3000/mcp
Cloudflare Worker
Available at: https://google-docs-mcp-community.node2flow.net/mcp
POST https://google-docs-mcp-community.node2flow.net/mcp?GOOGLE_CLIENT_ID=xxx&GOOGLE_CLIENT_SECRET=xxx&GOOGLE_REFRESH_TOKEN=xxxTools (26)
Document (2)
Tool | Description |
| Create a new document with a title |
| Get document content, structure, headers, footers |
Content (5)
Tool | Description |
| Insert text at a specific position |
| Delete content in a range |
| Find and replace all occurrences |
| Insert image from URL |
| Insert a page break |
Text Formatting (2)
Tool | Description |
| Bold, italic, underline, font, colors, links |
| Alignment, spacing, headings, indentation |
Lists (2)
Tool | Description |
| Create bulleted or numbered lists |
| Remove bullets from paragraphs |
Tables (7)
Tool | Description |
| Insert a new table |
| Add a row to a table |
| Add a column to a table |
| Remove a table row |
| Remove a table column |
| Merge cells in a table |
| Unmerge previously merged cells |
Headers & Footers (4)
Tool | Description |
| Create a document header |
| Create a document footer |
| Delete a header |
| Delete a footer |
Sections & Named Ranges (3)
Tool | Description |
| Insert a section break (next page or continuous) |
| Create a named range to bookmark content |
| Delete a named range (keeps the content) |
Advanced (1)
Tool | Description |
| Raw batchUpdate for any combination of operations |
Index System
Google Docs uses 0-based character indices:
Index 0 → Document root (not usable for content)
Index 1 → Start of body content
Index N → End of body (from gdoc_get response)Important: Always call gdoc_get first to find current indices. When making multiple edits, process from end to start to avoid index shifts.
Configuration
Parameter | Required | Description |
| Yes | OAuth 2.0 Client ID from Google Cloud Console |
| Yes | OAuth 2.0 Client Secret |
| Yes | Refresh token (obtained via OAuth consent flow) |
Getting Your Credentials
Go to Google Cloud Console
Create a project → Enable Google Docs API
Create OAuth 2.0 Client ID (Desktop app type)
Use the OAuth Playground or your app to get a refresh token with scope
https://www.googleapis.com/auth/documents
OAuth Scopes
Scope | Access |
| Full read/write access |
| Read-only access |
License
MIT License - see LICENSE
Copyright (c) 2026 Node2Flow
Links
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/node2flow-th/google-docs-mcp-community'
If you have feedback or need assistance with the MCP directory API, please join our Discord server