Log Detective MCP
v0.7.0MCP server providing log snippet and Python traceback extraction tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract_log_snippets
Extract representative log snippets using Drain3 clustering. Analyzes log text by chunking it into logical messages, clustering similar messages using the Drain algorithm, and returning one representative snippet per cluster. Exactly one of log_text, log_path, or log_url must be provided. Downloaded inputs are limited to 100 MB. Compressed files (.gz, .bz2, .xz, .zip, .tar, .tar.gz, .tar.bz2, .tar.xz) are decompressed transparently. Archives must contain exactly one file. Compression ratios above 100:1 are rejected. Args: log_text: Raw log text t…
| Parameter | Type | Description |
|---|---|---|
context | integer | Number of surrounding lines to include. |
log_path | string | |
log_text | string | |
log_url | string | |
max_clusters | integer | |
max_snippet_len | integer | |
skip_patterns |
extract_python_tracebacks
Extract Python tracebacks using specialized heuristic. Analyzes log text and extracts unbroken Python tracebacks. Traces are truncated to `max_traceback_len` characters. Exactly one of log_text, log_path, or log_url must be provided. Downloaded inputs are limited to 100 MB. Compressed files (.gz, .bz2, .xz, .zip, .tar, .tar.gz, .tar.bz2, .tar.xz) are decompressed transparently. Archives must contain exactly one file. Compression ratios above 100:1 are rejected. Args: log_text: Raw log text to analyze. log_path: Path to a log file on disk.…
| Parameter | Type | Description |
|---|---|---|
context | integer | Number of surrounding lines to include. |
log_path | string | |
log_text | string | |
log_url | string | |
max_traceback_len | integer | |
skip_patterns |