@craftpipe/agent-session-replay
v1.0.0
Published
MCP server that captures, indexes, and replays AI coding agent sessions across Claude Code, Cursor, Codex, and other tools. Built with AI by Craftpipe
Readme
Agent Session Replay
Capture, index, and replay AI coding agent sessions — learn from past decisions, extract reusable patterns, and audit workflows.
An MCP server that gives AI coding agents persistent memory for their own sessions. Record decisions, search past workflows, replay sessions step-by-step, and extract reusable patterns — so your AI never repeats the same mistakes.
Quick Start
npx agent-session-replayClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"agent-session-replay": {
"command": "npx",
"args": ["-y", "agent-session-replay"]
}
}
}Cursor / Windsurf
Same JSON format in your MCP settings.
Tools
Free (8 tools)
| Tool | Description |
|:-----|:------------|
| start_session | Begin capturing a new agent session with metadata and context |
| stop_session | End the current session and finalize recording |
| log_decision | Record a decision point with reasoning and outcome |
| search_sessions | Query past sessions by keywords, date range, or tags |
| replay_session | Step through a recorded session for auditing and learning |
| extract_pattern | Identify reusable patterns from one or more sessions |
| get_session_diff | Compare two sessions to find differences in approach |
| scan_from_url | Import session data from a remote source |
Pro (3 tools)
| Tool | Description |
|:-----|:------------|
| audit_log | Full audit trail of all session operations with timestamps |
| data_export | Export sessions to JSON, CSV, or markdown for external analysis |
| advanced_queries | Complex queries: cross-session pattern matching, decision trees, outcome correlation |
Free vs Pro
| Feature | Free | Pro | |:--------|:----:|:---:| | Session capture and replay | ✓ | ✓ | | Decision logging | ✓ | ✓ | | Full-text search | ✓ | ✓ | | Pattern extraction | ✓ | ✓ | | Session diff | ✓ | ✓ | | Audit trail | | ✓ | | Data export (JSON/CSV/MD) | | ✓ | | Advanced cross-session queries | | ✓ |
Get Pro: Set PRO_LICENSE to unlock premium tools.
→ craftpipe.dev/pricing
License
MIT — see LICENSE
Built with AI by Craftpipe
