log-probe-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@log-probe-mcpDebug the intermittent checkout failure using runtime logs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
log-probe-mcp
An agent-agnostic MCP server for hypothesis-driven, runtime-data-backed debugging.
Point any MCP-compatible coding agent (Claude Code, Cursor, etc.) at it and say something like:
Debug this using the log-probe mcp — checkout returns the wrong cart for some users.
log-probe-mcp never edits your code. Instead it runs a local HTTP log-ingestion server, correlates incoming logs to specific executions (a script run, a test invocation, a request), and tracks hypotheses — so the calling agent can drive the classic debugging loop (form hypotheses → instrument → reproduce → analyze → converge) with real runtime data instead of guessing from static code, and without a human manually copy-pasting console output back into the chat.
How it works
The agent calls
probe_server_startto spin up a local HTTP server that accepts structured log events (POST /ingest).It records a debugging session and a few falsifiable hypotheses (
debug_session_create,hypothesis_create).It fetches the logging contract (
instrumentation_get_contract) and inserts a few log calls at the decision points that would distinguish between the hypotheses, using its own file-editing tools — log-probe-mcp only tells it what to send and where to send it, it never touches your source files itself.It reproduces the bug, either by running a script/test itself (
execution_run, which also captures stdout/stderr automatically) or by minting an execution for something already running (execution_create) and asking a human to trigger it.It reads the real data back (
execution_get_logs,execution_comparefor flaky/intermittent bugs) and marks each hypothesis confirmed/refuted with evidence (hypothesis_update).Once resolved, it applies the actual fix itself, removes the temporary instrumentation, and optionally writes a durable record (
knowledge_base_export,debug_session_resolve).
Call debug_workflow_guide (or use the debug MCP prompt, on clients that support prompts) for
the full step-by-step guidance an agent needs to run this loop well.
Related MCP server: vibe-debug
Installation / client config
{
"mcpServers": {
"log-probe": {
"command": "npx",
"args": ["-y", "log-probe-mcp"]
}
}
}For local development against a checkout of this repo, build it and point a client directly at
dist/bin.js:
{
"mcpServers": {
"log-probe": {
"command": "node",
"args": ["/absolute/path/to/log-probe-mcp/dist/bin.js"]
}
}
}Data (the SQLite store and any exported knowledge-base files) lives under .log-probe/ in the
project the agent is working in. Because MCP clients don't consistently launch servers with cwd
set to the project root, the authoritative source is, in priority order: the dataDir argument to
probe_server_start, the LOG_PROBE_DATA_DIR environment variable, then the server process's own
cwd.
Tool surface
Tool | Purpose |
| Ingestion server lifecycle |
| Track a debugging investigation |
| Track falsifiable hypotheses and their evidence |
| Mint/run/query correlated executions |
| The ingestion HTTP contract + ready-to-paste snippets per language |
| The hypothesis-driven methodology, full guide or per-stage |
| Writes a durable markdown record of a session |
Plus a debug MCP prompt for clients that support the prompts primitive — a thin wrapper around
debug_workflow_guide's content, so guidance is reachable via tools everywhere regardless of
prompt support.
Ingestion contract
Instrumented code sends a POST to <ingestion url>/ingest with a JSON body (single event, or an
array of up to 500 for batching):
{
"executionId": "exec_...",
"hypothesisId": "hyp_...",
"level": "info",
"message": "cache key computed",
"data": { "key": "route:/x" },
"source": "checkout.ts:88"
}executionId must already exist (minted via execution_create or execution_run) — this is what
correlation is built on. Instrumentation should always be fire-and-forget with a short timeout; see
instrumentation_get_contract for language-specific snippets that already do this correctly.
Known limitations
The ingestion server binds
127.0.0.1only and has no auth token — acceptable for a local dev tool, but don't run it anywhere multi-tenant or expose the port.One MCP server process serves one data directory for its lifetime; to point at a different project, restart/reconnect the client rather than changing
dataDirmid-session.
Example
examples/buggy-node-service/ is a small, intentionally-buggy HTTP server for trying the full
workflow end to end — see its README.
Development
npm install
npm run build # compiles to dist/ and copies the SQL migration
npm run dev # tsx watch, for iterating
npm run typecheck
npm test
npm run inspect # build + launch the MCP inspector against dist/bin.jsMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAggregates logs from multiple processes and provides an MCP server for AI agents to access, search, and manage logs in real-time.10591BSD 3-Clause
- AlicenseNot gradedqualityDmaintenanceEnables coding agents to use a real debugger (Python via debugpy) for launching, attaching, setting breakpoints, stepping through code, inspecting stack frames, and evaluating expressions through MCP tools.27MIT
- AlicenseAqualityBmaintenanceA read-only MCP server that exposes local coding-agent session logs as three tools for introspection of recent work, debugging tool failures, and tracking token usage and estimated cost without parsing log files.3MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that gives coding agents a persistent, chained memory of debugging investigations, tracking what's been tried, ruled out, and solved across sessions and scopes.8MIT
Related MCP Connectors
Agent Replay Debugger MCP — record every agent step + deterministic replay. Step-debugger for
Live browser debugging for AI assistants — DOM, console, network via MCP.
Shared debugging memory for AI coding agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/asynchroza/log-probe-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server