io.github.loopg/pramana-mcp
A read-only MCP server for inspecting what Pramana recorded from your production AI agent runs and for verifying signed evidence bundles offline.
list_traces— list recorded agent runs, optionally filtered by agent, status, or time range.get_trace— inspect one run: steps, model calls, tool calls with arguments, and outcome (long payloads truncated, and the response says so).list_model_diffs— list comparison runs that checked a prompt or model change against recorded production traces.get_model_diff— get one comparison's findings: bucket counts, root findings, then consequents (never merged); optionaltrace_idmakes it much faster.verify_bundle— verify a Pramana signed evidence bundle offline, no account or network required;public_key_pathis required, and a pass proves the bundle is unaltered, not complete.Read-only by design — no tool can start a replay or comparison, since those call the model for real and cost money; that stays a CLI verb behind its own confirmation gate.
Known limits surfaced, not hidden — there is no account-wide diff endpoint, so diff listing walks only the 20 most recent traces (and
agentfiltering does too); every response says so in anotesfield.Cloud tools need a key — an engineer or admin
PRAMANA_API_KEY(auditor keys never receive recorded prompts/responses);verify_bundleneeds none.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.loopg/pramana-mcp what changed when we moved to the new model last Tuesday?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pramana MCP server
mcp-name: io.github.loopg/pramana-mcp
Decide whether a prompt or model change is safe to ship, by running it against your own production runs.
Pramana is a flight recorder for AI agents. It records every non-deterministic decision your agent makes in production, replays any past run exactly against your changed code, and reports which decisions moved — not which sentences got reworded.
This MCP server lets an assistant read what Pramana recorded, and check a signed evidence bundle offline. It is read-only. There is deliberately no tool that starts a replay or a comparison: a sandboxed batch calls the model for real on every trace, so it spends money, and an MCP tool is a button any assistant can press without a person deciding. Producing a comparison stays a CLI verb behind its own confirmation gate.
Install
Nothing to install — uvx fetches it on demand.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"pramana": {
"command": "uvx",
"args": ["pramana-mcp"],
"env": {
"PRAMANA_API_KEY": "<your-engineer-or-admin-api-key>"
}
}
}
}Claude Code
$ claude mcp add pramana --env PRAMANA_API_KEY=<your-engineer-or-admin-api-key> -- uvx pramana-mcpCreate a key in Settings → API keys at reliai.in. Use an engineer
or admin key — an auditor key deliberately never receives recorded prompts or responses, so
get_trace would come back empty. Self-hosting? Set PRAMANA_API_URL to your own API.
Related MCP server: io.github.aileron-sh/aileron
Tools
list_traces
List recorded AI agent runs (traces) captured by Pramana, optionally filtered by agent, status or time range.
"What agent runs did we record last Tuesday?"
{ "agent": "refund-agent", "since": "2026-09-22T00:00:00Z", "limit": 20 }get_trace
Get one recorded agent run: its steps, model calls, tool calls with arguments, and outcome.
"Walk me through what the agent did in run loan-07 — which tools did it call, and with what?"
{ "trace_id": "loan-07-5a6eef" }Long payloads are truncated, and the response says so rather than looking complete.
list_model_diffs
List comparison runs that checked a prompt or model change against recorded production runs.
"Have we compared anything against production since the model upgrade?"
{ "since": "2026-09-20T00:00:00Z", "limit": 20 }get_model_diff
Get the findings of one comparison run: which decisions changed behaviourally, which were cosmetic, and which runs halted.
"What changed when we moved to the new model last Tuesday?"
{ "diff_id": "mdr_9f2c1a", "trace_id": "loan-07-5a6eef" }Returns bucket counts first, then root findings, then consequent ones — never merged. One
root cause that produced forty downstream differences is one thing to investigate, not forty.
Passing trace_id is optional but much faster (see What the API could not do below).
verify_bundle
Verify a Pramana signed evidence bundle offline, with no account and no network access.
"Here's the evidence bundle the vendor sent. Is it intact?"
{ "bundle_path": "./bundle.json", "public_key_path": "./pramana-public-key.txt" }public_key_path is required. The public key shipped inside a bundle is never used to check
that same bundle — that would defeat the point.
A pass proves the bundle has not been altered since it was signed. It does not prove that what was captured was everything that happened. This is a proof of record, not a judgement of conduct.
What the API could not do
Two tools are worse than they should be, and it is the API's fault rather than a design choice:
There is no account-wide endpoint for comparison runs. They are only reachable per trace (
/v1/traces/{id}/model-diffs), solist_model_diffsand aget_model_diffwithouttrace_idwalk the 20 most recent traces. A comparison against an older trace will not be found. Every response says so in anotesfield rather than quietly returning a short list. The bound is 20 rather than something larger because the walk is that many sequential round trips: measured against the production API, 50 took 6.0s and 20 takes 2.4s./v1/tracesreturnsagent_count, not agent ids, so filtering byagentmeans opening each trace. That filter is applied to the 20 most recent traces only, and says so.
Limitations
These are the same limitations as the SDK. They are not softened for a registry listing.
You cannot import existing conversation logs. Replay needs the execution trace, and a transcript does not carry one. Your corpus starts the day you instrument.
It reports that a decision changed, never whether the change is good. Judging a changed decision is your call.
Sandboxing only covers tool calls you wrapped. In a sandboxed batch the tool calls you have wrapped are served from the recording and never executed, and the model is called for real because the new model is the thing you are testing. In a plain replay, nothing leaves the process at all: outbound network access is blocked at the process level, below whatever HTTP client you use. A tool call you did not wrap is invisible to Pramana and will execute normally, once per trace — the CLI prints how many wrapped tool call sites it found before a batch runs, and what that means multiplied across the batch.
Python only. No JavaScript or TypeScript SDK.
The OpenAI and Anthropic clients are supported. Azure OpenAI and
AnthropicBedrockare routed to those adapters and covered by tests; neither has been exercised against live cloud credentials. Rawboto3is not supported.LangChain is tested. LangGraph, CrewAI and LlamaIndex are not, and are not supported.
No SOC 2, no penetration test, no uptime SLA, no on-premise deployment.
The evidence public key is not yet published at a stable URL.
verify_bundleruns offline and needs no account, but today you still obtain the key from us — which is not the same as independent verification, and is not claimed as such.
Sample evidence bundles
evidence-samples/ holds two signed bundles, a tampered copy of each, and the key that checks
them. No account, no network. The key is sample-public-key.txt in that directory — a separate,
sample-only key, not the one a production deployment publishes at
/.well-known/pramana-evidence-public-key:
$ pip install 'pramana-verify>=0.0.6'
$ pramana-verify evidence-samples/production-run.json \
--pubkey evidence-samples/sample-public-key.txt
OK — 2 event(s), merkle_root=6ec957f1ec1443e56c01bab5440df06cfbdd6bbd67c9e8c35398d02d1a840a3a
$ pramana-verify evidence-samples/production-run.TAMPERED.json \
--pubkey evidence-samples/sample-public-key.txt
TAMPERED / INVALID:
- payload 535f17dac0ea...: content does not hash to its reference — this recorded prompt or response was tampered withevidence-samples/FORMAT.md is the field-by-field specification. Those files are signed with a
sample key, not the key that signs real bundles.
Available Tools
5 toolsget_model_diffB
Get the findings of one comparison run: which decisions changed behaviourally, which were cosmetic, and which runs halted.
Inputs: diff_id (required), trace_id. Returns: object
get_traceA
Get one recorded agent run: its steps, model calls, tool calls with arguments, and outcome.
Inputs: trace_id (required). Returns: object
list_model_diffsC
List comparison runs that checked a prompt or model change against recorded production runs.
Inputs: limit, since. Returns: object
list_tracesB
List recorded AI agent runs (traces) captured by Pramana, optionally filtered by agent, status or time range.
Inputs: agent, limit, since. Returns: object
verify_bundleB
Verify a Pramana signed evidence bundle offline, with no account and no network access.
Inputs: bundle_path (required), public_key_path (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: two list/get pairs for traces and model diffs, plus an independent offline verification tool. There is no overlap between listing, retrieving, and verifying operations, so misselection is unlikely.
All five names follow a consistent snake_case verb_noun pattern (list_traces, get_trace, list_model_diffs, get_model_diff, verify_bundle). The list/get pairing is symmetric and predictable across both resources.
Five tools is well-scoped for an observability/inspection server with two resources plus a verification utility. Each tool earns its place with no redundant entries.
The list/get pairs cover discovery and detail for traces and diffs, and verify_bundle handles the evidence-checking lifecycle, so read workflows are complete. Minor gaps exist (e.g. no trace export or diff-creation trigger), but these are workable given the inspection-focused scope.
Maintenance
Related MCP Connectors
Read verdicts, reasons and evidence for recorded agent actions. Draft and dry-run contracts.
Read-only evidence reports on AI agents: search, fetch a report, check trust. Not a certification.
Experiment tracking for coding agents: read your team's ML runs, metrics and lineage. Read-only.
Read-only verifier for 25 ProofRelay MCP tools and non-confidential evidence bundles.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceCaptures AI agent runs and turns them into tamper-evident execution records showing tool use, timing, failures, recoveries, and human interventions. Records can be inspected, exported, and verified offline.MIT
- AlicenseNot gradedqualityBmaintenanceEnables assistants to inspect tamper-evident AI agent action journals through read-only verification, event querying, and policy-rule explanation.1Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to analyze, cluster, compare, and export reports from local log files through seven read-only tools, returning compact evidence packs with line-number citations instead of raw log dumps. All processing happens on the local machine, so log data never leaves the environment.828 PyPI1MIT
- AlicenseBqualityCmaintenanceLets AI assistants inspect test run results, AI QA reports, and findings with their full evidence, and, when asked, start runs, re-run only failed tests, import API specs, or scan a website. Read-only tools are free, while work-starting tools consume the workspace's allowance and report usage limits.1914 npmMIT