MCP server not showing in Claude Code or Codex? Find out which of three problems you have A troubleshooting guide lays out three distinct failure modes for MCP servers that appear broken in Claude Code or Codex — a server missing from the list, a server that fails to start, or a server that needs authentication — and gives the specific commands and config locations for each. It notes that Claude Code stores servers in ~/.claude.json or a project's .mcp.json while Codex uses ~/.codex/config.toml, and that the two tools never read each other's files. Common startup failures trace to PATH differences for node, npx, uvx or docker, and can be addressed with the MCP_TIMEOUT variable in Claude Code or startup_timeout_sec in Codex. "The MCP server is not working" can mean three different things, and each has a different fix. Before you edit any configuration, find out which one you have: | | Claude Code | Codex | |---|---|---| | List servers | claude mcp list , or /mcp in a session | codex mcp list , or /mcp in the TUI | | Add a local server | claude mcp add