# emiliaprotocol/emilia-protocol [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/emiliaprotocol/emilia-protocol  
**GitHub Stars:** 525  
**npm Downloads (last month):** 2391  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/emiliaprotocol-emilia-protocol

## Description
Human sign-off + trust receipts for AI agents: requires a named human's approval before an irreversible action (payment release, record change, deploy), then mints an offline-verifiable Ed25519 Trust Receipt. Also exposes trust profiles, receipt verification, disputes, and delegation. Apache-2.0; policy engine formally verified. Install: npx -y @emilia-protocol/mcp-server.

## Tools
Capabilities this server exposes over MCP:

- **ep_guard_action** — Request authorization before an irreversible action: payments, wire transfers, fund releases, deletions, record or account changes, or sending messages with real-world effect. Submits the exact action for policy evaluation and human authorization. This MCP tool does not itself sit at the executor choke point: even after approval, the executor MUST match the returned action_hash and atomically consume the receipt before effect. If BLOCKED, poll ep_check_signoff with the receipt_id.
- **ep_check_signoff** — Poll a pending authorization after ep_guard_action returns BLOCKED. Pass the receipt_id. Returns PENDING, APPROVED_PENDING_CONSUME, CONSUMED, or DENIED. Approval alone is not permission to execute: the executor must match action_hash and atomically consume the receipt at its own choke point.
- **ep_verify_receipt** — Ask the configured EMILIA service to verify a stored trust receipt and report its hash and anchor status. Read-only, but not an offline verifier: the result is the service response for the supplied receipt_id.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "emilia-protocol": {
    "command": "npx",
    "args": ["-y","@emilia-protocol/verify"]
  }
}
```

## Documentation

## What emiliaprotocol/emilia-protocol does

emiliaprotocol/emilia-protocol adds an authorization boundary for consequential actions initiated by AI agents. The protected action is submitted for policy evaluation and human sign-off before the downstream operation is allowed to proceed. Covered examples include payment or wire transfers, fund releases, deletions, account or record changes, and messages that have real-world effects.

An approved decision results in a Trust Receipt. The receipt binds authorization evidence to the precise action rather than to a general intent, helping prevent an approval for one payment or destination from being reused for a changed request. The protocol also defines trust profiles, receipt verification, disputes, and delegation, while the MCP listing exposes the authorization, sign-off polling, and receipt-verification tools described below.

## How it works

Call `ep_guard_action` with the exact operation that the executor intends to perform. The service evaluates that action against policy and may request human authorization. If the result is blocked pending approval, the response includes a `receipt_id` for follow-up.

Use `ep_check_signoff` with that identifier to poll the authorization lifecycle. Possible states include `PENDING`, `APPROVED_PENDING_CONSUME`, `CONSUMED`, and `DENIED`. Approval is not, by itself, permission to execute. The executor must compare the returned `action_hash` with the action it is about to perform and atomically consume the receipt at its own enforcement point.

This distinction matters because the MCP tool is not automatically positioned at every provider or executor choke point. A deployment must place the gate on every path that can reach the protected credential or consequential provider. A changed action, replayed approval, or bypass path must not be treated as covered by the original sign-off.

## Setup and configuration

The package can be started with npm and Node.js 20.19 or newer:

```bash
npx -y @emilia-protocol/mcp-server
```

The tools communicate with a configured EMILIA service. Integrators should connect the MCP server to the service used by their authorization workflow and ensure the downstream executor has durable state and an atomic receipt-consumption mechanism. The repository's local payment demonstration uses generated signing keys, in-memory consumption, and a mock payment tool; it is not a real payment flow or a substitute for production credential enrollment and shared state.

## Tools and capabilities

- `ep_guard_action` submits an exact consequential action for policy evaluation and human authorization. It covers payments, transfers, releases, deletions, record or account changes, and messages with real-world effects.
- `ep_check_signoff` polls a pending authorization by `receipt_id` and reports its lifecycle state.
- `ep_verify_receipt` asks the configured EMILIA service to verify a stored receipt and report its hash and anchor status. This operation is read-only, but the MCP tool relies on the service response rather than performing standalone offline verification.
- Trust Receipts use Ed25519 signatures and are intended to provide attributable, action-bound authorization evidence.
- The wider protocol model separates identity, policy, and authority, so an agent's credentials do not by themselves define the finite work it may perform.

## Limitations and notes

The server cannot constrain an execution route that bypasses the gate. Approval also does not establish that external details, such as a bank destination, are legitimate; it only records authorization for the action that was evaluated. Production deployments need enrolled credentials, durable shared state, and enforcement at every route to the protected provider credential.

The included verification MCP tool is not an offline verifier. It asks the configured service to verify the supplied stored receipt. Likewise, a local demonstration with mock providers and in-memory state should not be interpreted as evidence of a real human approval ceremony, a production deployment, or money movement.

If a provider outcome is uncertain, integrations should preserve that uncertainty for reconciliation rather than blindly retrying. The executor remains responsible for matching the action hash and consuming the receipt atomically before causing the external effect.

_Full upstream README: https://allmcps.com/mcp/emiliaprotocol-emilia-protocol/readme_

