Wrap any Model Context Protocol (MCP) server in Cursor, Claude Desktop, or custom AI agents—export standard OpenTelemetry (OTLP) spans to SigNoz or Jaeger and redact/block leaked credentials with zero upstream code changes.
npx -y github:gyozomongo/mcp-otel-guard --mode redact --otlp http://localhost:4318 --service mcp-fs -- \
npx -y @modelcontextprotocol/server-filesystem .
Emits standard /v1/traces spans with mcp.tool.name, mcp.duration_ms, and error codes using Node's native fetch.
Recursively inspects JSON-RPC params and outputs in audit, redact, or block mode before secrets reach your LLM context.
Writes clean JSONL logs and aggregates per-tool p50/p95 latency, errors, and token overhead via mcp-otel-guard report.
| Capability | MIT Core (Free) | Pro Production Kit ($15) |
|---|---|---|
| Transparent stdio JSON-RPC proxy & OTLP exporter | Included | Included |
| Built-in 5 core secret rules (AWS, GitHub, LLM keys, PEM, JWT) | Included | Included |
| 20+ Enterprise secret, DB URI, path-traversal & destructive-cmd rules | Bring your own | Included (enterprise-rules.json) |
| Pre-built SigNoz v4 Dashboard JSON (latency, errors, tokens, leaks) | — | Included (signoz-mcp-dashboard.json) |
| GitHub Actions CI trace & p95 latency regression gate | — | Included (ci-replay-gate.mjs + workflow) |
| Docker Compose OTel Collector + Jaeger/SigNoz starter config | — | Included |