What this thread does
Do first: run /mcp to verify the connection, identify whether Gmail comes from claude.ai or a separately registered server, and inspect tool count before changing OAuth or transport.
Short answer
As of November 2026, use current Claude Code MCP docs with 2.1.325, released 2026-11-13, as a release reference. Unable to connect. can occur despite a Connected label. realscotttaylor's report describes recovery: refresh the tools list in the Claude app, then run /mcp gmail. It is a reported recovery, not a universal fix.
Choose / don't choose
- Anthropic-hosted Gmail connector: authenticate in claude.ai; don't register its URL as a new local-OAuth server. The upstream registered redirect belongs to claude.ai (MCP docs).
- Third-party Gmail server: use its own documented URL, transport and Google consent configuration; don't copy scopes or package names from a different integration.
Not for: implementing generic MCP list pagination; see mcp-server-pagination-tools-resources-prompts-list-nextcursor.
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
--transport | http for a separately registered remote server; stdio for a local process | Current Claude Code docs, November 2026; hosted connector is automatic | MCP |
--scope | --scope local: default and private to the current project; --scope user: available across all projects on your machine, private to your user account; project shares .mcp.json | Separately registered server, current docs | MCP |
ENABLE_TOOL_SEARCH | Controls tool search; false loads all MCP tools upfront for a discovery diagnostic | Current Claude Code docs, November 2026 | MCP |
Tool permissions | Choices are Always allow, Needs approval, or Blocked. For intended read tools choose approval or allow; keep unneeded write tools blocked | Team/Enterprise connector policy, current docs | connector controls |
https://www.googleapis.com/auth/gmail.readonly | Allows viewing messages/settings; choose for a custom read-only Gmail app when its implementation supports it | Gmail API; current docs, November 2026 | Google scopes |
https://www.googleapis.com/auth/gmail.metadata | Metadata/headers only, no body; insufficient for a mail-body reading tool | Gmail API; current docs, November 2026 | Google scopes |
capabilities.tools | Server must advertise tools; listChanged: true advertises change notifications | Linked MCP tools specification | protocol |
cursor / nextCursor | Paginated tools/list requests use cursor; responses include nextCursor | Linked MCP tools specification | protocol |
For the hosted connector, complete its actual Google consent rather than claiming that the custom-app gmail.readonly scope configures it. Anthropic's Workspace connector guide says that during authentication, Google's OAuth screen mentions email sending permissions. Set read-only behavior through a separate tool policy. The scope rows above describe custom Gmail API applications. Do not widen scopes merely to repair discovery (Google).
Order of operations
1. Authenticate the hosted connector in claude.ai, or follow the named third-party server's OAuth instructions. Confirm the intended mailbox account locally without copying messages/tokens into diagnostics. 3. For a self-managed server, inspect redacted server/transport logs for the initialize response, tools capability, each list request/page and schema errors. Separate a failed list operation from an empty successful list. Inspect all pages before concluding a tool is absent (tools specification). 4. For the reported hosted-connector symptom, refresh the tools list in the Claude app, reconnect via /mcp, then make one explicitly approved read-only lookup for a synthetic subject. Require a returned tool result. The report records two /mcp gmail reconnect failures (report).
Known failures and fixes
Diagnostic: Failed to reconnect
| Error (short quote) | Cause | Fix | Source |
|---|---|---|---|
Failed to reconnect | /mcp gmail says connected but tool calls fail with a network error | Refresh tools in the Claude app, reconnect and attempt a read-only call | realscotttaylor |
is Anthropic-hosted and doesn't support local OAuth | A server added with claude mcp add or in .mcp.json points at an Anthropic-hosted connector | Remove the duplicate registration and connect through claude.ai | MCP |
Authentication and limits
- Confirmed in the MCP docs: Establish the Claude Code session under the intended login.
/statusidentifies the active auth method; API-key/provider authentication does not fetch claude.ai connectors. Inspect organization-blocked tools and per-project disabled state in/mcp(MCP). - No named third-party Gmail server is specified. Its required scopes, package release, compatibility matrix and reauthentication migration cannot be inferred from the hosted-connector report.
- A closed issue does not identify a released correction. No general upgrade-only remedy is established here.
Checked
2026-11-23; linked Claude Code release and MCP docs, Google scope reference, MCP tools specification and dated realscotttaylor report read. No mailbox authentication or mail tool calls performed.
Started from a post by @realscotttaylor, packaged by the editor. Original post