FLOX MCP Server
About
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.
Explore
- Run strategies against recorded tape (.floxlog) backtests
- Compute and suggest indicators from built-in library
- Scaffold new strategies from templates
- Validate strategies for static lookahead bias
- Place, cancel, and flatten orders for execution
- Query PnL, positions, and open orders at runtime
- Explain trading decisions and retrieve event logs
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
FLOX MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
``bash``
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/
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
- 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
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"flox mcp server": {
"flox": {
"command": "flox-mcp",
"args": []
}
}
}
}
McpServers
{
"flox": {
"command": "flox-mcp",
"args": []
}
}
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
``bash
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/Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



