Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP gateway that checks each agent tool call against a signed grant and policy, and signs a receipt
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agent-custody": {
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"gateway",
"--config",
"your-value"
]
}
}
}在终端中运行这条命令
claude mcp add agent-custody -- npx -y @agent-custody/receipts gateway --config your-value这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agent-custody": {
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"gateway",
"--config",
"your-value"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agent-custody": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agent-custody/receipts",
"gateway",
"--config",
"your-value"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 svayatta 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.14.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Date Math
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Exact date/time math for agents: business days, holidays, time zones, cron, RRULE, SLA. x402 paid.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Chain of custody for AI agents: a signed receipt for every tool call, checkable with public keys alone. What each check proves, and against whom, is a table below.
Two producers, one receipt format, one verifier.
Anyone holding the public keys can verify a receipt offline. The agent is not trusted. The layer around it is, and the receipt says exactly how far that trust extends, starting with who issued it. What the receipt file carries of a call is a choice per tool: a field can be withheld as a commitment or encrypted under your key, and the verifier recomputes the digests when it is shown the values.
agent-custody check to validate a config before it startspolicy simulatelog-check against the chainexport command that copies the receipts into the branch, and why a committed receipt publishes the call unless a capture rule withholds itnpm install @agent-custody/receipts # or bun add, pnpm add
Published on npm as @agent-custody/receipts: compiled JavaScript with type declarations, Node 22 or later, Apache-2.0.
Record receipts from inside your own agent, no gateway needed. Generate a signing key, point a config at it, wrap the functions the agent calls:
npx @agent-custody/receipts keygen --dir keys --name app
{ "agentId": "billing-bot", "identity": { "keyFile": "keys/app.key" }, "receiptsDir": "receipts", "logFile": "log.jsonl" }
import { createSdkIssuer, loadSdkConfig, loadPublicKey, verifyBundle } from "@agent-custody/receipts";
const issuer = createSdkIssuer(loadSdkConfig("./sdk.json")); const refund = issuer.wrap("stripe.refund", async (args: { amount: number }) => stripe.refund(args)); await refund({ amount: 5000 }); // one signed receipt in receipts/, one leaf in log.jsonl
const bundle = JSON.parse(readFileSync("receipts/ .json", "utf8")); verifyBundle(bundle, { issuerKeys: [loadPublicKey("keys/app.pub")], logFile: "log.jsonl" }).ok; // true
For your own Claude Code sessions, one command does the whole setup (key, config in observe mode, starter deny policy, hooks), and agent-custody report lists the calls the policy would have denied: npm install -g @agent-custody/receipts, then agent-custody init claude-code, then see docs/sdk.md.
Framework hooks and adapters, including Claude Code, the OpenAI Agents SDK, the Vercel AI SDK, LangChain, OpenClaw, DeepSeek Harness, Hermes and Google ADK, are in docs/sdk.md. To enforce rather than record, put the gateway between the agent and its tools: npx @agent-custody/receipts gateway --config gateway.json, set up in docs/usage.md; between an agent and the agents it delegates to over A2A, --a2a serves the gateway as an A2A agent itself. The gateway is listed in the MCP Registry as io.github.svayatta/agent-custody; its entry is server.json, published after each npm release by running the mcp-registry workflow from the Actions tab (GitHub OIDC, no token).
The architecture guide adds the customer-side and hosted split, the data model, and sequence diagrams for onboarding, revocation, and verification.
flowchart LR
P["Principal (human or org, holds a signing key)"] A["Agent host Claude Desktop, Claude Code, LangGraph, custom loop"] S["SDK interceptor inside the agent process: hooks or wrapped tools"] G["agent-custody gateway scope check → fact lookups → Cedar policy"] U["Upstream MCP server Stripe, database, GitHub, ..."] R[("receipt bundles receipts/*.json")] L[("Merkle log local file, or a remote log run by someone else")] V["Verifier auditor, counterparty, CI job"] O["Observability OTel, Splunk, LangSmith, Arize"]
P -- "signed delegation grant" --> G A -- "MCP tools/call" --> G G -- "only on allow" --> U U -- "result" --> G G -- "result + receipt id, or denial + receipt id" --> A G -- "signed receipt (issuer: gateway)" --> R G -- "leaf hash" --> L A -. "in-process tool calls" .-> S S -- "signed receipt (issuer: sdk)" --> R S -- "leaf hash" --> L R --> V L -. "copy of the log (optional)" .-> V P -. "public key" .-> V G -. "public key" .-> V A -. "traces (unchanged)" .-> O G -. "one span per receipt, OTLP" .-> O S -. "one span per receipt, OTLP" .-> O
Three parties hold keys. The principal signs a grant saying which agent may use which tools until when. The issuer, gateway or SDK, signs every receipt and every tree head. The verifier holds only public keys and needs no access to the issuer, the agent, or the upstream system.
| gateway | SDK | |
|---|---|---|
| where it runs | separate process between agent and tools | inside the agent's process |
| what it sees | MCP tool calls | whatever the framework's hooks expose |
| enforcement | yes, denied calls never reach upstream | only where a hook can block |
| provenance of its fields | attested and observed | claimed, all of them |
| what a verifier learns | the agent could not skip or forge this | the agent's process reported this and it has not changed since |
| install | one line in the host's MCP config | a hook entry or a wrapped function |
Every receipt names its issuer, and the verifier prints what that issuer kind is worth before anything else. A dashboard full of sdk rows is the reason to route the consequential calls through the gateway.
| host or framework | producer | enforce + record | record only | tested against |
|---|---|---|---|---|
| any MCP host: Claude Desktop, Claude Code, Cursor, custom | gateway | yes | a real MCP client and upstream over stdio | |
| Codex CLI (headless) | gateway | yes | a manual codex exec run and offline MCP recovery checks; guide | |
| Claude Code | SDK | hook command, PreToolUse deny; init claude-code sets it up | PostToolUse | the documented hook contract, via stdin; init and report against a temporary home |
| Claude Agent SDK | SDK | claudeAgentHooks | same | the same handler |
| OpenAI Agents SDK (JS) | SDK | wrapTools | observeRunner | a real Runner with a scripted model |
| Vercel AI SDK | SDK | wrapTools | a real generateText loop over the SDK's mock model | |
| LangChain / LangGraph (JS) | SDK | tool(issuer.wrap(fn)) | ReceiptCallbackHandler | real StructuredTool invocations |
| OpenClaw | SDK | registerOpenClaw / openclawHooks: before_tool_call deny | after_tool_call | OpenClaw's documented hook contract, in the plugin's process |
| DeepSeek Harness | SDK | the module is the plugin: tools/pre-execute deny | tools/post-execute | the harness's tool waterfall types, driven as the harness drives them |
| Hermes Agent | sidecar + Python package | agent_custody.hermes: pre_tool_call block | post_tool_call | the documented hook contract, against a live sidecar |
| Google ADK | sidecar + [Py
只显示了开头部分;其余内容请在仓库中阅读