MCP Servers
Phantom exposes its intelligence through the Model Context Protocol (MCP). This allows you to use Phantom’s context and tools directly inside your IDE or other AI assistants.
Supported IDEs
- Cursor: The AI-native code editor.
- Windsurf: The next-generation agentic IDE.
- Claude Desktop: Anthropic’s official desktop application.
Setup in Cursor
- Open Cursor Settings > Feature > MCP.
- Click + Add New MCP Server.
- Name:
Phantom. - Type:
command. - Command:
phantom server.
Setup in Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"phantom": {
"command": "phantom",
"args": ["server"]
}
}
}
Available Tools
Once connected, your IDE gains access to:
analyze_repository: Search and understand any codebase.generate_prd: Create requirements without leaving your editor.swarm_debate: Trigger a multi-agent debate on a specific file or feature.