Submit

FLOX MCP Server

@FLOX-Foundation

MCP server for the FLOX trading framework. About 30 tools to run backtests, scaffold strategies, validate for lookahead bias, compute indicators, place orders, and query PnL from Claude/Cursor.
Overview

FLOX MCP Server

MCP server for the FLOX trading systems framework. Provides ~30 tools so coding agents (Claude, Cursor, Cline) can drive a quant trading workflow end-to-end.

Tools

  • run_backtest — run a strategy against a recorded tape (.floxlog)
  • compute_indicator / suggest_indicator — built-in indicator library
  • scaffold_strategy — generate a new strategy from a template
  • validate_strategy_no_lookahead — static lookahead-bias check
  • place_order, cancel_order, flatten_positions — execution
  • get_pnl, get_positions, get_open_orders — runtime queries
  • explain_decision, get_event_log — explainability
  • and more

Install

pip install flox-mcp
flox-mcp init

Background FLOX is a C++23 trading framework with polyglot strategy bindings (Python, Node, Codon, embedded QuickJS). Same strategy code runs from recorded-tape backtest, to PaperBroker (live data, simulated fills), to a real broker (CcxtBroker or native connectors for Bybit/Bitget/Hyperliquid/Polymarket).

Repo: https://github.com/FLOX-Foundation/flox PyPI: https://pypi.org/project/flox-mcp/

Server Config

{
  "mcpServers": {
    "flox": {
      "command": "flox-mcp",
      "args": []
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.