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`) | |
|---|---|---|
| Setup | Zero config | Add to MCP config |
| Requires restart | No | On config change |
| Metadata richness | Session-level | Per-prompt |
| Works without AI tool support | Yes | No |
| Recommended for | Getting started | Power 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
| Tool | Description |
|---|---|
pcr_log_prompt | Log a single prompt/response pair |
pcr_log_session | Log an entire session transcript at once |
pcr_status | Check capture count for the current session |