PHANTOM v4.0.0 DOCS
Website GitHub

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

  1. Open Cursor Settings > Feature > MCP.
  2. Click + Add New MCP Server.
  3. Name: Phantom.
  4. Type: command.
  5. 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.