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)
Basic information
Category
Finance & Commerce
License
NOASSERTION
Runtime
mql4
Transports
stdio
Publisher
TradeSystemsNique
Submitted by
TradeSystemsNique
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).
More Finance & Commerce MCP servers
AKShare One MCP Server
zwldarrenMCP server that provides access to Chinese stock market data using akshare-one
Defeatbeta Api
defeat-betaAn open-source alternative to Yahoo Finance's market data APIs with higher reliability.
Awesome Crypto MCP Servers
badkkA collection of crypto MCP servers.
Armor Crypto MCP
armorwalletThe MCP server for interacting with Blockchain, Swaps, Strategic Planning and more.
Crypto Sentiment MCP Server
kukapayAn MCP server that delivers cryptocurrency sentiment analysis to AI agents.
Comments