AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

Rlg

mcp-sebastienrousseau-rlg · by sebastienrousseau

Near-lock-free structured logging for Rust — plus rlg-mcp (Model Context Protocol server exposing log streams as tools to Claude Desktop, Cursor & other MCP clients), CLI tooling, OTLP exporter, tower middleware, WebAssembly bindings, PII redaction.

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add mcp-sebastienrousseau-rlg

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-sebastienrousseau-rlg)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Rlg? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

rlg — RustLogs

Near-lock-free structured logging for Rust, plus an ecosystem of companion crates: CLI tooling, MCP server, OTLP exporter, tower middleware, WebAssembly bindings, PII redaction, test utilities, and aggregation reports.


This is the Cargo workspace root. The library lives at [crates/rlg](crates/rlg). Ten companion crates ship from this workspace, all at lockstep version 0.0.11.

The rlg ecosystem

| Crate | What it does | Use case | |---|---|---| | [rlg](crates/rlg/README.md) | Near-lock-free structured logging engine. 65k-slot ring buffer, deferred formatting, 14 output formats, native OS sinks (os_log via syslog(3), journald). | Embed structured logging in any Rust binary or library. | | [rlg-cli](crates/rlg-cli/README.md) | rlg binary — jq for structured logs. Tail, filter, convert across all 14 formats. | Pipe my-service \| rlg --min-level error --format ecs from the shell. | | [rlg-mcp](crates/rlg-mcp/README.md) | Model Context Protocol server exposing rlg streams as tools to LLM agents. | Claude Desktop, Cursor, mcp.run agents reading your logs. | | [rlg-otlp](crates/rlg-otlp/README.md) | OpenTelemetry network exporter (OTLP/HTTP JSON). | Ship records to Honeycomb, Datadog, Tempo, Jaeger, otelcol. | | [rlg-tower](crates/rlg-tower/README.md) | tower::Layer emitting per-request structured access logs. | axum, tonic, hyper, lambda_runtime — any tower::Service. | | [rlg-wasm](crates/rlg-wasm/README.md) | wasm-bindgen wrapper for browser / Deno / Cloudflare Workers / Bun, plus a WASI 0.2 component interface for wasmtime hosts. | Structured logging from JS or WASI 0.2 components. | | [rlg-redact](crates/rlg-redact/README.md) | PII / secret redaction between Log::fire() and the sink. Aho-Corasick fused alternation regex. | Compliance, GDPR, audit-trail safety. Built-in patterns for cards, JWTs, bearers, emails, IPs, AWS keys. | | [rlg-test](crates/rlg-test/README.md) | Test utilities — capture rlg records in a #[test] scope and assert on them with assert_logged!. | Downstream library tests verifying their structured log output. | | [rlg-report](crates/rlg-report/README.md) | Log digest / analytics: count by level, top components, top errors, latency percentiles. CLI + library mode. | Operational dashboards, daily error reports, oncall triage. | | [rlg-ebpf](crates/rlg-ebpf/README.md) | Enricher trait + ProcessEnricher (portable) + EbpfEnricher scaffold (Linux, behind the ebpf feature) for automatic PID / process-name attributes. | Automatic host-level context on every record without app code changes. | | xtask (internal, unpublished) | cargo xtask check-all / coverage / audit / doc / examples / bench / release. | Maintainer automation. |

Install one, install all

[dependencies]
rlg         = "0.0.11"
rlg-otlp    = "0.0.11"  # ship to an OTLP collector
rlg-tower   = "0.0.11"  # HTTP middleware
rlg-redact  = "0.0.11"  # PII redaction

[dev-dependencies]
rlg-test    = "0.0.11"  # assertions in your tests

CLI binaries:

cargo install rlg-cli       # the `rlg` binary
cargo install rlg-mcp       # the `rlg-mcp` MCP server
cargo install rlg-report    # the `rlg-report` digest tool

Workspace layout

.
├── Cargo.toml            # workspace manifest (profiles, members)
├── README.md             # ← you are here
├── CHANGELOG.md / CONTRIBUTING.md / SECURITY.md
├── LICENSE-{APACHE,MIT}
├── crates/
│   ├── rlg/              # core library
│   ├── rlg-cli/          # `rlg` binary + filter/render lib
│   ├── rlg-mcp/          # MCP server
│   ├── rlg-otlp/         # OTLP/HTTP exporter
│   ├── rlg-tower/        # tower::Layer
│   ├── rlg-wasm/         # wasm-bindgen + WASI 0.2 component
│   ├── rlg-redact/       # PII / secret scrubber (Aho-Corasick)
│   ├── rlg-test/         # test utilities
│   ├── rlg-report/       # log digest binary + lib
│   ├── rlg-ebpf/         # Enricher trait + eBPF (Linux) scaffold
│   └── xtask/            # internal automation (publish = false)
└── .github/
    └── workflows/
        ├── ci.yml        # delegates to sebastienrousseau/pipelines
        └── release.yml   # workspace-aware crates.io publisher

Quick links

  • Core docs: [crates/rlg/README.md](crates/rlg/README.md) · docs.rs/rlg
  • Contributing & signing policy: [CONTRIBUTING.md](CONTRIBUTING.md)
  • Security policy: [SECURITY.md](SECURITY.md)
  • Release notes: [CHANGELOG.md](CHANGELOG.md)

License

Dual-licensed under Apache 2.0 or MIT, at your option.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.