Cursor integration
Capture prompts from Cursor
PCR captures Cursor prompts by watching the agent transcript JSONL files Cursor writes to disk, plus the Cursor SQLite session store. No Cursor settings change is required for basic capture.
File watcher (recommended)
Cursor stores agent transcripts at:
~/.cursor/projects/<project-slug>/agent-transcripts/<session-uuid>/<session-uuid>.jsonl
Run pcr init in your project and pcr start. That's it.
MCP integration (optional)
For per-call metadata, add the PCR MCP server to Cursor's settings:
- –Open Cursor Settings (
Cmd+,) - –Search for "MCP"
- –Add a new server: command
pcr, args["mcp"]
What's captured
| Field | Value |
|---|---|
| source | cursor |
| session_id | Cursor conversation UUID |
| prompt_text | Your message to the AI |
| response_text | The AI's response (thinking + answer) |
| model | e.g. claude-4.6-opus, when present in the transcript |
| branch | Captured from git at prompt time |
| changed_files | Computed from the in-memory diff tracker per response |
ℹ
Cursor's session store doesn't expose structured tool calls the way Claude Code's transcripts do, so the Tool calls sidebar pane reads (tool calls aren't captured for cursor) for cursor drafts. Changed-file attribution still works because PCR runs its own git status diff tracker against your registered repos.