No MCP servers configured. Claude Code
Quick fix
Enable MCP servers one at a time to find the unusable configuration, then disable or remove it and reload Claude Code.
Symptom
Section titled “Symptom”No MCP servers configured. Use `claude mcp add` to add a server.The reported issues cover various MCP configuration, import, sync, and conversion problems. Invalid or incompatible MCP JSON may make all MCP servers unavailable in Claude Code. Users also reported MCP entries being rewritten, lost, or converted into a format incompatible with the target client when switching providers, saving configurations, or importing configurations. Some issues have recorded fixes, while others remain open, so they cannot be confirmed as the same root cause.
Enable configured MCP servers one at a time to identify the unusable entry.
Disable or remove the unusable MCP configuration, then reload Claude Code.
If the problem occurs after importing, saving, or switching providers, retain the relevant version, system environment, reproduction steps, and logs, and continue tracking it in the corresponding issue.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 20 real issues
- #336[may be bug ?] 修改 windows 下 sequential thinking mcp 预设,因为claude code 会报错提醒
- #393MCP 服务器管理异常导致切换报错
- #5573.9.0 cc-switch 安装 mcp 到 wsl 会路径转换
- #683[Bug] MCP 配置文件被 cc-switch 单向覆盖,导致本地手动修改丢失
- #782cc switch异常清理everything claude code插件里的agent、skill等配置
- #1788cc-switch rewrites `chrome-devtools` MCP config into an incompatible format for OpenCode and Codex
- #1940Your MCP server earned an A security grade on Loaditout
- #2136Unexpected MCP JSON format/意外的 MCP JSON 格式
- #2315💰 Your AI agent can earn passive income on MFKVault
- #2492Codex importer should treat url MCP config as HTTP/SSE transport instead of defaulting to stdio.
- #2537每次更改提供商的模型都会自动转换MCP
- #2560Claude code mcp无法正常加载
- #2896日志明文记录mcp的token,存在安全隐患
- #3484Support Pi Agent MCP, Skills and Prompt Templates
- #4086vscode codex 插件没法读取 ccs 的 mcp,这是为什么
- #4493CC-Switch不支持MCP流式HTTP配置
- #5755[Codex] Responses → Chat Completions 转换时遗漏了 MCP Function Tool
- #6031codex mcp 注入失败
- #6767deeplink mcp 文档示例与 v3.20 实际行为不一致,导入保存阶段报错 MCP config must contain 'mcpServers' object
- #7382[Feature] 支持 OpenCode v2 正式版 (v2.0.x) 新配置格式:providers / mcp.servers / plugins / Server API
- Was it resolved later?
- One user reported that when an unusable MCP exists in the configuration, enable them one at a time to identify the entry, then disable or remove it.
- It is present in claude.json, but not in /mcp. What should I do?
- One user reported the same behavior and suggested enabling MCP servers one at a time, then disabling or removing the unusable configuration.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.