Fullmt5mcpbyleo
@TradeSystemsNique
About Fullmt5mcpbyleo
Complete MCP server for MT5: Through the MCP protocol, it allows [Trades, Orders, History, Graphic Objects, Terminal Logs, Compilation, etc.] (Mirror)
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mt5_mcp_by_leo": {
"command": "PATH_TO_EXE",
"args": [
"PATH_TO_FILE",
"YOUR_TBP_ID",
"YOUR_MT5_ACCOUNT_LOGIN_ID"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is FullMt5McpByLeo?
FullMt5McpByLeo is a production-ready MCP server that enables Claude and other AI assistants to control MetaTrader 5 directly. It is written in C++ with an MQL5 backend, providing access to the full MT5 API for trading, data, and automation operations.
How to use FullMt5McpByLeo?
Download the latest .exe and .ex5 files from the repository releases. Place the .ex5 files in the MT5 terminal’s Experts folder, and the .exe file in an accessible folder. Download the tools.json file to the terminal’s Common\Files folder. Create a config JSON file. Add the server to your Claude Desktop configuration with the path to the EXE, config file, your TBP ID, and your MT5 account login. In MT5, allow WebRequest to 127.0.0.1, enable AutoTrading and DLL imports, then attach the Runner.ex5 and Mt5Mcp.ex5 EAs on a chart. The server will connect and you can execute trades via natural language in Claude.
Key features of FullMt5McpByLeo
- Executes trades with market and pending orders
- Retrieves real-time OHLC and tick data
- Manages indicators, graphic objects, and charts
- Compiles MQL5 code and runs backtests
- Accesses full terminal and account information
- Average response time around 10ms
Use cases of FullMt5McpByLeo
- Automate trading strategies through natural language commands
- Analyze market data and historical deals with AI assistance
- Develop and test Expert Advisors via MQL5 compilation and backtesting
- Manage chart visualizations and annotations remotely
FAQ from FullMt5McpByLeo
What makes this server different from other MT5 MCPs?
Unlike other MCPs that rely on the Python mt5 package, this server uses a C++/MQL5 dual architecture, giving access to the full MQL5 API including chart handling, indicators, and graphic objects.
What are the runtime requirements?
The server requires an EXE from releases (McpServer.exe), an EX5 from releases (Runner and Mt5Mcp EAs), and an active license from TheBotPlace. It runs on Windows with MetaTrader 5 installed.
How is the license activated?
You must purchase McpServerByLeo from TheBotPlace, obtain your TBP ID from your account, and add it to the args array in your Claude Desktop configuration.
Does the server support backtesting?
Yes. It can run historical tests with multiple tick modeling, leverage, optimization criteria, forward mode, and visual mode, without needing .ini files.
What transport methods are supported?
The server supports stdio (via stdin/stdout) and HTTP remote (using httplib and mcp-remote npm package).
Frequently asked questions
What makes this server different from other MT5 MCPs?
Unlike other MCPs that rely on the Python mt5 package, this server uses a C++/MQL5 dual architecture, giving access to the full MQL5 API including chart handling, indicators, and graphic objects.
What are the runtime requirements?
The server requires an EXE from releases (McpServer.exe), an EX5 from releases (Runner and Mt5Mcp EAs), and an active license from TheBotPlace. It runs on Windows with MetaTrader 5 installed.
How is the license activated?
You must purchase McpServerByLeo from TheBotPlace, obtain your TBP ID from your account, and add it to the `args` array in your Claude Desktop configuration.
Does the server support backtesting?
Yes. It can run historical tests with multiple tick modeling, leverage, optimization criteria, forward mode, and visual mode, without needing .ini files.
What transport methods are supported?
The server supports stdio (via stdin/stdout) and HTTP remote (using httplib and mcp-remote npm package).
Basic information
Category
Finance & Commerce
License
NOASSERTION
Transports
stdio
Author
TradeSystemsNique
Submitted by
TradeSystemsNique
More Finance & Commerce MCP servers
Financial Modeling Prep MCP (Model Context Protocol)
imbenrabiA Model Context Protocol (MCP) implementation for Financial Modeling Prep, enabling AI assistants to access and analyze financial data, stock information, company fundamentals, and market insights.
Crypto Fear & Greed Index MCP Server
kukapayProviding real-time and historical Crypto Fear & Greed Index data
Yahoo Finance MCP Server
Alex2Yang97This is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows you to retrieve detailed information about stocks, including historical prices, company information, financial statements, options data, and market news.
AI看线 - A股技术分析与AI预测工具
QuantML-GithubPython-based stock analysis tool that combines traditional technical analysis with AI prediction capabilities. Providing comprehensive stock analysis and forecasting using K-line charts, technical indicators, financial data, and news data. With CMD/WEB/MCP supported.
Polygon.io MCP Server
polygon-ioAn MCP server for Massive.com Financial Market Data
Comments