
Agent Envelope Mcp
io.github.BlackBoxEngineeringPublished by GitHub account BlackBoxEngineeringv1.0.1Updated Nov 10, 2026
Neutral MCP server for AgentEnvelope authority: sovereign verify + vault verify/lookup/mint.
Overview
MCP adapter for AgentEnvelope that lets an assistant verify delegated authority, offline or via hosted governance, before it performs an action.
- What you can do
- Verify signatures and public records offline (sovereign mode, no key or network)
- Look up hosted agent records, delegates and legitimacy state
- Verify actions and turn hosted verification into an allowed/denied decision
- Request a governed mint and register the resulting public action record (full mode only)
- Return readable content plus machine-readable structured content
- When to use it
- Use it when an agent runtime must check whether it has authority for a real action, such as issuing a refund or exporting customer data, before executing it. It also suits setups that want a fully offline verification-only surface with no hosted tools.
- Requirements
- Runs locally via npx (Node.js) over stdio, or in Streamable HTTP mode on a local port. Sovereign verification needs no account, key or network. Hosted tools need AE_API_KEY, or an Authorization bearer header in HTTP mode. AE_TOOLS selects the exposed tool set (sovereign, readonly, all).
Installation
In SourceWeft
- Open Agent Envelope Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 1d4910b
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts