Add setting to disable cloud MCP connectors from claude.ai
Feature Request
Add a setting to prevent Claude Code from automatically loading MCP servers that are configured as connectors in claude.ai.
Problem
MCP servers configured as connectors in a user's claude.ai account are automatically available in Claude Code sessions. These connectors may be useful in the claude.ai chatbot but not relevant in a coding context, where they consume context window space and clutter the tool list.
Currently the only workarounds are:
- Disconnecting the connector entirely in claude.ai (which also removes it from the chatbot)
- Using
--strict-mcp-config --mcp-config '{}'to disable all MCP servers - Toggling servers off per-session via
/mcp
None of these allow a persistent Claude Code-specific preference while keeping the connectors active in claude.ai.
Proposed Solution
Add a setting (e.g. in ~/.claude/settings.json) to control whether cloud MCP connectors from claude.ai are loaded, such as:
{
"mcpConnectors": "disabled"
}
Or more granularly, allow blocklisting specific connectors by name.
Use Case
A user has cloud MCP connectors set up for use with the claude.ai chatbot. These are not useful in Claude Code and add significant token overhead to every session's context window.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗