pcr mcp

Run the MCP server for active integrations

pcr mcp

Starts a Model Context Protocol (MCP) server on stdio. AI tools that support MCP can call PCR's tools directly to log prompts with richer per-call metadata than the file watcher captures.

The MCP server is being rewritten in v0.2.x and currently exits with code 50 (NotImplemented). Use the file watcher (pcr start) for now.

MCP vs file watcher

File watcherMCP
SetupZero configAdd to MCP config
Restart on config changeNoYes
Metadata granularityPer sessionPer prompt
Recommended forEveryonePower users

Cursor setup

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

Claude Code setup

claude mcp add pcr -- pcr mcp

Available tools

ToolDescription
pcr_log_promptLog a single prompt/response pair
pcr_log_sessionLog an entire session transcript at once
pcr_statusCapture count and auth status for the current session