An AI agent's trading mandate it can't break: checked before every order, reasoning sealed in IRL.
MCPpedia last refreshed this data
io.github.horkos-labs/irl-gateway is an MCP server that an AI agent's trading mandate it can't break: checked before every order, reasoning sealed in IRL. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"irl-gateway": {
"env": {
"IRL_AGENT_ID": "<agent_id from registration>",
"IRL_BASE_URL": "https://norve.dev",
"IRL_API_TOKEN": "…",
"AGENT_MODEL_ID": "claude-opus-5-5",
"IRL_MODEL_HASH": "<the same model_hash_hex>",
"PAPER_BALANCES": "USDT=1000"
},
"args": [
"irl-gateway"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Give your AI agent a trading account it can't misuse, and a record of every decision it can't rewrite.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'irl-gateway' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked irl-gateway against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml / finance
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
The official MCP server implementation for the Perplexity API Platform
Unified real-time search engine skill for AI agents.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
MCP Security Weekly
Get CVE alerts and security updates for io.github.horkos-labs/irl-gateway and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Give your AI agent a trading account it can't misuse, and a record of every decision it can't rewrite.
IRL Gateway is an MCP server that sits between an AI agent (Claude, ChatGPT, or your own) and an exchange account. Every order the agent places goes through the IRL Engine:
MATCHED or DIVERGENT.When something goes wrong, you can prove what the agent was allowed to do, what it said it was doing, and what actually happened.
AI agent ── MCP ──> irl-gateway ──> IRL: authorize (policy + sealed rationale)
│
├──────> exchange: market order (client id = sealed intent)
│
└──────> IRL: bind fill -> MATCHED / DIVERGENT
| Tool | What it does |
|---|---|
execute_trade(symbol, side, rationale, quantity | notional) | The only tool that moves money. Spot market order through authorize → place → bind. Returns filled, denied, blocked, failed or unknown (the venue did not answer and the order may have executed: do not retry; the operator reconciles it), with the IRL trace_id and verdict. |
get_policy() | The agent's mandate as IRL enforces it, plus the local kill-switch state. |
get_quote(symbol) | Last price on the gateway's venue. |
get_balances() | Free balances (paper or exchange). |
get_trace(trace_id) | IRL's sealed record of one trade. |
list_recent_trades(limit) | Local journal: rationale, context hash, trace id and outcome per trade. |
Behaviour the agent can rely on:
~/.irl-gateway/KILL and every trade is refused before IRL is even called. Delete it to resume.uvx. The commands below and the MCP config that init prints run the gateway through uvx, which also fetches a suitable Python for you. Without uv you get uvx: command not found.pipx install irl-gateway or pip install irl-gateway on Python 3.12 or newer (the python3 that ships with macOS is older). Then run irl-gateway instead of uvx irl-gateway, and in your MCP client use the absolute path of the irl-gateway executable as the command.uvx irl-gateway init
That one command gets a free paper-tier token from norve.dev, registers your agent with a starter mandate (BTC/USDT and ETH/USDT, at most 1,000 USDT per order, on paper-binance), saves the credentials to ~/.irl-gateway/agent.json (or $IRL_GATEWAY_HOME, or --home), and prints:
claude mcp add irl-gateway -- uvx irl-gateway line for Claude Code, andmcpServers block for Claude Desktop, Cursor or an