Skip to main content

MetaTrader 5 MCP Bridge

io.github.vincentwongso/mt5-trading-mcp

v1.4.2Updated Jun 25, 2026stdio · PyPI

Let an AI agent read and trade a MetaTrader 5 account over MCP, behind a human-approval gate.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mt5-trading-mcp -- uvx mt5-trading-mcp==1.4.2

Configuration

3 settings.

  • MT5_PASSWORD
    Env var· optional· secret
    MetaTrader 5 account password. Env-only so it never lands in a config file. Optional when the terminal is already logged in.
  • MT5_LOGIN
    Env var· optional
    MetaTrader 5 account number. Optional: overrides the config file and an already-logged-in terminal.
  • MT5_SERVER
    Env var· optional
    MetaTrader 5 broker/trade server name. Optional: overrides the config file and an already-logged-in terminal.

Listed in the official MCP Registry since Jun 25, 2026. Mirrored daily; last checked Nov 26, 2026.