
Agent Envelope Mcp
io.github.BlackBoxEngineering由 GitHub 账号 BlackBoxEngineering 发布v1.0.1更新于 Nov 10, 2026
Neutral MCP server for AgentEnvelope authority: sovereign verify + vault verify/lookup/mint.
概览
AgentEnvelope 的 MCP 适配器,让助手在执行操作前核验被委派的权限,可离线运行或使用托管治理。
- 可以做什么
- 离线核验签名与公开记录(主权模式,无需密钥或网络)
- 查询托管的代理记录、委托方与合法性状态
- 核验操作并将托管核验结果归一为允许或拒绝的判定
- 申请受治理的铸造并登记生成的公开操作记录(仅完整模式)
- 同时返回可读内容与机器可读的结构化内容
- 适用场景
- 适用于代理运行时在执行真实操作(如退款或导出客户数据)前必须先确认自身是否具备权限的场景。也适合希望只暴露完全离线的核验工具、不接入托管工具的环境。
- 运行要求
- 通过 npx(Node.js)以 stdio 在本地运行,或以 Streamable HTTP 模式监听本地端口。主权核验无需账号、密钥或网络。托管工具需要 AE_API_KEY,HTTP 模式下也可用 Authorization bearer 头。AE_TOOLS 决定暴露的工具集(sovereign、readonly、all)。
安装
在 SourceWeft 中
- 打开 控制台中的 Agent Envelope Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
agent-envelope-mcp
[agent-envelope-mcp MCP server]
agent-envelope-mcp is the MCP adapter for AgentEnvelope.
Any MCP-capable runtime can check delegated authority before it acts: OpenAI Agents SDK, OpenAI Responses remote MCP, Claude Desktop, Cursor, LangChain, LangGraph, CrewAI, or a custom runtime.
Prompts can request actions; AgentEnvelope decides whether the actor has authority to perform them.
Choose Your Authority Mode
The hosted AgentEnvelope portal is optional. The MCP server can run entirely offline with only the public SDK verification tools, or it can add hosted governance when a deployment chooses to use the portal and its API.
Use AE_TOOLS=sovereign when the MCP client must have no hosted tool surface.
No AgentEnvelope account, portal API key, or network request is involved in
that mode.
Choose Your Transport
Local stdio:
Streamable HTTP:
The HTTP endpoint is:
Health check:
No API key is needed to start the server or use sovereign signature/record
verification. Hosted-governance tools require AE_API_KEY or, in HTTP mode, an
Authorization: Bearer <portal-api-key> header. AE_TOOLS=readonly removes
hosted mint and registration while retaining hosted read/query tools.
Tools
Most tools return both readable MCP content and machine-readable
structuredContent.
Runtime Rule
Check AgentEnvelope before the real action. In sovereign mode, execute only
when the offline record result has valid === true:
With optional hosted governance, execute only if allowed === true:
Do not pass AE_MINT_MATERIAL, vault roots, seeds, or private domain material to
the model or MCP client. Keep those in the bot runtime secret store.
Local MCP Config
Sovereign-only, with no portal or API key:
Optional hosted governance:
OpenAI Agents SDK
OpenAI Responses Remote MCP
Use Streamable HTTP mode locally, or point OpenAI at your deployed MCP URL after the web/API edge is configured to serve the MCP HTTP endpoint:
For local HTTP testing, start the server:
Then use:
LangChain / LangGraph
Prompt Escalation Pattern
Example attack:
Expected runtime flow:
- The model proposes or attempts the action.
- The runtime calls
ae_authorize_action. - AgentEnvelope returns
allowed: false. - The runtime blocks execution.
- The hosted or local verification report records the denial.
Denied actions are useful outcomes: they show that authority boundaries held.
Programmatic Use
Environment
Security Notes
- Verification-only tools are annotated as read-only.
ae_mintandae_register_delegated_actionare annotated as governed, non-idempotent hosted actions.- API keys meter service access; signatures prove authority.
- The runtime keeps secrets. The model asks for authority; AgentEnvelope returns the decision.
- Never expose mint material, vault roots, seeds, or private domain-scoped authority material to the model.
License
Apache-2.0 - see NOTICE for attribution.
来源:README.md,提交 1d4910b
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分