Skip to content

[BUG] Claude Code MCP Serve remains greyed out in Claude Desktop #11319

Description

@gurvinder-dhillon

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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 ?

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions