MCP directory
M5

MetaTrader 5 MCP Bridge

by github.com/vincentwongso · v1.4.2 · updated Jun 25, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx mt5-trading-mcp==1.4.2

Environment variables

  • MT5_LOGIN

    MetaTrader 5 account number. Optional: overrides the config file and an already-logged-in terminal.

  • MT5_PASSWORDsecret

    MetaTrader 5 account password. Env-only so it never lands in a config file. Optional when the terminal is already logged in.

  • MT5_SERVER

    MetaTrader 5 broker/trade server name. Optional: overrides the config file and an already-logged-in terminal.

More MCP servers