[BUG] /mcp slash command shows "No MCP servers configured" even when servers are connected
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Title: /mcp slash command shows "No MCP servers configured" even when servers are connected
Description:
The /mcp slash command displays "No MCP servers configured" even though MCP servers are properly configured and connected.
Running claude mcp list correctly shows the servers as connected and working.
Steps to reproduce:
- Configure an MCP server in a project's .claude.json under the mcpServers key
- Open Claude Code with that project
- Run claude mcp list in terminal
- Observe: Server shows as "✓ Connected"
Expected behavior:
The /mcp slash command should display the same MCP servers as claude mcp list.
Environment:
- OS: Windows 11
- Claude Code version: (latest)
- MCP server: stdio-based Python server
Workaround:
Using claude mcp add CLI command to add the server instead of relying on .claude.json config makes the server visible in both
places.
What Should Happen?
Show a list of mcp servers available to claude code
Error Messages/Logs
/mcp slash command shows "No MCP servers configured" even when servers are connected
Steps to Reproduce
/mcp slash command shows "No MCP servers configured" even when servers are connected
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.76 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Terminal.app (macOS)
Additional Information
/mcp slash command shows "No MCP servers configured" even when servers are connected
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗