# Trader MCP - Project ## Purpose Trading helpers, strategy control, and a small MCP surface. Keep app logic isolated and the public API compact. ## Architecture - FastAPI app - FastMCP mounted at `/mcp` using SSE at `/mcp/sse` - App-specific logic under `src//*` - State persistence via SQLite (add only as needed) - Logs and pid files under `./logs/` ## MCP surface - `list_strategies` - `get_strategy` - `update_strategy` - `control_strategy` ## Notes - `get_strategy()` can optionally include render and debug data. - `update_strategy()` updates config/state and reconciles. - `control_strategy()` handles `start`, `pause`, `resume`, `stop`, and `reconcile`. ## Routes - `GET /` minimal landing page - `GET /health` liveness - `GET /mcp/sse` MCP SSE endpoint