Agent Replay MCP server
Record and replay AI agent execution for debugging
0 stars44 downloads/wk
Reviews
Write oneNobody has reviewed Agent Replay yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Agent Replay tools (8)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_sessionsBehavioral diff between two sessions. Aligns by step, highlights differences in types, inputs, outputs, and timing.
export_sessionExport session as JSON or markdown transcript for sharing and offline analysis.
find_divergence_pointFind where an agent first deviated from expected output. Accepts per-step array or single expected value.
health_checkReturns server health, uptime, version, and call stats
log_actionLog a single action during a recording session. Captures input, output, reasoning, and timing.
record_sessionStart recording all actions for an agent session. Returns a session_id to use with log_action.
replay_sessionReplay a recorded session step by step with full action detail, timing, and reasoning.
stop_recordingStop recording and return session summary with action count, duration, and type breakdown.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan9 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 156 days ago8/15
- Maintainer identityregistry namespace matches repository owner6/10
How Agent Replay compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 4,460 AI and agents servers
- Tools
- 8
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 44
- more than 36% of 1,538 AI and agents servers with a package
What its tools let an agent do: 7 read · 1 run or deploy
Install Agent Replay in Claude Code, Cursor or VS Code
Runs npx -y agent-replay-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add agent-replay -- npx -y agent-replay-mcp
What the publisher says
From the Agent Replay repository's README, as published. We do not edit it. Read it on GitHub
agent-replay-mcp
MCP server for agent session recording and replay — debug non-deterministic agent behavior with session comparison and divergence detection.
Record every action an agent takes, replay sessions step by step, diff two runs to find behavioral regressions, and pinpoint exactly where an agent diverged from expected output.
Install
npx agent-replay-mcpClaude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"agent-replay": {
"command": "npx",
"args": ["agent-replay-mcp"]
}
}
}From source
git clone https://github.com/mdfifty50-boop/agent-replay-mcp.git
cd agent-replay-mcp
npm install
node src/index.jsTools
record_session
Start recording all actions for an agent session.
Returns a session_id for use with other tools.
stop_recording
Stop recording and return a session summary.
Returns: action count, total duration, action type breakdown.
log_action
Log a single action during a recording session.
replay_session
Replay a recorded session step by step with full action detail.
Returns: complete action sequence with timing, reasoning, inputs, and outputs.
compare_sessions
Behavioral diff between two sessions. Aligns actions by step index and highlights differences.
Returns: similarity ratio, identical/divergent step counts, first divergence step, and per-step diffs.
finddivergencepoint
Find where an agent first deviated from expected output.
If expected_output is an array, compares step by step. If a single value, finds the last matching output and flags the next step as the divergence point.
export_session
Export a session for sharing and offline analysis.
Markdown format produces a readable transcript with step headers, reasoning, and code blocks.
Resources
Usage Pattern
1. record_session — start recording at agent launch
2. For each agent action:
- log_action — capture input, output, reasoning, timing
3. stop_recording — finalize the session
4. Debug:
- replay_session — review what happened step by step
- compare_sessions — diff today's run vs yesterday's
- find_divergence_point — pinpoint where it went wrong
5. Share:
- export_session — JSON for tooling, markdown for humansTests
npm testLicense
MIT
Nothing above is checked by us. What we check is on the safety report.
Agent Replay: common questions
- Is Agent Replay MCP server safe?
- Mostly: it is graded B (78/100). Read the Agent Replay safety report
- How do I install Agent Replay?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Agent Replay need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Agent Replay maintained?
- The last commit was 194 days ago (2026-04-24). The latest release is v0.1.1.
- What can I use instead of Agent Replay?
- Servers from other publishers that do the same job: Mockserver MCP server, Decionis MCP server and Orcareplay MCP server.
- How does Agent Replay compare with other AI and agents MCP servers?
- safety score 78/100 (higher than 57% of 4,460 AI and agents servers); tools 8 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Agent Replay
Same job from other publishers: the closest match first, then the best rated.
- MockserverMock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.not reviewedEstablishedA
- DecionisAuthorize consequential AI agent actions before executionnot reviewedEstablishedA
- OrcareplayRead, replay and fork recorded coding-agent runs.not reviewedEstablishedA
- CHAP CoordinatorAuditable records of human decisions over AI agent work. Approvals, edits, overrides, escalations.not reviewedEstablishedA
- three.ws ProvenanceAppend-only, signed, on-chain-verifiable agent action log — record and audit what agents did.not reviewedEstablishedB