
Pramana Mcp
io.github.loopg由 GitHub 账号 loopg 发布v0.1.3更新于 Oct 24, 2026
Read your recorded AI agent runs, and what changed when you swapped a model or prompt.
概览
只读的 MCP 服务器,让助手查看 Pramana 记录的 AI 智能体运行,并离线校验已签名的证据包。
- 可以做什么
- 列出并读取已记录的智能体运行,包括步骤、模型调用、带参数的工具调用和结果;过长内容会被截断并明确标注。列出并读取将提示词或模型变更与生产运行对比的比较任务,显示哪些决策发生了行为变化、哪些只是措辞变化、哪些运行中断。使用单独提供的公钥离线校验已签名的证据包。没有任何工具会启动重放或比较。
- 适用场景
- 适用于已用 Pramana 对智能体进行埋点,并希望助手梳理某次具体运行的过程,或在发布前确认模型或提示词变更是否改变了决策。也适合检查供应商提供的证据包是否完整。
- 运行要求
- 通过 stdio 在本机运行,使用 uvx 按需从 pramana-mcp 的 PyPI 包获取。需要在 PRAMANA_API_KEY 中提供 Pramana 的工程师或管理员 API 密钥;审计员密钥读取运行记录会返回空。仅自托管时才需要 PRAMANA_API_URL。校验证据包需要证据包文件和公钥文件,无需账号或网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Pramana Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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):
Claude Code
Create 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.
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?"
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?"
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?"
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?"
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?"
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:
evidence-samples/FORMAT.md is the field-by-field specification. Those files are signed with a
sample key, not the key that signs real bundles.
来源:README.md,提交 4cba9b2
工具
0版本历史
1- v0.1.3最新Sep 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分