Wraps the EMILIA Protocol's trust enforcement layer so Claude can route high-risk actions through human approval gates before execution. Exposes handshake initiation, policy verification, and signoff request operations as MCP tools. When an agent plans something destructive (wire transfer, production change, data deletion), this server holds the action, generates a Trust Receipt with cryptographic binding, requests named human signoff, and only releases execution after approval. Each action gets a verifiable receipt you can check offline. Reach for this when you're building agentic workflows that need accountable human-in-the-loop enforcement on irreversible operations, not just logging or soft guardrails.
EP_API_KEYsecretOptional API key for write operations (registering entities, submitting receipts). Public read tools work without it.
A named human's signed "yes" before an AI agent does anything irreversible — with a receipt anyone can verify offline.
Three independent reference verifiers — JavaScript, Python, and Go — are proven to agree on the canonical adversarial conformance vectors, on every push (npm run conformance). That is the IETF bar for a real standard: multiple independent interoperable implementations. See CONFORMANCE.md, or verify a receipt yourself, in your browser, at emiliaprotocol.ai/verify.

Run it yourself:
node examples/crash-test.mjs— fully offline, no API key.
Try it in one line (Claude / Cursor / Cline):
npx -y @emilia-protocol/mcp-server
90-second demo · Quickstart · Agent code walkthrough · Discord
EMILIA Protocol (EP) is a protocol-grade trust substrate for high-risk action enforcement.
EP does not stop at identity. It verifies whether a specific actor, operating under a specific authority context, should be allowed to perform a specific high-risk action under a specific policy, exactly once, with replay resistance and durable event traceability.
EP enforces trust before high-risk action.
EP is not a generic identity platform, not a wallet, and not a social reputation layer. It is protocol infrastructure for binding actor identity, authority, policy, and exact action context before execution.
EP Core consists of three interoperable objects:
EP Extensions add stronger enforcement for high-risk workflows. The most important extension is Handshake, which binds actor identity, authority, policy, exact action context, nonce, expiry, and one-time consumption into a pre-action authorization flow.
When policy requires named human ownership, EP can also require Accountable Signoff before execution.
The protocol is open. Managed policy, verification, signoff orchestration, monitoring, evidence tooling, and sector-specific packs are optional product layers built on top.
Eye observes. Handshake verifies. Signoff owns. Commit seals.
| Metric | Value |
|---|---|
| Automated tests | 3,672 across 142 files (npx vitest run, 2026-06-11) |
| TLA+ safety properties | 26 verified (T1-T26) - TLC 2.19, latest full run 2026-04-30, 0 errors - see formal/PROOF_STATUS.md |
| Alloy relational assertions | 35 facts, 22 assertions across two models (ep_relations + ep_federation/PIP-006) - verified in CI (Alloy 6.0.0, 2026-06-11) |
| Red team cases | 85 cataloged in docs/conformance/RED_TEAM_CASES.md |
| Security findings remediated | 31 |
| CI quality gates | See .github/workflows/ (~13 workflows) |
| Full 7-step signoff chain | Proven end-to-end under load |
| Handshake create p95 | 575ms at 50 VUs (per docs/operations/PERFORMANCE_PROOF.md) |
See Performance Proof | Operating Envelope | Security Policy | Audit Methodology | API Compatibility Policy
| Metric | Value |
|---|---|
| Spec version | EP-CORE-v1.0 |
| Conformance test | 7/7 required checks pass against production (verified 2026-06-12) — run it yourself: node conformance/ep-conformance-test.js https://www.emiliaprotocol.ai (discovery · key publication · entity registration · EP-RECEIPT-v1 format · Ed25519 signature · trust profile · trust decision) |
| Standalone verify | npm install @emilia-protocol/verify — zero deps, Apache-2.0 (npmjs.com) |
| Embed widget | <ep-trust-badge entity-id="..."> |
| Discovery | /.well-known/ep-trust.json + /.well-known/ep-keys.json |
| Formal models | TLA+ + Alloy |
| CodeQL | Active |
| SBOM / Provenance | Active |
EP is a three-layer system. The core is deliberately small. Everything else is either an optional extension or a product surface built on top.
A skeptical reader should be able to answer in 30 seconds: Core = the minimum interoperable standard. Extensions = stronger enforcement you opt into. Product Surfaces = tools built on top, not the protocol itself.
EP is decision infrastructure. Every serious deployment should anchor to a concrete action surface such as:
| Context | Example |
|---|---|
| Government | payment destination change, benefit redirect, operator override |
| Financial | beneficiary change, payout destination change, treasury approval |
| Enterprise | privileged production change, secrets rotation, permission escalation |
| AI / Agent | destructive tool use, autonomous irreversible action |
EP standardizes three interoperable objects:
| Object | What it is | One-line |
|---|---|---|
| Trust Receipt | A portable record of an observed event relevant to trust | What happened |
| Trust Profile | A standardized summary of observable trust state | What is known |
| Trust Decision | A policy-evaluated result with reasons and appeal path | What to do now |
If a third party can implement these three objects and interoperate, EP has a real standard.
That is the irreducible EP story.
Most systems verify who is acting. Very few verify whether this exact high-risk action should be allowed to proceed under this exact policy by this exact actor right now.
That is the gap EP closes.
io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent