freqtrade-mcp
- Type
- MCP server
- Scanned
- Nov 17, 2026
- Version
- 6762093f9a29
- Files read
- 6
This MCP server connects an AI assistant to a Freqtrade cryptocurrency trading bot so it can check balances, view market data, and place or manage trades. Its biggest risks are that a tricked AI agent could place unwanted trades or stop the bot, and that the server falls back to publicly known default API credentials matching the setup guide.
What it can reach
- Network
- Connects over HTTP or HTTPS to the configured Freqtrade REST API endpoint (http://127.0.0.1:8080 by default) to fetch market data and send bot commands.
- Secrets
- Reads the Freqtrade API username and password from the FREQTRADE_USERNAME and FREQTRADE_PASSWORD environment variables.
- Other
- Controls the connected Freqtrade trading bot and exchange account, including viewing balances and profit, placing buy or sell orders, editing pair blacklists and trade locks, reloading configuration, and starting or stopping the bot.
Findings
-
MediumHardcoded default API credentials matching sample setup
When FREQTRADE_USERNAME and FREQTRADE_PASSWORD are not set in the environment, the server silently falls back to the hardcoded username Freqtrader and password SuperSecret1!. The README sample Freqtrade configuration instructs users to configure their bot with those exact same credentials (along with a static jwt_secret_key of somethingrandom) without warning them to change the values. A user who follows the sample configuration without setting strong unique secrets leaves their live trading bot API accessible to any local process on the computer, or anyone on the network if the API port is exposed.
Fix: Remove the default fallback values for FREQTRADE_USERNAME and FREQTRADE_PASSWORD so the server refuses to start when credentials are missing, and update the README sample configuration to use obvious placeholders with a warning to generate strong random secrets.
