Read-only queries over Aileron audit journals: verify integrity, search recorded tool calls
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Aileron is a flight recorder for AI agents.
Not another tracer. Aileron produces a tamper-evident, replayable record of every tool call your agents make - evidence you can verify offline, not telemetry you have to trust.
aileron verify says exactly where
the chain broke.allow / alert / block actions, applied before execution via the
MCP stdio proxy or the SDK decorator. A blocked tool call never runs; the
attempt is logged anyway.The demo runs in the default digest-only mode: the destructive shell call is blocked by a content rule and flagged by the behavioral baseline, yet the journal on disk contains only argument digests - never the raw command.
| Feature | What you get |
|---|---|
| Hash-chained journal | Append-only JSONL; each event's prev_hash links to the previous event's SHA-256 hash; genesis is 0x00β¦00 |
| Signed checkpoints | Ed25519 signature over the chain tip, verifiable offline against the public key (aileron sign-checkpoint / verify-checkpoint). Checkpoints cover a prefix: appending later events never invalidates them; truncating or rewriting the signed prefix does |
| Policy rules | 32 bundled rules covering credential theft, cloud metadata abuse, exfiltration, supply chain, persistence, anti-forensics, database destruction, and prompt-injection artifacts. Sigma-like YAML; substring, regex, and dotted-key matchers. Rules are evaluated against the full call in memory, so content rules fire even in digest-only mode |
| Behavioral anomaly detection | Rolling baselines flag first-seen tools, rate spikes (>3x baseline), and novel tool-call sequences - live via the SDK (baseline=) or offline via aileron detect |
| MCP stdio proxy | Sits between any MCP client and server; logs and mediates every tools/call before it reaches the child process. Verified against the official filesystem and memory servers, not just test doubles |
| MCP server mode | aileron serve exposes your journals read-only, so an assistant can answer "what did the agent touch?" from the record. Listed in the official MCP Registry as io.github.aileron-sh/aileron |
| OTel GenAI export | Events export as gen_ai.*-aligned span dicts (aileron export) for your existing collector |
| HTML incident reports | Single file, inline CSS, no external assets, verification badge (VERIFIED / TAMPERED at seq N) |
| Privacy by default | Tool arguments/results are recorded as digests only, unless you opt in with --capture-content |
@track decoratorRules see the full arguments in memory at decision time; the journal still
stores digests only. Turn on capture_content=True only when you want raw
arguments persisted for forensics.
track_agent sessionWrap any MCP server. Every tools/call is logged and policy-checked before
the child process sees it:
A blocked call returns a JSON-RPC error (-32000: blocked by aileron rule <id>) to the client; the child is never invoked.
Verified against real MCP servers, not just test doubles. Aileron has been
run in front of the official @modelcontextprotocol/server-filesystem
(secure-filesystem-server 0.2.0, 14 tools) and @modelcontextprotocol/server-memory
(0.6.3, 9 tools): the handshake completes, tools list normally, real calls work,
a blocked write never reaches the server, and the journal verifies. That check
ships as a test (tests/test_real_mcp_server.py, run with
AILERON_LIVE_MCP=1).
The proxy itself costs well under a millisecond per tools/call.
Matching content rules against large payloads costs more, and how much is
yours to choose: see Performance for the split, measured.
The proxy speaks both newline-delimited and Content-Length-framed
JSON-RPC. Content rules
(tool.arguments_contains, _regex) work in the default digest-only mode -
--capture-content changes what is persisted, not what is enforced. Calls
still in flight when the child dies are journaled with status=error, so a
crash never erases the attempt.
Aileron sits in front of MCP servers. It is also one. Point it at a directory of journals and an assistant can read the record for you:
Three tools, all read only: verify_journal (is this record intact),
query_events (what happened, filtered by tool, status, or time), and
explain_rule (what does aileron-130 catch).
There is no write, delete, or sign tool, and there should never be. The agent being recorded is the untrusted party, so giving it a way to edit the journal would hand the suspect the evidence locker.
Four things follow from that, and they are the reason this is more than a
wrapper around aileron verify:
--root and only .jsonl opens. Otherwise
verify_journal(path) is an arbitrary file read.IGNORE PREVIOUS INSTRUCTIONS... is evidence to report, not an
instruction to follow.capture_content governs what the journal
stores. It never widens what this server hands back, and errors never echo
file contents.Dry-run rules against a recorded session: aileron rules test rules/ run.chain.jsonl
Tampering with any event breaks the hash link at the first modified
sequence; verify reports first_bad_seq and exits non-zero. The journal
is local-only and self-contained - verification needs no network and no
trusted third party.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/aileron-journal)<a href="https://allmcps.com/mcp/aileron-journal"><img src="https://allmcps.com/api/badge/aileron-journal?style=directory" alt="Aileron Journal on AllMCPs" /></a>