MCP Server
MCP
MetaTrader 5 MCP Bridge
Let an AI agent read and trade a MetaTrader 5 account over MCP, behind a human-approval gate.
Install
uvx mt5-trading-mcp
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"identifier": "mt5-trading-mcp",
"version": "1.4.2",
"runtimeHint": "uvx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "MetaTrader 5 account number. Optional: overrides the config file and an already-logged-in terminal.",
"name": "MT5_LOGIN"
},
{
"description": "MetaTrader 5 account password. Env-only so it never lands in a config file. Optional when the terminal is already logged in.",
"isSecret": true,
"name": "MT5_PASSWORD"
},
{
"description": "MetaTrader 5 broker/trade server name. Optional: overrides the config file and an already-logged-in terminal.",
"name": "MT5_SERVER"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment