MCP Servers / development / mt5-mcp-by-leo

mt5-mcp-by-leo

JSON →
stdionone1development

Complete MCP server for MT5: Through the MCP protocol, it allows [Trades, Orders, History, Graphic Objects, Terminal Logs, Compilation, etc.]

Install
How to run this server

No install command recorded.

server path: mt5-mcp-by-leo
Tools
What this server exposes
Open Positions
Execute market trades (buy/sell) with immediate or pending orders
Position Management
Modify stops/profits, close positions (full or partial)
Order Management
Create, modify, and cancel pending limit/stop orders
Trading History
Query completed deals with profit/loss analysis
OHLC Data
Retrieve candlestick data (open, high, low, close, volume, spread, etc.)
Tick Data
Retrieve tick data (last, ask, bid, flags, etc.)
Symbol Information
Get symbol properties (digits, spreads, swaps, volumes)
Market Watch
Manage symbol selection and availability
Draw Objects
Create trend lines, rectangles, text labels, arrows
Object Properties
Modify colors, styles, prices, text
Chart Annotations
Add visual markers and indicators to charts
Chart Operations
Open, close, list active charts
Chart Properties
Read chart dimensions, colors, price ranges
Visual Updates
Force chart redraw for real-time updates
Compilation
Compile MQL5 source to EX5 bytecode
Backtesting
Run historical tests with multiple tick modeling
EA Execution
Run Expert Advisors in real-time
Logging
Retrieve EA logs for debugging and monitoring
Terminal and Account Info
Obtain terminal and account info (integer, string, double)
Configuration
Environment & auth
authnone
envYOUR_TBP_ID
envYOUR_MT5_ACCOUNT_LOGIN_ID
Resources
mt5-mcp-by-leo — MCP Server · libregistry