Google Docs MCP Server
Create, edit, style, and export Google Docs with the deepest toolset in the server.
$ uvx workspace-mcp --tools docs runs only the Google Docs MCP tools — combine services as neededDocs is the deepest service in Workspace MCP — eighteen tools, because document editing has real structure. Beyond create_doc and modify_doc_text, there are dedicated tools for paragraph styling, nested lists, tables built from data, headers and footers, and inline images.
Two tools matter especially for developer workflows: get_doc_as_markdown exports a formatted document straight to Markdown for your repo, and inspect_doc_structure lets an assistant understand a document’s element tree before attempting a precise edit.
What you can ask
- “Draft a project brief from these notes with proper heading structure and a summary table”
- “Export the onboarding doc to Markdown so I can commit it to the wiki”
- “Find every mention of the old product name across the doc and replace it”
All 18 Google Docs MCP tools
Tiers control how many tools the server registers: start lean with --tool-tier core and step up to extended or complete when a workflow needs more. Parameters and examples for every tool
are in the API reference.
get_doc_content Core Extract plain text document content.create_doc Core Create new documents.modify_doc_text Core Modify document text with formatting and links.search_docs Extended Search docs by name.find_and_replace_doc Extended Find and replace text.list_docs_in_folder Extended List docs in a Drive folder.insert_doc_elements Extended Insert tables, lists, and page breaks.update_paragraph_style Extended Apply heading and paragraph styles, including nested lists.get_doc_as_markdown Extended Export a document as formatted Markdown.export_doc_to_pdf Extended Export a doc to PDF.insert_doc_image Complete Insert images from Drive or URLs.update_doc_headers_footers Complete Update headers and footers.batch_update_doc Complete Execute multiple doc operations in one call.inspect_doc_structure Complete Inspect structural document elements.create_table_with_data Complete Create populated tables.debug_table_structure Complete Debug table structures.list_document_comments Complete List all document comments.manage_document_comment Complete Create, reply, or resolve comments.OAuth scopes
The server requests only the scopes for the services you enable. In read-only mode it requests just the readonly variants and skips registering write tools entirely.
documents.readonlyread document content and structuredocumentscreate and edit documentsdrive.readonlysearch and list docs in folders
Google Docs MCP questions
- Can it produce properly formatted documents, not just plain text?
- Yes — formatting is most of the toolset. update_paragraph_style applies headings and nested lists, insert_doc_elements adds tables and page breaks, create_table_with_data builds populated tables in one call, and modify_doc_text handles inline formatting and links.
- How do I get a Google Doc into Markdown for a repo or wiki?
- get_doc_as_markdown exports the document with formatting preserved. The reverse direction works too: the Drive service’s import_to_google_doc turns Markdown into an editable Doc.
- Can an assistant work with comments and suggestions?
- list_document_comments reads every comment thread, and manage_document_comment can create, reply to, or resolve them — useful for agents doing a review pass on a shared draft.
- What stops an edit from landing in the wrong place?
- inspect_doc_structure exposes the document’s element tree so the assistant can locate the exact paragraph, table cell, or index before editing, and debug_table_structure does the same for complex tables.
Works alongside
All services: Gmail MCP·Google Drive MCP·Google Calendar MCP·Google Docs MCP·Google Sheets MCP·Google Slides MCP·Google Forms MCP·Google Tasks MCP·Google Contacts MCP·Google Chat MCP·Google Custom Search MCP·Google Apps Script MCP