gdocs-mcp-server
Allows reading, editing, appending, and rewriting content in Google Docs while preserving styles, as well as debugging document styles.
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.
gdocs-mcp-server
An MCP (Model Context Protocol) server for reading and editing Google Docs.
Tools
read_document— read the full text content of a Google Docedit_document— replace the full content of a Google Docappend_to_document— add content to the end of a Google Docinsert_after_heading— insert content after a named headingstyle_preserving_rewrite— rewrite a doc's content while preserving its existing paragraph/text stylesdebug_styles— dump the raw, unprocessed per-paragraph style data for a doc, straight from the Docs API
Related MCP server: Google Docs MCP Server
Setup
Create a Google Cloud project, enable the Google Docs API, and create an OAuth 2.0 Client ID (Desktop app type). Download the client secret JSON and save it in this directory as
credentials.json.Install dependencies into a virtualenv:
python3 -m venv venv ./venv/bin/pip install -r requirements.txtRun the one-time auth flow to generate
token.json:./venv/bin/python auth.pyPoint your MCP client at
server.py(e.g. via./venv/bin/python server.py).
credentials.json and token.json are gitignored — never commit them, they grant access to
your Google account.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth. Reuses the google_sheets…
Share HTML/Markdown documents via URL instantly. Create, edit, delete docs from any AI tool.
Search, read and cite documents. Add, replace and delete files with write access. OAuth required.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables reading and editing Google Docs documents, including creating documents, inserting and deleting content, formatting text, and performing find-and-replace operations through natural language.84 npm2MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to create, read, edit, and manage Google Docs and Drive files with support for formatting, comments, tables, images, and bulk operations.571-
- AlicenseNot gradedqualityCmaintenanceEnables reading, creating, and editing Google Docs via OAuth. Supports tools for retrieving, inserting, appending, and replacing text in documents.145 npmMIT
- AlicenseAqualityBmaintenanceLets AI apps read and edit Google Docs in plain language, including reading as text or Markdown, making precise range-based edits, styling, working with comments, and exporting to PDF, DOCX, and other formats.27399 npmMIT