MCP Debug Recorder logo

MCP Debug Recorder

Records debugging sessions, commands, errors, and fixes in searchable local SQLite storage for MCP clients.

Install MCP Debug Recorder

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-debug-recorder": {
      "command": "npx",
      "args": [
        "-y",
        "debug-recorder-mcp"
      ],
      "env": {
        "DEBUG_RECORDER_DB": "YOUR_VALUE_HERE",
        "HOST": "YOUR_VALUE_HERE",
        "DEBUG_RECORDER_REMOTE_HTTP": "YOUR_VALUE_HERE",
        "DEBUG_RECORDER_HTTP_TOKEN": "YOUR_VALUE_HERE",
        "DEBUG_RECORDER_ALLOWED_HOSTS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env DEBUG_RECORDER_DB=YOUR_VALUE_HERE --env HOST=YOUR_VALUE_HERE --env DEBUG_RECORDER_REMOTE_HTTP=YOUR_VALUE_HERE --env DEBUG_RECORDER_HTTP_TOKEN=YOUR_VALUE_HERE --env DEBUG_RECORDER_ALLOWED_HOSTS=YOUR_VALUE_HERE --transport stdio mcp-debug-recorder -- npx -y debug-recorder-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y debug-recorder-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

MCP Debug Recorder MCP server stores debugging sessions, commands, failed attempts, successful fixes, and incident context in a local SQLite database. It exposes MCP tools for recording, searching, reviewing, exporting, and importing debugging history, with FTS5 search and fuzzy reranking for messy logs and errors. Use it when an agent or developer needs durable local memory across recurring incidents. It runs over stdio and also supports optional local Streamable HTTP.

Use cases

  • Record commands and fixes while investigating an incident
  • Search prior sessions for recurring errors
  • Retrieve an AI-friendly summary of a debugging session
  • Export debugging history for backup or migration
  • Save reusable filters for recurring incident searches

Key features

  • Local SQLite session storage
  • FTS5 search with fuzzy reranking
  • Command, output, and fix tracking
  • Reusable search presets
  • JSON backup and validated import
  • Stdio and local Streamable HTTP transports

Tools18

What MCP Debug Recorder lets your agent do. Expand a tool for its parameters.

Self-reported~265 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

7/17 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · debug-recorder-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads242Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed18Callable tools this server registers over MCP.

How MCP Debug Recorder works

What MCP Debug Recorder MCP server does

The MCP Debug Recorder MCP server gives MCP clients a structured place to retain debugging history. Each session can represent an issue or incident and can include its title, description, tags, commands, command output, exit codes, attempted fixes, and final status. Sessions can be marked resolved or abandoned, edited, reviewed, or permanently deleted with explicit confirmation.

Data is stored in a local SQLite database rather than an external hosted service. The default database location is ~/.debug-recorder-mcp/sessions.db, while a custom path can be selected with DEBUG_RECORDER_DB. This makes the server suitable for retaining troubleshooting context on a developer workstation or within a local MCP setup.

How it works

A typical workflow starts with start_debug_session, followed by record_command for terminal activity and add_fix for each attempted remedy. update_session can revise the session metadata during investigation, and close_session records whether the issue was resolved or abandoned. get_session and get_session_context provide detailed or AI-oriented views of the stored record.

For retrieval, search_sessions combines SQLite FTS5 with fuzzy reranking. It supports pagination, related-session grouping, and optional Markdown output. find_similar_errors is intended for checking whether a comparable error has appeared previously. Repeated queries can be saved and managed with save_search_preset, list_search_presets, and remove_search_preset.

The MCP Debug Recorder MCP server also provides get_stats for aggregate history, get_diagnostics for a redacted operational snapshot, and backup operations through export_sessions and import_sessions. JSON exports contain sessions, fixes, and commands; summary exports provide abbreviated rows and statistics but are not restore payloads.

Setup and configuration

The package requires Node.js 22 LTS or 24 LTS and npm 10 or newer. The basic launch command is:

Terminal
npx debug-recorder-mcp

Desktop MCP clients can start it with the npx command and debug-recorder-mcp argument. VS Code uses a .vscode/mcp.json entry with a stdio server definition. The repository also provides an HTTP start command:

Terminal
npm run start:http

HTTP mode provides GET /health, GET /version, and the MCP endpoint at POST /mcp. By default, it binds to 127.0.0.1. Deliberate non-loopback exposure requires HOST, DEBUG_RECORDER_REMOTE_HTTP, DEBUG_RECORDER_HTTP_TOKEN, and DEBUG_RECORDER_ALLOWED_HOSTS to be configured together as described by the project.

Tools and capabilities

The available tools cover the full recording lifecycle:

  • Create, edit, close, inspect, list, and delete debug sessions.
  • Store commands, output, exit codes, and fix attempts.
  • Search history with full-text and fuzzy matching.
  • Find related errors and retrieve session context.
  • Save, list, and remove reusable search presets.
  • Review statistics and redacted diagnostics.
  • Export full JSON backups or summary inventories, then import validated exports.

Limitations and notes

The MCP Debug Recorder MCP server is designed around local SQLite storage and does not require an external database or hosted service. HTTP mode has additional host, origin, token, and request-size controls; exposing it beyond loopback should be treated as an explicit configuration choice. delete_session is destructive and requires confirmation. Summary exports are for inventory and review, not restoration.

Review the project’s security documentation before deciding how to record sensitive command output, logs, or incident details.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Debug Recorder

MCP Debug Recorder is an MCP server that connects MCP clients to local SQLite storage for debugging history. Its main tools create and update sessions, record commands and fixes, search prior errors, retrieve session context, inspect statistics, and export or import records. It supports stdio and optional local Streamable HTTP transport.

Run `npx debug-recorder-mcp` with Node.js 22 or 24 LTS and npm 10 or newer. The default database is created at `~/.debug-recorder-mcp/sessions.db`; set `DEBUG_RECORDER_DB` before the command to use another path.

It documents a standard stdio MCP configuration and describes support for desktop MCP clients, so compatibility depends on whether the client supports that standard configuration.

Call `export_sessions` with `format: "json"` to produce a full backup containing sessions, fixes, and commands. Pass that exported object as the `payload` to `import_sessions` when restoring. The `summary` format is an inventory only and cannot restore data.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Debug Recorder AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-debug-recorder?style=directory)](https://allmcps.com/mcp/mcp-debug-recorder)
HTML Embed
<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>