freqtrade-mcp

An MCP server that integrates with the Freqtrade cryptocurrency trading bot.

GitHub Stars

72

User Rating

Not Rated

Favorites

0

Views

19

Forks

18

Issues

5

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Python 3.13+: Ensure Python is installed on your system.
Freqtrade: A running Freqtrade instance with the REST API enabled.
Git: Required for cloning the repository.

Installation Steps

1. Clone the Repository

bash
git clone https://github.com/kukapay/freqtrade-mcp.git
cd freqtrade-mcp

2. Install Dependencies

bash
pip install freqtrade-client mcp[cli]

3. Client Configuration

Add the following to your configuration file:
json
"mcpServers": { 
  "freqtrade-mcp": { 
    "command": "uv", 
    "args": [ 
      "--directory", "/your/path/to/freqtrade-mcp", 
      "run", 
      "__main__.py" 
    ], 
    "env": { 
       "FREQTRADE_API_URL": "http://127.0.0.1:8080",
       "FREQTRADE_USERNAME": "your_username",
       "FREQTRADE_PASSWORD": "your_password"
    } 
  } 
}

4. Freqtrade Configuration

Enable the REST API by adding the following to your configuration:
json
"api_server": {
  "enabled": true,
  "listen_ip_address": "127.0.0.1",
  "listen_port": 8080,
  "verbosity": "error",
  "enable_openapi": false,
  "jwt_secret_key": "somethingrandom",
  "CORS_origins": [],
  "username": "Freqtrader",
  "password": "SuperSecret1!",
  "ws_token": "sercet_Ws_t0ken"
}

Additional Resources

Author Information

98

Followers

77

Repositories

0

Gists

0

Total Contributions