Google Docs API key, OAuth and MCP

Read, create and edit Google Docs documents from your tools. A Google API key only reads public documents. OAuth is used when the access must act on behalf of other accounts. An MCP server in preview already lets you connect it to an AI; test it before relying on it.

Notes, documents and knowledge · Collaborative documents

Google Docs

Read, create and edit Google Docs documents from your tools.

  • Google API
  • No personal key
  • OAuth
  • MCP server in preview

A Google API key only reads public documents. For your own documents: OAuth, or a service account.

The steps are in the tab .

Your questions about Google Docs.

Where do you create a Google Docs API key?

A Google API key only reads public documents. For your own documents: OAuth, or a service account.

How do you check that Google Docs access works?

With a call that changes nothing, on the Google API API of Google Docs, l'en-tête Authorization: … en place. The “API key” tab gives the command to copy. A 200 response confirms the key; a 401 or 403 error means it is wrong, expired or too restricted.

Do you need OAuth with Google Docs?

Yes, for an application that other accounts install. Google Cloud console: create a project, enable the Google Docs API, and the Google Drive API to list files. Configure the consent screen, then Credentials, OAuth client ID. Or create a service account and share each document with its email address.

Does Google Docs have an official MCP server?

MCP server in preview. The Google Workspace MCP server has been in developer preview since 1 May 2026. In the meantime, Claude and ChatGPT have a built-in Google Drive connector. The “MCP server” tab explains how to add it in Claude, ChatGPT or Le Chat.

What precautions should you take with Google Docs access?

One key per use.. One for the CRM, another for the website. If one leaks, you revoke only that one.