FLOX MCP Server

by FLOX-Foundation

293 downloads
Not rated
GitHub

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.

Details

Author
FLOX-Foundation
Downloads
293
Categories
Developer Tools, Finance, AI

- 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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name FLOX MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with pip and then initialize: pip install flox-mcp followed by flox-mcp init. Tools are called directly by the agent to backtest, generate strategies, place orders, and query runtime state.

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": []
    }
}

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

``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/
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.