Import MCP Servers from Claude Desktop
A new command has been added to seamlessly import MCP server configurations from Claude Desktop:
claude mcp add-from-claude-desktop
This command:
- Automatically detects Claude Desktop installations on macOS and WSL
- Presents an interactive multi-select interface to choose which servers to import
- Handles naming conflicts by adding numbered suffixes when servers with the same name already exist
- Shows visual indicators for servers that already exist in your configuration
Example interaction:
┌─ Import MCP Servers from Claude Desktop ─────────────────────┐
│ Import MCP Servers from Claude Desktop │
│ Found 3 MCP servers in Claude Desktop. │
│ Note: Some servers already exist with the same name. │
│ Please select the servers you want to import: │
│ │
│ > [✓] filesystem-server │
│ [ ] github-server (already exists) │
│ [✓] postgres-server │
└───────────────────────────────────────────────────────────────┘
Space to select · Enter to confirm · Esc to cancel
Add MCP Servers as JSON Strings
You can now add MCP servers directly using JSON configuration:
claude mcp add-json <name> <json>
This allows you to quickly configure servers by passing their JSON configuration directly on the command line.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Import MCP servers from Claude Desktop with claude mcp add-from-claude-desktop