No results
2
AiMCP
nique_372 edited this page 2026-04-19 11:21:55 -05:00
Table of Contents
Subtab: MCP
This subtab allows you to configure and launch the MCP server EA that acts as a bridge between the MT5 panel and an external MCP client (e.g. a Python server with FastMCP).
Configuration fields
Address
IP address or hostname of the MCP server the EA will connect to via socket.
- Default:
127.0.0.1 - Local connection example:
127.0.0.1 - Remote connection example:
192.168.1.100
Port
TCP port of the MCP server.
- Default:
8080 - Must be a value between 1 and 65535
- Must match the port configured in the Python server (
--port)
Pool interval (ms)
How many milliseconds between each time the EA checks the socket for incoming messages.
- Default:
100 - Minimum:
10 - Lower values = faster response but more load on the terminal
Read timeout (ms)
Maximum time in milliseconds the EA will wait when reading socket data on non-TLS connections.
- Default:
5000 - If the server takes longer than this to respond, the read is cancelled
Button: Launch EA
When clicked, the following happens:
- If an MCP EA is already running on a previous chart, that chart is closed first
- A new chart is opened
- The MCP server EA is launched with the parameters configured in the fields above
If any field is invalid (empty address, port out of range, pool less than 10ms) an error message will be shown and the EA will not launch.
Notes
- The MCP EA and the Python server must use the same address and port
- If "Launch EA" is pressed while one is already running, it restarts automatically
- The Panel Chart ID parameter is passed to the EA automatically, no manual configuration is needed
AiTaskRunnerByLeo
QuickStart
Panel
General
Data generation
Feature Editor
Training
AI
Utils
Workflows
Config
External Scripts