EMILIA Protocol
Lets your AI agent request exact-action approval for risky actions and verify the signed receipts that result.
562 stars on GitHubby EMILIA ProtocolLicense Apache-2.0Updated 21 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add emiliaprotocol -- npx -y @emilia-protocol/mcp-server
What to fill in
| Name | What it is | Required |
|---|---|---|
EP_API_KEY | API key for live action-guard, signoff, and write operations. Public receipt lookup may work without it. | No |
EP_INCLUDE_PROTOCOL_TOOLS | Set to true to advertise handshake, commit, and delegation tools in addition to the default three-tool action front door. | No |
EP_INCLUDE_REGISTRY_TOOLS | Set to true to advertise the complete 36-tool legacy registry and reputation catalog. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Request approval to release this $82,000 supplier payment.
Verify this receipt and tell me what it covers.
What it is
EMILIA Gate checks authority before a protected tool runs, such as releasing a payment. An approval is tied to the exact action details, so a changed amount or destination is refused, and replays are refused. The open protocol makes the resulting evidence independently checkable.
What it can do
- Request approval for a consequential action
- Track an approval
- Verify signed receipts
npx @emilia-protocol/issue demo: issue a receipt offlinenpx @emilia-protocol/scan: protect a declared MCP actionnpx @emilia-protocol/verify aeb-conformance: run the conformance pack
When to use
- βΊWhen you want a payment or deployment to need approval bound to its exact details
- βΊWhen you want a signed receipt you can check later
- βΊWhen you want to wrap an existing MCP tool so it refuses unapproved calls
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
agent-decision-receiptsHelps your agent create a tamper-evident, signed receipt for important actions like deleting data or granting access, and verify it later.mpp-agentLets your agent pay for web API requests that return an HTTP 402 Payment Required response, using Machine Payments Protocol clients.mcp-server-auditHelps your agent audit a Model Context Protocol server for tool poisoning, path traversal, command injection, and missing approval steps before an AI agent acts on it.Frequently asked questions
Is it free and open source?
The readme shows a license badge and open packages on npm; the license name is not in the part provided.
Is the demo real?
No. It uses generated keys, in-memory state and a mock payment tool, and moves no money.
What does Gate do?
It checks authority before a protected tool runs, and refuses changed details, replay and forged evidence.
Can it be bypassed?
The readme says Gate cannot constrain a bypass path, so it must be on every path to the provider credential.
Which frameworks does it cover?
It covers MCP and HTTP, a wrapper for Hugging Face smolagents and a GitHub merge check.
Is the conformance report an audit?
No. A passing report is self-attested evidence, not an audit or certification.
If it does not work
- βΊCheck that Node.js is 20.19 or newer before running the examples.
- βΊRun npm ci in the cloned repository before running the example servers.
- βΊRestart your MCP client after adding npx -y @emilia-protocol/mcp-server.
5 new skills a week. 1 minute to read.