MetaTrader 5 MCP Bridge
About
Let an AI agent read and trade a MetaTrader 5 account over MCP, behind a human-approval gate.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MT5_LOGIN MT5_PASSWORD MT5_SERVERClaude Code
claude mcp add --env MT5_LOGIN= --env MT5_PASSWORD= --env MT5_SERVER= mt5-trading-mcp -- uvx mt5-trading-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mt5-trading-mcp","command":"uvx","args":["mt5-trading-mcp"],"env":{"MT5_LOGIN":"","MT5_PASSWORD":"","MT5_SERVER":""}}'
JSON
{
"mcpServers": {
"mt5-trading-mcp": {
"command": "uvx",
"args": [
"mt5-trading-mcp"
],
"env": {
"MT5_LOGIN": "",
"MT5_PASSWORD": "",
"MT5_SERVER": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.