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 watcher | MCP | |
|---|---|---|
| Setup | Zero config | Add to MCP config |
| Restart on config change | No | Yes |
| Metadata granularity | Per session | Per prompt |
| Recommended for | Everyone | Power users |
Cursor setup
Cursor MCP config
{
"mcpServers": {
"pcr": {
"command": "pcr",
"args": ["mcp"]
}
}
}Claude Code setup
claude mcp add pcr -- pcr mcp
Available tools
| Tool | Description |
|---|---|
pcr_log_prompt | Log a single prompt/response pair |
pcr_log_session | Log an entire session transcript at once |
pcr_status | Capture count and auth status for the current session |