Meta-Trader-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MTM_MODE | No | Runtime mode: auto, windows-native, local-wine, remote-bridge | auto |
| MT5_LOGIN | No | MT5 account number (optional) | |
| MT5_SERVER | No | Broker server name (optional) | |
| MTM_MAX_LOT | No | Risk: max volume of a single order | 10.0 |
| MT5_PASSWORD | No | MT5 password (optional, stored in keychain via .mcpb) | |
| MTM_HTTP_HOST | No | HTTP bind host | 127.0.0.1 |
| MTM_HTTP_PORT | No | HTTP bind port | 8000 |
| MTM_TRANSPORT | No | stdio or http | stdio |
| MTM_REMOTE_HOST | No | Companion bridge host for remote-bridge mode | |
| MTM_REMOTE_PORT | No | Companion bridge port | 8080 |
| MTM_WINE_BINARY | No | Wine launcher binary | wine64 |
| MTM_WINE_PREFIX | No | Wine prefix for MT5 | ~/.mt5 |
| MT5_TERMINAL_PATH | No | Explicit terminal64.exe path | |
| MTM_STOP_WITH_MT5 | No | Stop supervised server when MT5 exits | true |
| MTM_WATCH_PROCESS | No | Process to watch for supervise command | terminal64.exe |
| MTM_ENABLE_TRADING | No | Must be true for state-changing tools | false |
| MTM_MAX_DRAWDOWN_PCT | No | Risk: equity-drawdown ceiling | 5.0 |
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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shubhvisputek/meta-trader-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server