Google Docs

MCP server for Google Docs : create, read, edit, format, and manage documents through 26 tools.

Community: Submitted by a user or imported; check the owner before granting accessOnlineAPI key requiredGlobalFreeCan modify data

What it can do

  • Gdoc Create: Create a new Google Docs document with a title. Returns the document ID and metadata.
  • Gdoc Get: Get a Google Docs document including its full content structure, headers, footers, and named ranges.
  • Gdoc Insert Text: Insert text at a specific position in the document. Use index 1 to insert at the beginning of the body.

What data it sees

Do you need an account

An API key from the service settings is required

MCP server for Google Docs : create, read, edit, format, and manage documents through 26 tools.

Features

  • Create and read document content with full structure
  • Insert, delete, and replace text at any position
  • Format text: bold, italic, underline, fonts, colors, links
  • Paragraph styles: alignment, spacing, headings (H1-H6)
  • Bulleted and numbered lists
  • Tables: insert, add/delete rows and columns, merge cells
  • Headers, footers, and section breaks
  • Named ranges for bookmarking content
  • Raw batchUpdate for any Docs API operation

26 Tools

  • Document: create and get document content
  • Content: insert text, delete, replace all, insert image, page break
  • Text Formatting: update text style, update paragraph style
  • Lists: create and delete bullets/numbering
  • Tables: insert table, add/delete rows and columns, merge/unmerge cells
  • Headers & Footers: create and delete headers and footers
  • Sections & Named Ranges: section breaks, create and delete named ranges
  • Advanced: raw batchUpdate pass-through

Configuration

  • GOOGLE_CLIENT_ID : OAuth 2.0 Client ID from Google Cloud Console
  • GOOGLE_CLIENT_SECRET : OAuth 2.0 Client Secret
  • GOOGLE_REFRESH_TOKEN : Refresh token with documents scope

How to connect

How to connect Google Docs to Claude

The server address to paste into Claude settings:

https://google-docs--node2flow.run.tools

  1. Open Claude (claude.ai or the desktop app).
  2. Go to Settings → Connectors.
  3. Click Add custom connector.
  4. Paste the server address copied below into Remote MCP server URL and click Add.
  5. In a chat, click + → Connectors and switch the new connector on.

Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.

Authorization

After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.

How to connect Google Docs to ChatGPT

The server address to paste into ChatGPT settings:

https://google-docs--node2flow.run.tools

  1. Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
  2. Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
  3. Open Settings → Connectors and click Create.
  4. Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
  5. Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
  6. In a new chat open + → Apps/Connectors and enable the connector.

OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.

Authorization

On first use ChatGPT opens the service's sign-in window. Sign in and approve access.

How to connect Google Docs to Cursor

The server address to paste into Cursor settings:

https://google-docs--node2flow.run.tools

Fastest: click Open in Cursor below and confirm the prompt.

Manually:

  1. In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
  2. Paste the JSON copied below into ~/.cursor/mcp.json (per project: .cursor/mcp.json in the repo root).
  3. Save the file. The server appears in the MCP list; authorize it there if asked.

Authorization

If the service needs sign-in, an authorize button appears next to the server in the MCP list.

Server tool list (26)

Raw names from tools/list. Only developers need these.

gdoc_createCreate a new Google Docs document with a title. Returns the document ID and metadata.
gdoc_getGet a Google Docs document including its full content structure, headers, footers, and named ranges.
gdoc_insert_textInsert text at a specific position in the document. Use index 1 to insert at the beginning of the body.
gdoc_delete_contentDelete content in a range. Get indices from gdoc_get response.
gdoc_replace_all_textFind and replace all occurrences of text in the entire document.
gdoc_insert_inline_imageInsert an image from a URL at a specific position in the document.
gdoc_insert_page_breakInsert a page break at a specific position in the document.
gdoc_update_text_styleUpdate text style (bold, italic, font, color, etc.) for a range of text. Only specified fields are changed.
gdoc_update_paragraph_styleUpdate paragraph style (alignment, spacing, indentation, heading) for a range.
gdoc_create_bulletsConvert paragraphs in a range to a bulleted or numbered list.
gdoc_delete_bulletsRemove bullets or numbering from paragraphs in a range.
gdoc_insert_tableInsert a new table at a specific position in the document.
gdoc_insert_table_rowInsert a new row in an existing table.
gdoc_insert_table_columnInsert a new column in an existing table.
gdoc_delete_table_rowDelete a row from an existing table.
gdoc_delete_table_columnDelete a column from an existing table.
gdoc_merge_table_cellsMerge cells in a table. Specify the top-left cell and span.
gdoc_unmerge_table_cellsUnmerge previously merged cells in a table.
gdoc_create_headerCreate a header in the document. Returns the header ID for inserting content.
gdoc_create_footerCreate a footer in the document. Returns the footer ID for inserting content.
gdoc_delete_headerDelete a header from the document. Get the header ID from gdoc_get.
gdoc_delete_footerDelete a footer from the document. Get the footer ID from gdoc_get.
gdoc_insert_section_breakInsert a section break at a specific position.
gdoc_create_named_rangeCreate a named range in the document for referencing a section of content.
gdoc_delete_named_rangeDelete a named range by ID or name. Does not delete the content, only the reference.
gdoc_batch_updateSend a raw batchUpdate request with any combination of operations. Use this for complex multi-step updates or operations not covered by other tools.