PHANTOM v4.0.0 DOCS
Website GitHub

MCP Server

Phantom implements the Model Context Protocol (MCP), allowing IDE agents to use Phantom’s PM capabilities as tools.

What is MCP?

MCP is an open standard for connecting AI models to external data and tools. When Phantom runs as an MCP server, agents like Cursor, Windsurf, and Claude Desktop can call Phantom’s functions directly.

Starting the Server

phantom mcp start

Or run via stdio (for agent integration):

phantom mcp stdio

Available MCP Tools

ToolDescriptionInput
phantom_generate_prdGenerate a Product Requirements Document{ feature: string }
phantom_swarm_analyzeRun multi-agent consensus analysis{ question: string }
phantom_simulateRun a product simulation{ scenario: string }
phantom_discover_agentsScan for local AI agents{}
phantom_register_selfRegister Phantom with an agent{ target: string }
phantom_add_contextAdd project context{ key: string, value: string }
phantom_search_contextSearch project context{ query: string }
phantom_bridge_translateTranslate PM-speak to dev-speak{ input: string }

Auto-Registration

Register Phantom with all detected agents:

phantom register --all

This modifies each agent’s MCP configuration to include Phantom. For example, for Claude Desktop:

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "phantom": {
      "command": "phantom",
      "args": ["mcp", "stdio"]
    }
  }
}

Using Phantom Tools in Your IDE

After registration, your IDE agent can use Phantom tools. For example in Cursor:

"Use phantom_generate_prd to create a PRD for user authentication"

The agent will call Phantom’s MCP server, which generates the PRD and returns it to your IDE.