TradeGate: open-source MCP firewall adds 17 deterministic pre-trade gates for AI trading agents

PassionDue4817 · reddit · 2026-11-29

A developer released TradeGate, an MIT-licensed, paper/sandbox-only MCP server that acts as a deterministic pre-trade execution firewall between Claude Desktop/Cursor/Copilot and a paper broker, addressing unreliable LLM-based financial risk control (hallucinated position sizes, duplicate fills from HTTP retries, stale balances, indirect prompt injection via market news).

Key components:

Includes a browser demo with 8 attack scenarios, a GitHub repo (37/37 tests, green CI), architecture docs, and copy-paste MCP config. Both adapters refuse live mode fail-closed.

Original post →

More from coding & agent

coding & agent channel →