Google Docs

Google Docs

Productivity
OAuth

Read, create, and edit Google Docs (via the combined Workspace server).

Google Docs

Read, create, and edit Google Docs (via the combined Workspace server). With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Google Docs MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Google Docs tool call against your policies.

Why MCPX

MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Google Docs once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.

Tools content

  • search_docs · Read-only
    Searches for Google Docs by name using Drive API (mimeType filter).
  • get_doc_content · Read-only
    Retrieves content of a Google Doc or a Drive file (like .docx) identified by document_id.
  • list_docs_in_folder · Read-only
    Lists Google Docs within a specific Drive folder.
  • create_doc · Write
    Creates a new Google Doc and optionally inserts initial content.
  • modify_doc_text · Write
    Modifies text in a Google Doc - can insert/replace text and/or apply formatting in a single operation.
  • find_and_replace_doc · Write
    Finds and replaces text throughout a Google Doc.
  • insert_doc_elements · Write
    Inserts structural elements like tables, lists, or page breaks into a Google Doc.
  • insert_doc_image · Write
    Inserts an image into a Google Doc from Drive or a URL.
  • update_doc_headers_footers · Write
    Safely creates or updates header/footer text in a Google Doc.
  • batch_update_doc · Write
    Executes multiple low-level document operations in a single atomic batch update.
  • inspect_doc_structure · Read-only
    Essential tool for finding safe insertion points and understanding document structure.
  • debug_docs_runtime_info · Read-only
    Return runtime/source information for diagnosing stale MCP server instances.
  • create_table_with_data · Write
    Creates a table and populates it with data in one reliable operation.
  • debug_table_structure · Read-only
    ESSENTIAL DEBUGGING TOOL - Use this whenever tables don't work as expected.
  • export_doc_to_pdf · Write
    Exports a Google Doc to PDF format and saves it to Google Drive.
  • update_paragraph_style · Write
    Apply paragraph-level formatting, heading styles, and/or list formatting to a range in a Google Doc.
  • get_doc_as_markdown · Read-only
    Reads a Google Doc and returns it as clean Markdown with optional comment context.
  • manage_doc_tab · Write
    Manage document tabs: create, rename, delete, or populate from Markdown.

Frequently asked questions

What is the Google Docs MCP server?

Read, create, and edit Google Docs (via the combined Workspace server). Through Lunar.dev MCPX, Google Docs connects to any MCP-compatible AI client behind a single governed gateway.

How do I connect Google Docs to MCPX?

Add the Google Docs server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles OAuth and routes every Google Docs call through the gateway.

Is the Google Docs MCP server official?

Google Docs is a community-maintained MCP server. MCPX lets you risk-assess and sandbox it before rolling it out to your teams.

What authentication does Google Docs use with MCPX?

Google Docs uses OAuth. MCPX enforces authentication at the gateway with token-based auth, OAuth, and role-based profiles, so you control which agents can invoke it.

How many tools does Google Docs expose in MCPX?

Google Docs exposes 20 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.

Server details

CategoryProductivity
AuthOAuth
ConnectionStreamable HTTP
Tools20 available