- year
- 2026
- stack
- Python 3.12, FastAPI, PostgreSQL, Redis, TypeScript MCP server, Docker, GitHub Actions
- size
- ~17,200 lines Python · 2,350 TypeScript · 17 test files
Sentinel Execution MCP
A trading control plane that an AI agent drives through the Model Context Protocol. The agent asks; the engine decides.
Problem
Letting a language model place trades is only safe if the model never holds trading logic. Every decision has to be explainable, reversible and gated.
Approach
- Thin MCP server; all logic lives in the engine.
- Regime classifier scores six strategies per market regime.
- Eight-filter committee: ≥0.65 approves, 0.45–0.65 goes to a human.
Decisions
- Fail fast: if the engine is down, every tool errors with no partial execution.
- Strategies move draft → research → backtest → paper → live, each gate with criteria; paper to live needs a human.
- API keys stored only as SHA-256 hashes.