← Back to MCP list
⚙️

FLOX Trading Framework MCP

v0.6.6
Model DeductionLocal

flox-mcp from FLOX-Foundation/flox, run locally after `pip install flox-mcp`. Free and open source; live/paper trading requires a separate FLOX engine. run_backtest is an MVP sandbox — do not use untrusted code in production.

§ Quickstart

Add the following to your MCP client configuration (Cursor, Claude Desktop, etc.):

pip install flox-mcp && flox-mcp init writes ./.mcp.json; restart your MCP client.

Install:

pip install "flox-mcp[flox]"

MCP Client Configuration

{
  "mcpServers": {
    "flox": {
      "command": "flox-mcp"
    }
  }
}

Config file locations

  • Cursor: Settings → MCP, or edit ~/.cursor/mcp.json
  • Claude Desktop: edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\)

§ Tools Reference

4 tools

run_backtest

Run Python strategy backtest on CSV dataset

ParameterTypeRequiredDescription
strategy_codestringStrategy subclass source
dataset_pathstringAbsolute CSV path

compute_indicator

Compute FLOX indicator on float series

ParameterTypeRequiredDescription
indicatorstringIndicator name

scaffold_strategy

Generate strategy scaffold code

ParameterTypeRequiredDescription
kindstringbar/trade/hybrid

docs_search

Search FLOX documentation

ParameterTypeRequiredDescription
querystringSearch query

§ Examples

Once configured, you can ask the AI directly:

CSV backtest

Use run_backtest to test a simple MA strategy on my BTC CSV

Local CSV backtest