pcr mcp

Run the MCP server for active integrations

pcr mcp

Starts a Model Context Protocol (MCP) server on stdio. When connected, AI tools can actively call PCR to log prompts with richer metadata.

MCP vs file watcher

File watcher (`pcr start`)MCP (`pcr mcp`)
SetupZero configAdd to MCP config
Requires restartNoOn config change
Metadata richnessSession-levelPer-prompt
Works without AI tool supportYesNo
Recommended forGetting startedPower users

Cursor setup

Add to your Cursor MCP settings (Settings → MCP):

Cursor MCP config
{
  "mcpServers": {
    "pcr": {
      "command": "pcr",
      "args": ["mcp"]
    }
  }
}

Claude Code setup

~/.claude/claude_desktop_config.json
{
  "mcpServers": {
    "pcr": {
      "command": "pcr",
      "args": ["mcp"]
    }
  }
}

Available MCP tools

ToolDescription
pcr_log_promptLog a single prompt/response pair
pcr_log_sessionLog an entire session transcript at once
pcr_statusCheck capture count for the current session