Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Local-first debug memory for MCP clients.
Record incidents, commands, failed attempts, successful fixes, diagnostics, and searchable debugging history in SQLite.
Published docs Β· Usage Β· Client recipes Β· Security Β· Release flow
Debugging knowledge usually disappears into chat windows, terminals, and commit history. debug-recorder-mcp gives MCP-enabled agents and IDEs a durable local memory so they can answer:
βHave I fixed this before?β
It stores each debugging session, error, command, attempted fix, working fix, tags, and context in a local SQLite database. Search combines SQLite FTS5 with fuzzy reranking, reusable presets, pagination metadata, related-session groups, and optional Markdown exports.
get_diagnostics returns redacted runtime, schema, package, and health signals for support without leaking raw paths, tokens, stack traces, or command output.Requires Node.js 22 LTS or 24 LTS and npm 10+.
Default database path:
Use a custom database path:
Create or update .vscode/mcp.json:
More setup examples are in Client setup recipes.
| Tool | Purpose |
|---|---|
start_debug_session | Start tracking a new issue or incident. |
add_fix | Record a failed or successful fix attempt. |
record_command | Save a command, output, exit code, and session link. |
close_session | Mark a session as resolved or abandoned. |
update_session | Edit title, description, or tags. |
delete_session | Permanently delete a session with explicit confirmation. |
search_sessions | Search history with FTS5, fuzzy reranking, pagination, related groups, and optional Markdown export. |
save_search_preset | Store a reusable query, filters, and limit. |
list_search_presets | List saved search presets. |
remove_search_preset | Remove a saved search preset by name. |
find_similar_errors | Ask whether a similar error has appeared before. |
get_session | Fetch full details, fixes, and commands. |
get_session_context | Get an AI-friendly session summary. |
list_sessions | Browse sessions with filters. |
get_stats | Summarize debug history. |
get_diagnostics | Return a redacted operational diagnostics snapshot. |
export_sessions | Export a full JSON backup or a lightweight summary inventory. |
import_sessions | Import a validated export payload. |
Ask your MCP client:
I am getting
TypeError: Cannot read properties of undefined. Have I seen this before?
The client can call find_similar_errors, then inspect the best match with get_session_context.
start_debug_session with the problem title and error details.record_command.add_fix.update_session.close_session.export_sessions with format: "json". The response is marked with
format: "json" and contains the full sessions, fixes, and commands
arrays.import_sessions.payload.For a lightweight inventory, call export_sessions with format: "summary".
Summary responses are marked with format: "summary", include aggregate
stats and abbreviated session rows, and are not restore payloads.
The package also supports local Streamable HTTP:
Useful routes:
GET /healthGET /versionPOST /mcpHTTP mode is local-first by default. It binds to 127.0.0.1, creates an isolated stateless MCP server/transport per request, validates Host, validates browser Origin when present, and enforces a JSON body-size limit before the MCP transport receives the request.
For deliberate non-loopback exposure, set all of these:
Wildcard origins are rejected for remote mode. The static bearer token is private/shared-secret mode: every caller shares one identity, one authority level, and one SQLite dataset. It is suitable for loopback, an encrypted trusted network, or a private authenticating proxy, but it is not OAuth and does not provide per-user scopes or revocation.
Public multi-user HTTP is not supported by the current release. The accepted target architecture uses an external authorization server and MCP-aware gateway with protected-resource discovery, audience-bound tokens, scopes, rate limits, audit events, and subject-aware storage. See Public HTTP authorization and ADR-0006.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-debug-recorder)<a href="https://allmcps.com/mcp/mcp-debug-recorder"><img src="https://allmcps.com/api/badge/mcp-debug-recorder?style=directory" alt="MCP Debug Recorder on AllMCPs" /></a>