[BUG] Claude Code MCP Serve remains greyed out in Claude Desktop
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?
I have added Claude Code as mcp to claude desktop claude_desktop_config.json, but the mcp remains greyed out in claude desktop, I cannot enable it like other mcp's.
What am i missing here ?
<img width="369" height="39" alt="Image" src="https://github.com/user-attachments/assets/d4693481-ec6b-4620-a092-0ff620f4a3a1" />
I tried all ways to add the mcp
"claude-code": {
"type": "stdio",
"command": "claude",
"args": ["mcp", "serve"],
"env": {}
}
"claude-code": {
"type": "stdio",
"command": "path/claude",
"args": ["mcp", "serve"],
"env": {}
}
"claude-code": {
"type": "stdio",
"command": "npx",
"args": ["@anthropic-ai/claude-code","mcp", "serve"],
"env": {}
}
What Should Happen?
The mcp toggle should be enabled
Error Messages/Logs
Steps to Reproduce
Add claude code as mcp to claude desktop follow instructions at https://code.claude.com/docs/en/mcp#use-claude-code-as-an-mcp-server
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.21 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗