claude-code - 💡(How to fix) Fix [BUG] claude.ai MCP connectors never load on Linux — hasAvailableSubscription cached as False, clientDataCache stays null

Official PRs (…)
ON THIS PAGE

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

Error Messages/Logs

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?

All claude.ai MCP connectors configured at claude.ai/settings/connectors never appear in claude mcp list or /mcp. Only locally configured MCP servers appear. This persists across restarts, claude auth logout && claude auth login, and version upgrades.

Key findings from ~/.claude.json

  • clientDataCache: null — never populated after login
  • hasAvailableSubscription: false — incorrectly cached; account has an active Claude subscription
  • claudeAiMcpEverConnected: ["claude.ai Gmail", "claude.ai Dolibarr", "claude.ai Slack", "claude.ai Metabase", "claude.ai Notion", "claude.ai HubSpot"] — these worked at some point
  • oauthAccount is correctly set with email and org UUID
  • user:mcp_servers scope is present in the OAuth flow

What I ruled out

  • /etc/claude-code/managed-mcp.json does not exist
  • api.anthropic.com/v1/mcp_servers is reachable (returns 400 without auth, as expected)
  • mcp-proxy.anthropic.com resolves and TLS handshakes successfully
  • penguinModeOrgEnabled: false
  • --debug -p produces zero log output on Linux, so [claudeai-mcp] lines are not visible

Hypothesis

hasAvailableSubscription: false is stale/incorrect and is the guard that short-circuits the cloud MCP fetch (as seen in the source referenced in #40559). Clearing or refreshing this cached value might fix the issue.

What Should Happen?

claude.ai connectors appear in claude mcp list prefixed with claude.ai, as documented and as seen on macOS.

Error Messages/Logs

Steps to Reproduce

  1. Connect MCP servers at claude.ai/settings/connectors
  2. claude auth logout && claude auth login on Linux
  3. claude mcp list — only local servers appear
  4. Check ~/.claude.json — clientDataCache is null, hasAvailableSubscription is false

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.139

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

I use bash terminal

  • hasAvailableSubscription: False in ~/.claude.json — likely the guard that skips the cloud MCP fetch
  • clientDataCache: null — never populated after fresh login
  • api.anthropic.com/v1/mcp_servers is reachable (returns 400 without auth, as expected)
  • No /etc/claude-code/managed-mcp.json
  • claudeAiMcpEverConnected lists 6 servers — they worked at some point
  • --debug produces zero output in -p mode on Linux
  • Version 2.1.139, Linux (Fedora), VS Code extension + terminal both affected

This bug report was written with claude code

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 [BUG] claude.ai MCP connectors never load on Linux — hasAvailableSubscription cached as False, clientDataCache stays null