MT5 MCP Server
by martinsgirss
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | No | Python path for the project directory, e.g. C:\Users\YourName\mt5_mcp_server | |
| SAFETY_MODE | No | Safety mode. Default is 'demo' which refuses to operate if the logged-in account is not demo. Set to 'live' to enable real trading. | demo |
| MAX_LOT_SIZE | No | Maximum lot size for any single order. Default is 1.0. | 1.0 |
| MT5_TERMINAL_PATH | No | Path to the MT5 terminal if auto-detect fails. | |
| MAX_ORDERS_PER_SESSION | No | Maximum number of orders per session. Default is 20. Resets on server restart. | 20 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues