Skip to main content
Glama
shubhvisputek

Meta-Trader-MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MTM_MODENoRuntime mode: auto, windows-native, local-wine, remote-bridgeauto
MT5_LOGINNoMT5 account number (optional)
MT5_SERVERNoBroker server name (optional)
MTM_MAX_LOTNoRisk: max volume of a single order10.0
MT5_PASSWORDNoMT5 password (optional, stored in keychain via .mcpb)
MTM_HTTP_HOSTNoHTTP bind host127.0.0.1
MTM_HTTP_PORTNoHTTP bind port8000
MTM_TRANSPORTNostdio or httpstdio
MTM_REMOTE_HOSTNoCompanion bridge host for remote-bridge mode
MTM_REMOTE_PORTNoCompanion bridge port8080
MTM_WINE_BINARYNoWine launcher binarywine64
MTM_WINE_PREFIXNoWine prefix for MT5~/.mt5
MT5_TERMINAL_PATHNoExplicit terminal64.exe path
MTM_STOP_WITH_MT5NoStop supervised server when MT5 exitstrue
MTM_WATCH_PROCESSNoProcess to watch for supervise commandterminal64.exe
MTM_ENABLE_TRADINGNoMust be true for state-changing toolsfalse
MTM_MAX_DRAWDOWN_PCTNoRisk: equity-drawdown ceiling5.0

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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