Google Docs: Setup instructions — MCP tool
Google Docs MCP tool: Says how to connect: with the built-in A1 client just the two login calls, and for your own OAuth client the Google Cloud checklist, ready to show the user verbatim.
Technical name: setup_instructions
What task it solves
I want to know how to connect Google Docs, or what to click in Google Cloud for my own OAuth client.
With the built-in A1 client the answer is short: no Google Cloud setup, call start_login, then finish_login. For your own client — needed for export, Markdown import and comments on documents this server did not create, for an API quota of your own, or when a Workspace admin blocks third-party apps — it hands the calling model the wizard text instead of letting it improvise: create or pick a Cloud project, enable Google Docs API and Google Drive API, configure the consent screen, create a Desktop app OAuth client and download its JSON — whose path then goes to set_client, so the secret never passes through the conversation.
When to use it
Use it when the user asks how to connect or wants their own OAuth client, or whenever start_login reports that no client is configured. It works with no credentials at all and makes no network call.
What to provide
No parameters.
What it returns
Which client is in use. With the built-in client: the two login steps and the scopes it requests (documents + drive.file), next to the own-client checklist and its scopes (documents + drive). With no client at all: the ordered setup steps, the Google Cloud console links, the exact OAuth scopes and the note that the downloaded JSON path goes to set_client next.
What changes in Google Docs
Nothing — the tool only produces text. The Cloud project changes when the user follows the steps in their browser.
Example request
Walk me through setting up Google Docs access — what do I create in Google Cloud?
Errors and limitations
The own-client steps cannot be automated: creating a project, enabling the APIs and configuring the consent screen happen in Google's console under the user's own account. A consent screen left in Testing mode expires refresh tokens after seven days — publish the app or use an Internal Workspace app for long-lived access. The APIs must be enabled in the same project as the OAuth client, otherwise the first call fails with a 403 that looks like a permission problem.
Related MCP tools
- Save the OAuth client —
set_client - Start the login —
start_login - Connection status —
auth_status
Technical details
- Impact: read-only
- Group: Connection
- Source:
setup_instructionsregistered by@a1-x-tech/mcp-google-authviasrc/tools/auth.ts - Full technical reference
- All MCP capabilities