Install
Tools
| Tool | Inputs | Returns |
|---|---|---|
tail_log |
path, optional n (default 100) |
Last n parseable records, rendered in Logfmt. |
filter_log |
path, optional min_level, component, format |
Records matching every supplied filter, in the chosen LogFormat. |
summarize_errors |
path |
JSON map of component → error_count for ERROR-and-above records. |
Wire format
rlg-mcp speaks the MCP stdio transport — JSON-RPC 2.0,
one request per line on stdin, one response per line on stdout.
The protocol revision is 2025-06-18.
Quick smoke test
|
Client configurations
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"rlg": {
"command": "rlg-mcp"
}
}
}
Cursor
.cursor/mcp.json in the workspace root:
{
"mcpServers": {
"rlg": { "command": "rlg-mcp" }
}
}
mcp.run
Use the stdio server registration; supply rlg-mcp as
the executable and no arguments.
Limitations
- v0.0.9 only parses the canonical
LogFormat::JSONinput shape. MCP / OTLP / ECS / GELF transport-envelope parsing is tracked undercrates/rlg-cli/doc/INPUT-FORMATS.mdand lands incrementally — when it does,rlg-mcppicks the new input formats up automatically throughrlg-cli's shared parser. - No SSE / HTTP transport yet — stdio only.
License
Dual-licensed under Apache 2.0 or MIT, at your option.