Skip to content

Google Docs

AllMCP gives your agent read access to Google Docs: list documents in Drive, read full document content as plain text, and export any document the user shares as a link or file ID.

All providers How connecting works

Connect your MCP client to the AllMCP endpoint and authenticate with your API key.

https://go.allmcp.co/mcp/

Send your key on every request using either header:

X-API-Key: allmcp_xxx
Authorization: Bearer allmcp_xxx

If you run agents for more than one of your own customers, add ?user_id=... (and optionally ?org_id=...) to the endpoint URL so each customer’s Google connection stays separate.


Google Docs uses OAuth2, so there are no tokens to copy by hand.

  1. Ask your agent to connect Google Docs

    Tell your agent to connect the google_docs provider. It returns a secure Google sign-in link.

  2. Grant access in your browser

    Open the link, sign in to Google, and approve the requested access. That is the only manual step.


Once you are connected, your agent can use the Google Docs tools below.

List and search Google Docs files in Drive.

ToolDescription
google_docs_list_filesLists the Google Docs files you have access to in Google Drive. Supports name search and pagination.
google_docs_get_file_metadataReturns Drive-level metadata for one document: name, owner, timestamps, and share link.

Read document content and export as plain text.

ToolDescription
google_docs_get_documentReads a Google Docs document via the Docs API and returns the title, full plain-text content, and word count. Accepts a bare document ID or a full docs.google.com URL.
google_docs_export_as_textExports a document as plain text via the Drive export endpoint. An alternative to get_document that handles headers, footers, and footnotes differently.

Just describe what you want in plain language — your agent picks the right tools.

Read the Google Doc at https://docs.google.com/document/d/1BxiMVs0.../edit