Google Docs plugin: mcp_auth / Configure say Connected, but read_document fails (auth or timeout on default profile)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Marketplace Google Docs plugin (plugin-google-docs-google-docs, remote MCP https://api.cursor.com/rest-mcp/google-docs/mcp) reports authenticated / Connected, but agent tool calls to read_document fail.

Symptoms observed in Agent chat:

  1. mcp_auth returns: “Successfully authenticated MCP server: plugin-google-docs-google-docs. The server’s tools should now be available.”
  2. GetDynamicTools shows namespaceStatus: "ready" and lists tools including read_document.
  3. Calling read_document still fails with either:
    • MCP server requires authentication, or after Local re-auth:
    • Timed out waiting for connection to "plugin-google-docs-google-docs::mcpScope:profile:ZGVmYXVsdA:cfg:..." (base64 ZGVmYXVsdA = default).

Configure dialog shows two sources both Connected: Local and default. Agent appears to target the default profile even after re-authenticating Local.

Contrast: earlier in the same session, Google Drive plugin read_file on the same Google Doc file id succeeded (Markdown export). After Local Docs re-auth, Drive later also timed out on its default profile.

Steps to Reproduce

  1. Install Google Docs marketplace plugin; ensure Configure shows Local and/or default Connected.
  2. In Agent chat, ask the agent to call Google Docs read_document on a Doc the signed-in Google account can open.
  3. Observe mcp_auth success / namespaceStatus ready, then read_document fails with “MCP server requires authentication”.
  4. In Configure google-docs, Sign Out of Local, re-authenticate Local via browser Google consent, Reload.
  5. Retry read_document from Agent.
  6. Observe timeout waiting for connection to mcpScope profile default (ZGVmYXVsdA), not Local.

Optional control: same Doc via Google Drive plugin read_file may work while Docs read_document fails (observed before the post-reauth timeouts).

Expected Behavior

After Configure shows Connected (and/or mcp_auth succeeds), Agent read_document should use a valid OAuth token for that session and return document content. mcp_auth / Connected should not report success when tools/call still requires auth. If Local was re-authenticated on desktop Agent, tool calls should use Local (or clearly fail on the missing Local scope) instead of silently timing out on an unusable default profile.

Operating System

Windows 10/11

Version Information

Cursor IDE ~3.9.16 (from %LOCALAPPDATA%\Programs\cursor_\resources\app\package.json / Cursor.exe ProductVersion). Please confirm via Help → About if needed.
OS: Windows 10/11 build 10.0.26300 (win32 AMD64).

For AI issues: which model did you use?

Composer / Auto (Agent router) — desktop Agent chat

Additional Information

Related prior reports: forum thread about plugin MCP OAuth Authenticate card reporting authenticated without a usable token when tools/call challenges auth; CLI vs desktop plugin auth split for rest-mcp Google Docs.

Plugin path: Cursor marketplace google-docs → rest-mcp at api.cursor.com/rest-mcp/google-docs/mcp.

I can attach Request ID from chat “…” → Copy Request ID if useful — please tell me if needed.

Workaround for reads: Google Drive plugin read_file on the same documentId (when Drive auth works).

Does this stop you from using Cursor

No - Cursor works, but with this issue

Outlook MCP is also affected of the same behavior. Local always says not connected.

Hey @Yannick_Weiler, your Google sign-in is fine, and Local was the right row to re-authenticate. Fully quitting Cursor (every window) and reopening it, then asking again in a new chat, should get read_document working.

The “default” in that timeout message is your Cursor profile on this machine, so the call was already going to the Local connection. The second row in Configure is a separate sign-in kept on Cursor’s servers for cloud runs, and the desktop agent doesn’t use it.

What goes wrong is that Cursor can keep a stale connection for Cursor-hosted plugins like Docs and Drive. The status shows Connected while the agent’s calls still go to the old one, which is why Drive started timing out too.

If it comes back after the restart, can you tell me roughly how long it took?

That worked. Thanks @Colin !