# Agent Middleware MCP server

> Provides a secure gateway for agent tool calls using signed permits, idempotency keys, and verifiable offline receipts.

- Repository: https://github.com/agentmiddleware/agent-middleware
- Page: https://hostedmcp.org/servers/agentmiddleware/agent-middleware
- Transport: —
- Stars: 1
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `AMW_API_KEY` | no | no |  |
| `AMW_WALLET_ID` | no | no |  |

## FAQ

### What happens if I retry a request with the same key?

A retry using the same key will return the original receipt instead of dispatching the action again.

### Can the gateway prove that a remote effect actually happened?

No, the receipt signs request and response hashes rather than raw tool content, so it cannot prove a remote effect occurred.

### What is a 'delivery_uncertain' receipt?

This status means no trustworthy answer was returned; the debit is kept and the operator must manually reconcile with the downstream tool.
