{"repo":"chymian/metatrader-mcp","free":true,"listed":false,"github":"https://github.com/chymian/metatrader-mcp","clone":"git clone https://github.com/chymian/metatrader-mcp.git","description":"A MCP-Server to control Metatrader5 for EA optimization","language":"TypeScript","stars":27,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"MetaTrader 5 MCP Server & Distrobox Automation This project provides a fully automated workflow for running, optimizing, and documenting MetaTrader 5 (MT5) Expert Advisors (EAs) using a Distrobox container, a Flask REST API, and an MCP server. --- Features - MetaTrader 5 in Wine/Distrobox : Automated setup and launch. - Flask REST API : Programmatic optimization of EAs, with endpoints for running, monitoring, and saving results. - MCP Server : Unified interface for trading, optimization, and result retrieval. - Automated Documentation : Optimization results are saved as clear HTML and Markdown reports for each EA. - Git Version Control : All code and configuration are versioned from the start. --- Quickstart 1. Distrobox Container Setup To assemble and enter the Distrobox container, run the following commands from the project root: - See src/mt5.ini for a complete, automated Distrobox config. - On container creation, the following are installed and configured: - Wine, MT5, Python3, pip, Flask, MetaTrader5, pandas, jinja2, git, and all required tools. - The Flask API is started automatically. - A git repository is initialized and all files are committed. 2. Flask REST API - Located at src/mt5 flask api.py . - The API is accessible from the host at http://localhost:5000 (port 5000 is published by default; see src/mt5.ini ). - Example: test the API from your host system with: - Endpoints: - POST /optimize : Start an optimization run. - GET /optimization status/ : Check optimizat","default_branch":null,"files":null,"tree":[],"storefront":"/r/chymian","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chymian/metatrader-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}