Install
Requires Rust 1.88.0 or newer (edition 2024).
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.11 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.
Related MCP Servers
Sibling developer-tools MCP servers by the same author — open-source, Apache-2.0 / MIT dual-licensed, targeting AI agents that need structured access to code, config, and observability data:
| Server | Purpose |
|---|---|
noyalib-mcp |
Lossless YAML 1.2 parsing, formatting & validation (Rust, 100% spec compliance) |
pain001-mcp |
Generate & validate ISO 20022 pain.001 payment initiation files |
bankstatementparser-mcp |
Parse bank statements (BAI2, MT940/MT942, CAMT.053, OFX, CSV) |
camt053-mcp |
Parse & reconcile ISO 20022 camt.053 bank-to-customer statements |
acmt001-mcp |
Generate & validate ISO 20022 acmt.001 account management messages |
MCP Registry
mcp-name: io.github.sebastienrousseau/rlg-mcp
License
Dual-licensed under Apache 2.0 or MIT, at your option.