M

MetaTrader 5 MCP Bridge

MCP server · by vincentwongso

Developer Tools Python v1.4.2

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.4.2

Python
uvx mt5-trading-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "mt5-trading-mcp": {
      "command": "uvx",
      "args": [
        "mt5-trading-mcp"
      ],
      "env": {
        "MT5_PASSWORD": "<YOUR_MT5_PASSWORD>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • MT5_LOGIN — MetaTrader 5 account number. Optional: overrides the config file and an already-logged-in terminal.
  • MT5_PASSWORD secret — 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.

GitHub

⭐ 5 stars · 最近更新于 50 天前 · MIT license

About this server

Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install MetaTrader 5 MCP Bridge?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is MetaTrader 5 MCP Bridge free to use?

The MCP server itself is free to install. The source is public on https://github.com/vincentwongso/mt5-trading-mcp. Any third-party service it calls may require its own API key and account.

Which clients support MetaTrader 5 MCP Bridge?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/mt5-trading-mcp.svg)](https://mcpnav.net/server/mt5-trading-mcp/)

HTML

<a href="https://mcpnav.net/server/mt5-trading-mcp/"><img src="https://mcpnav.net/badge/mt5-trading-mcp.svg" alt="Listed on MCPNav" height="20"></a>