
Signet MCP Tools
io.github.Prismer-AI由 GitHub 账号 Prismer-AI 发布v0.4.1更新于 Oct 24, 2026
MCP server exposing Signet cryptographic signing, verification, and content hash tools over stdio.
概览
一个本地 stdio MCP 服务器,为助手提供 Ed25519 密钥对生成、加密签名、回执验证和内容哈希工具。
- 可以做什么
- 生成 Ed25519 密钥对作为代理身份,并用代理密钥对工具调用动作签名,生成可离线验证、带哈希链的回执。用公钥验证原始 Signet 回执,并为内容计算哈希。README 还描述了更广泛的 Signet 生态(命令行、代理、委托、策略证明、审计包),超出本包提供的四个工具。
- 适用场景
- 当助手需要在 MCP 客户端内创建签名身份、签署动作或验证 Signet 回执时使用,例如为审计或事件复盘生成防篡改的代理行为证据。
- 运行要求
- 作为本地进程通过 stdio 运行,使用 npx 从 npm 包 @signet-auth/mcp-tools 启动,因此需要 Node.js。该服务器未声明认证、环境变量或请求头;密钥据说明存放在用户主目录下。
安装
在 SourceWeft 中
- 打开 控制台中的 Signet MCP Tools,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Signet
Don't just log agent actions. Prove them.
Cryptographic trust and authorization evidence for every AI agent action — identity, delegation, policy, receipts: signed, hash-chained, offline-verifiable. Independent of any provider.
[CI] [Release] [License] [Stars] [Open in Codespaces]
[SDKs] [crates.io] [PyPI] [npm packages]
TypeScript packages:
@signet-auth/core ·
@signet-auth/mcp ·
@signet-auth/mcp-server ·
@signet-auth/mcp-tools ·
@signet-auth/node ·
@signet-auth/vercel-ai
▶ Try the live demo — sign a tool call in your browser, change a field, and watch verification fail. (mirror: GitHub Pages)
[Watch the Signet walkthrough on YouTube]
▶ Walkthrough: signing, audit log, and verification · ▶ Demo: execution boundary & MCP integration
[Pilot demo: identity → sign → bundle → restore on auditor's machine]
Single-host pilot flow: sign every tool call, hand off a signed evidence bundle, re-verify on any machine — no signet keystore required. Pilot runbook →
Your AI agent just placed an order, deleted a row, sent an email, merged a PR. Can you prove exactly what it did — to an auditor, a customer, or yourself after an incident?
Signet is the independent trust layer for agent actions. Every tool call gets a signed receipt that anyone can verify offline, without trusting the platform that hosted the agent or the vendor that stored the logs — and since 0.11, the authorization behind an action carries its own proof: who the agent is (principal), who let it act (delegation), and who allowed this specific action (authority-signed decision).
Your agents run on their infrastructure. The proof belongs to you.
Why Not Just Logs?
Traditional logs tell you what a platform says happened. They're mutable, provider-dependent, and unverifiable without trusting the party that wrote them.
Signet receipts are different. Modify any field — tool name, parameters, timestamp, signer — and the Ed25519 signature breaks. Delete or reorder entries and the SHA-256 hash chain breaks. Verification requires only the public key. No network call, no API, no login.
Use logs for observability. Use Signet when you need evidence.
Who Is This For?
- MCP builders — wrap any MCP server with
signet proxy, sign everytools/call, no code changes - Security / compliance teams — tamper-evident audit trail that satisfies EU AI Act Art. 12, SOC 2 CC7.2, ISO 27001 A.8.15
- Enterprise agent platforms — prove what the agent did, who authorized it, which policy was in force
- Framework users — LangChain, CrewAI, Claude Code, Codex, OpenAI Agents, Vercel AI SDK — all supported
- Agent-to-agent deployments — bilateral co-signing when both sides hold keys
If a tool call cannot be verified independently, it should not be trusted unconditionally. This matters when an auditor asks for proof, when an incident happens on infrastructure you don't control, or when the question isn't "what does the console say" but "what actually happened."
Each agent gets an Ed25519 identity. Every tool call can be signed, appended to a hash-chained audit trail, verified offline or before execution, co-signed by the server, bound to a delegation chain, and optionally bound to a policy decision.
The video above shows the full flow. The SVG below shows the CLI signing details, or jump to See It Reject Bad Requests to watch the server block bad requests before they run.
This first demo shows signing + audit receipts. See also the MCP flow diagram.
What Signet Adds
Signet adds a lightweight trust layer for agent actions:
- Sign every tool call with the agent's cryptographic key
- Verify requests offline or at the execution boundary before they are trusted
- Proxy any MCP server transparently — sign requests without touching agent or server code, with local bilateral audit co-signing in the proxy path
- Co-sign server responses with bilateral receipts when you control both sides
- Trace multi-step workflows by linking receipts with
trace_idandparent_receipt_id - Authorize agents with scoped delegation chains that prove who allowed the action
- Attest policy by embedding a signed
PolicyAttestationwhen a YAML policy is satisfied - Inspect locally with an append-only audit log and dashboard, no hosted control plane required
What's New In 0.11
- Canonical principals: every identity can carry a scoped principal URI (
agent://prismer/deploy-bot), signed inside receipts and delegation tokens;acting_forclaims are machine-corroborated by the chain root. - Authority-signed authorization decisions:
signet authorizepre-approves one intent;signet sign --decisionproduces a receipt backed by it (or--authority-keydoes it in one step). A decision binds to the action viaintent_hash, so replay onto a different action is refused. - Revocation:
signet revokeinvalidates delegation tokens and decisions with an issuer-signed record. Verification reports an explicit status —revokedfails,unknownis never reported as authorized (--require-revocation-knownfor strict mode). Evidence bundles carry revocation records. - Conditions and limits: policy rules carry typed obligations (
require_approval,sandbox, …); delegation scopes carry constraints (--max-calls,--spend-limit). Sign paths enforce call-count budgets and the narrowing invariant (a grant can shrink a delegation, never widen it). - Hardening:
verify()now correctly verifies v4 receipts; rate-limited policy rules fail closed when no state is supplied; delegation expiry binds to wall clock (backdating a receipt timestamp no longer dodges it).
Compliance
Signet provides the technical controls that auditors look for when assessing AI agent operations. See the full Compliance Mapping for details.
Signet is a tool, not a certification. It provides controls that support compliance — your deployment and configuration determine compliance posture.
Try It In 30 Seconds
Why Star This Repo?
Signet is building a new category: verifiable tool-call receipts for AI agents. Starring isn't just a bookmark — it helps push cryptographic evidence for agent actions into the ecosystem so regulated industries, enterprise platforms, and framework users don't have to roll their own.
- Working with Microsoft Agent Governance Toolkit (example merged in PR #1196)
- Named contributor in LangChain's ComplianceBackend RFC (#35691)
- Conformance work toward the IETF draft-farley-acta-signed-receipts spec
- Maps to NIST NCCoE's four pillars for AI agent identity and authorization (Q4 2026 Interoperability Profile)
If you're building agents that need to survive an audit, an incident, or a third party asking "prove it" — star the repo, try it, open an issue.
If you're new, start with one of these five paths:
Choose Your Path
- Claude Code: Best for the fastest first run in a coding agent. Run
/plugin install signet@claude-plugins-officialin Claude Code. In 5 minutes you'll have signed tool calls and a local audit log at~/.signet/audit/. - Codex CLI: Best for signing Bash tool calls in Codex. Copy
plugins/codex/into~/.codex/plugins/signetand add onePostToolUsehook. In 5 minutes you'll have signed Bash actions in Codex using the same audit trail. - Python SDK: Best if you want receipts inside LangGraph, LlamaIndex, OpenAI Agents, CrewAI, or your own tool runner. Start with
SigningAgent.create(...)and add framework hooks only where you need them. - MCP clients: Best if you control an MCP client or transport. Wrap your transport with
new SigningTransport(inner, secretKey, "my-agent"). In 5 minutes you'll have signedtools/callrequests with receipts inparams._meta._signet. - MCP servers: Best if you want verification before execution. Call
verifyRequest(request, {...})in your tool handler. In 5 minutes you'll have signer, freshness, target-binding, and tool/params checks at the execution boundary.
See It Reject Bad Requests
Run the shortest execution-boundary demo:
[Execution-boundary demo showing invalid requests rejected before execution]
Prefer motion? Download the MP4 or GIF.
See examples/mcp-agent/demo-execution-boundary.mjs for the demo source.
Delegation Chains: Who Authorized This Agent?
Signet receipts prove what happened. Delegation chains prove who allowed it.
A root identity (human or org) cryptographically delegates scoped authority to an agent. Permissions can only narrow, never widen. The agent's v4 receipt carries the full proof of authorization.
Best practice: Use short-lived delegations (
--ttl 1h,--ttl 24h) instead of long-lived or non-expiring tokens. If an agent is compromised, the delegation expires automatically. Re-issue tokens as needed. This is the same pattern used by short-lived JWTs and X.509 certificates.
Or in Python:
Policy Attestations: Was This Allowed?
Signet can enforce a YAML policy before signing. When an action is allowed, the signed receipt carries a PolicyAttestation proving which policy hash, rule, and decision were in force.
Denied actions fail before a receipt is produced. Allowed actions produce a receipt whose signed payload proves the policy decision.
When Teams Reach For Signet
- You need a tamper-evident audit trail for coding agents, MCP tools, or CI automation
- You want to prove which agent requested an action and who authorized it after an incident
- You need receipts that can be verified offline without depending on a hosted service
- You want lightweight policy enforcement before signing without adding a proxy to your stack
What Signet Is And Isn't
- Signet is a trust layer for agent actions: signing, audit, verification, delegation, and policy attestation
- Signet is designed to fit into existing agent stacks with SDKs, plugins, and MCP middleware
- Signet can reject unsigned, stale, replayed, or mis-targeted MCP requests before execution
- Signet can deny actions before signing when you provide a policy file
- Signet is not a hosted gateway, always-on control plane, or replacement for sandboxing and least-privilege design
Install
Quick Start
Claude Code Plugin
Auto-sign every tool call in Claude Code with zero configuration:
Every tool call is signed with Ed25519 and logged to a hash-chained audit trail at ~/.signet/audit/.
Alternative install methods:
Codex Plugin
Auto-sign every Bash tool call in Codex CLI:
Then add the hook to ~/.codex/hooks.json:
Or use the MCP server for on-demand signing tools:
CLI
MCP Client Integration (TypeScript)
[Signet MCP bilateral flow demo]
Every tools/call request gets a signed receipt injected into params._meta._signet.
MCP Server Verification
If you control the MCP server too, verify requests before execution:
Vercel AI SDK Integration
Reference MCP Server
This repo also includes a minimal MCP reference server that demonstrates server-side verification with @signet-auth/mcp-server.
Available tools:
inspect_current_request— verifies the current MCP tool call if it includesparams._meta._signetverify_receipt— verifies a raw Signet receipt against a public keyverify_request_payload— verifies a synthetic MCPtools/callpayload offline
Environment variables:
SIGNET_TRUSTED_KEYS— comma-separateded25519:<base64>public keysSIGNET_REQUIRE_SIGNATURE—trueorfalse(defaulttrue)SIGNET_REQUIRE_TRUSTED_SIGNER—trueorfalse(defaulttrue)SIGNET_MAX_AGE— max receipt age in seconds (default300)SIGNET_EXPECTED_TARGET— optional expectedreceipt.action.target
Standalone MCP Signing Server
@signet-auth/mcp-tools exposes Signet signing, verification, and content hashing as MCP tools — plug into any MCP-compatible client:
Available tools: signet_generate_keypair, signet_sign, signet_verify, signet_content_hash.
Python SDK (LangChain / CrewAI / AutoGen + 6 more)
For plain Python tools, the lowest-friction entry point is the decorator layer:
If you run a Python MCP server or other execution boundary, use verify_request() with a durable nonce backend in the pilot shape:
LangChain Integration
CrewAI Integration
AutoGen Integration
LangGraph Integration
LangGraph uses LangChain's callback system — the same handler works directly:
LlamaIndex Integration
Pydantic AI Integration
Google ADK Integration
Smolagents Integration
OpenAI Agents SDK Integration
Note: Tool call arguments are not yet available in the hook API (issue #939). Only the tool name is signed.
Low-Level API
Bilateral Receipt (Server Co-signing)
How It Works
Client-side signing works without changing the server. If you control the server too, add verifyRequest() and optional signResponse() for execution-boundary verification and bilateral receipts. signResponse() should only run after a successful trusted verifyRequest(), and it can now carry final executed / failed / rejected / requires_approval outcome state inside the bilateral signature.
Action Receipt
Every tool call starts with a signed receipt. Higher receipt versions add server co-signing (v3) and authorization chains (v4):
The signature covers the entire receipt body (action + signer + timestamp + nonce) using RFC 8785 (JCS) canonical JSON. Modifying any field invalidates the signature.
CLI Commands
Passphrase via interactive prompt or SIGNET_PASSPHRASE env var for CI.
Audit Dashboard
Run signet dashboard to open a local web UI for your audit log — no account, no network, just your local receipts.
[Signet audit dashboard — timeline view showing every signed tool call]
Timeline view: every tool call logged with signer, tool name, target, and receipt ID. Filter by time, tool, or signer.
The Chain Integrity tab verifies the SHA-256 hash chain across your entire audit log — any tampering or gap is pinpointed to the exact file and line:
[Signet chain integrity check — break point detected at line 189]
Chain broken at line 189: expected vs actual hash shown. This is what "append-only" actually looks like in practice.
Documentation
Project Structure
Building from Source
Prerequisites
- Rust (1.70+)
- wasm-pack
- Node.js (18+)
- Python (3.10+) + maturin (for Python binding)
Build
Test
Security
- Ed25519 signatures (128-bit security level,
ed25519-dalek) - Argon2id key derivation (OWASP recommended minimum)
- XChaCha20-Poly1305 key encryption with authenticated associated data (AAD)
- SHA-256 hash chain for tamper-evident audit log
- RFC 8785 (JCS) canonical JSON for deterministic signatures
Keys stored at ~/.signet/keys/ with 0600 permissions. Override with SIGNET_HOME env var.
What Signet proves
- Agent key X signed intent to call tool Y with params Z at time T
What Signet does NOT prove (yet)
- That the MCP server executed the action (use bilateral receipts with
signResponse()for server co-signing — shipped in v0.4) - That signer.owner actually controls the key (planned: identity registry)
Signet is first an evidence layer: it proves what happened. It can also enforce checks at the signing boundary and execution boundary, but it does not replace sandboxing, least-privilege design, or human approval where those are required.
Related Projects
- Prismer Cloud — Full agent harness with evolution engine, memory layer, community, and built-in Ed25519/DID identity. Use Prismer Cloud for the complete agent platform; use Signet when you only need the standalone attestation layer.
- Prismer.AI — The open-source AI research platform
Star History
If Signet is useful to you, please star this repo — it helps more teams find it.
License
Apache-2.0 + MIT dual license.
来源:README.md,提交 6704117
工具
0版本历史
1- v0.4.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分