log-probe-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_PROBE_DATA_DIR | No | Overrides the directory where SQLite store and exported knowledge-base files are saved. If not set, the server uses its current working directory (`.log-probe/`). The `dataDir` argument to `probe_server_start` takes precedence if provided. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| probe_server_startA | Starts the local HTTP log-ingestion server that instrumented code sends structured log events to. Must be called before any code can be instrumented or executions run. Also lazily opens the .log-probe/ SQLite storage for this project on first call. |
| probe_server_stopA | Stops the local HTTP log-ingestion server. Stored sessions/hypotheses/logs are unaffected. |
| probe_server_statusA | Reports whether the ingestion server is running, its URL, and basic counters. |
| debug_session_createA | Starts a new hypothesis-driven debugging session for a bug. All hypotheses and executions are tracked under a sessionId. Call this first, before creating hypotheses or executions. |
| debug_session_listB | Lists debugging sessions, most recently updated first. |
| debug_session_getA | Fetches full detail for a session: its hypotheses and execution summaries. Use format=markdown for a human-readable rendering. |
| debug_session_resolveA | Closes out a debugging session once the root cause is found and fixed (or the investigation is abandoned). Call knowledge_base_export first if you want a written record of the investigation. |
| execution_createA | Mints a new executionId for a process/request/test run you will trigger yourself (already running externally, or you'll reproduce it manually). Instrumented code must include this executionId in every log event it POSTs to the ingestion server. Requires probe_server_start to have been called first. For processes you want log-probe-mcp to launch and capture directly, use execution_run instead. |
| execution_runA | Spawns |
| execution_endA | Records the outcome of an execution that log-probe-mcp could not observe exiting on its own (i.e. one created via execution_create, not execution_run). |
| execution_listA | Lists executions for a debugging session with log-count summaries, most recent first. |
| execution_get_logsA | Fetches the structured logs recorded for a single execution, in chronological order, optionally filtered by hypothesis, level, time range, or a text search over the message. |
| execution_compareA | Diffs two executions' logs, grouped by normalized (source, level, message) so it tolerates differing data payloads (timestamps, ids). Returns log lines only present in A, only present in B, and lines common to both with their counts. This is the tool for flaky-test-style debugging: run the same thing repeatedly with execution_run, then compare a failing run against a passing one to isolate exactly what diverged. |
| hypothesis_createA | Records a falsifiable hypothesis about the root cause of a bug within a debugging session. Form several distinct, competing hypotheses rather than one — the point of instrumentation is to gather evidence that can confirm some and refute others. |
| hypothesis_updateA | Marks a hypothesis confirmed/refuted/inconclusive based on evidence gathered from logs, and/or links it to the execution(s) that provided that evidence. This is the durable record that knowledge_base_export later turns into a written debugging knowledge base. |
| hypothesis_listA | Lists hypotheses for a debugging session, oldest first. |
| instrumentation_get_contractA | Returns everything needed to instrument target code: the live ingestion endpoint (or a placeholder if probe_server_start hasn't been called yet), the LogEvent JSON schema, the env vars execution_run/execution_create inject, and ready-to-paste snippets per language. Use this before inserting any instrumentation so calls match the contract exactly. |
| debug_workflow_guideA | Explains how to debug using log-probe-mcp: reconnaissance, forming falsifiable hypotheses, instrumenting code, reproducing, analyzing real runtime data, converging on a root cause, and resolving. Call with no arguments for the full guide, or a specific stage once underway. Read this before starting a debugging session if you haven't used log-probe-mcp before. |
| knowledge_base_exportA | Writes .log-probe/knowledge/.md summarizing the root cause, confirmed/refuted hypotheses with evidence, and notable executions for a session, and refreshes .log-probe/knowledge/INDEX.md linking every exported session. This is the durable, written record analogous to a hand-maintained debugging notes file — call it once a session has reached a conclusion (or is being abandoned) so the investigation isn't lost. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| debug | Start (or resume) hypothesis-driven, ingestion-backed debugging with log-probe-mcp. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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