FLOX-Foundation/flox
FreeFLOX 交易系统框架的 MCP 服务器,约 30 个工具:运行回测、生成策略模板、检测前瞻偏差、下单、查询盈亏,通过 Claude/Cursor 调用。同一份策略代码从回测到模拟到实盘运行(CcxtBroker 或原生连接器)。
About FLOX-Foundation/flox
flox-mcp is an open-source Model Context Protocol (MCP) server that gives AI agents (Cursor, Claude Code, Cline) grounded access to the FLOX trading framework's C-API surface, error catalog, and indicator library. It runs locally on the developer's machine over stdio, providing 13 tools for tasks such as listing indicators, looking up error codes, searching C-API functions, validating Python strategy code, explaining event structs, resolving symbol names across bindings, generating strategy templates, running backtests in a sandboxed subprocess, computing indicators, and suggesting indicators from natural language descriptions. The server is installed via pip and initialized with a single command, integrating seamlessly into existing MCP-compatible IDEs.
Key Features
Pros & Cons
- Free and open-source
- Comprehensive toolset specifically designed for FLOX trading framework developers
- Local execution ensures privacy and low latency
- Integrates with multiple popular AI coding agents
- Includes sandboxed backtesting with resource limits to prevent runaway processes
- CI ensures strategy templates do not quietly rot
- Tied to the FLOX trading framework (not a general-purpose MCP server)
- Backtesting sandbox lacks filesystem and network isolation (MVP state)
- Requires local installation of Python (and Node for Node-based tools)
- No hosted or cloud version available
- Natural-language indicator suggestion is a pure keyword heuristic (no LLM), may need manual confirmation