Skip to content
Grok

MetaTrader 5 MCP Bridge for Grok

io.github.vincentwongso/mt5-trading-mcp

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

client:Grok transport:stdio runtime:pypi

Install MetaTrader 5 MCP Bridge in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mt5-trading-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mt5-trading-mcp"
      ],
      "env": {
        "MT5_LOGIN": "<MT5_LOGIN>",
        "MT5_PASSWORD": "<MT5_PASSWORD>",
        "MT5_SERVER": "<MT5_SERVER>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

MetaTrader 5 MCP Bridge in other clients