- Version
0.3.0- Runs
- Locally
- Packages
- npm
- Published
- Dec 5, 2026
Get started
Add it to your agent
claude mcp add agent-mediate -- npx -y @agent-mediate/mcp@0.3.0Run in your terminal. Add --scope project to share it with your team through .mcp.json.
codex mcp add agent-mediate -- npx -y @agent-mediate/mcp@0.3.0Saved to ~/.codex/config.toml.
{
"mcpServers": {
"agent-mediate": {
"command": "npx",
"args": [
"-y",
"@agent-mediate/mcp@0.3.0"
]
}
}
}Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
{
"servers": {
"agent-mediate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agent-mediate/mcp@0.3.0"
]
}
}
}Add to .vscode/mcp.json, then start it from the MCP view in Copilot Chat.
gemini mcp add agent-mediate npx -y @agent-mediate/mcp@0.3.0Saved to .gemini/settings.json.
Before you start
Environment variables
AGENT_MEDIATE_URLAgent-Mediate API base URL (default: https://api.ai-agents-mediation.com)AGENT_MEDIATE_AGENT_KEY_FILEPath to your Ed25519 PKCS#8 PEM agent key file (default: ~/.agent-mediate/agent-key.pem; created mode 0600 if missing)AGENT_MEDIATE_PLATFORM_DIDPlatform Ed25519 did:key pinned out of band (required in production and on Base mainnet eip155:8453)AGENT_MEDIATE_EXPECTED_ENVExpected signed outcome environment (e.g. production)AGENT_MEDIATE_EXPECTED_RULES_HASHOptional 64-character lowercase hex SHA-256 mechanism rulesHash pinAGENT_MEDIATE_WEBHOOK_URLOptional operator-pinned https:// webhook URL for party-only dispute eventsAGENT_MEDIATE_A2A_CARD_URLOptional operator-pinned https:// A2A Agent Card URL for standing notificationsAGENT_MEDIATE_NOTIFY_EMAILOptional operator-pinned email address for dispute notificationsAGENT_MEDIATE_ALLOW_DYNAMIC_WEBHOOKSSet 'true' to allow model-supplied notification URLs/emails when unpinned (default false)AGENT_MEDIATE_MANDATE_FILEOptional path to JSON file containing principal-signed mandate(s)