claude-code - 💡(How to fix) Fix Gmail MCP connects but tool calls fail — requires tools list refresh + retry to resolve

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

The connection appears active (/mcp gmail says connected) but tool calls fail silently with a network error. The status and the actual connection state are out of sync — connected in name only.

Error Messages/Logs

Code Example

From the session:

Unable to connect. Is the computer able to access the url?

And from the CLI:

Failed to reconnect to claude.ai Gmail.
Tried reconnecting to claude.ai Gmail, but the connection failed. Restart Claude Code to retry.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The connection appears active (/mcp gmail says connected) but tool calls fail silently with a network error. The status and the actual connection state are out of sync — connected in name only.

What Should Happen?

Either the connection works and tool calls succeed, or it fails and reports the failure clearly. Not both at once.

Error Messages/Logs

From the session:

Unable to connect. Is the computer able to access the url?

And from the CLI:

Failed to reconnect to claude.ai Gmail.
Tried reconnecting to claude.ai Gmail, but the connection failed. Restart Claude Code to retry.

Steps to Reproduce

  1. Open a new Claude Code session with Gmail MCP configured
  2. Run /mcp gmail — reports "Connected"
  3. Call any Gmail tool (e.g. search inbox)
  4. Tool fails with "Unable to connect. Is the computer able to access the url?"
  5. Run /mcp gmail again — fails to reconnect
  6. Run /mcp gmail a second time — fails again, suggests restarting Claude Code

Resolution that worked: 7. Refresh the tools list in the Claude app 8. Run /mcp gmail — "Authentication successful. Connected to claude.ai Gmail." 9. Tool calls succeed

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.126

Platform

Other

Operating System

macOS

Terminal/Shell

Other

Additional Information

The /mcp status dialog showed "Connected" throughout — it never reported a failure. The broken state was only visible when actually calling a tool. Refreshing the tools list in the Claude app (not restarting Claude Code) was sufficient to restore the connection without re-authenticating.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Gmail MCP connects but tool calls fail — requires tools list refresh + retry to resolve