Mt5 Trading MCP Server
by vincentwongsoio.github.vincentwongso/mt5-trading-mcpv1.4.2
Let an AI agent read and trade a MetaTrader 5 account over MCP, behind a human-approval gate.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Mt5 Trading MCP server
Install in Claude Code
claude mcp add mt5-trading -e MT5_PASSWORD='<mt5-password>' -- uvx mt5-trading-mcpInstall in Cursor
{
"mcpServers": {
"mt5-trading": {
"command": "uvx",
"args": [
"mt5-trading-mcp"
],
"env": {
"MT5_PASSWORD": "<mt5-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mt5-trading": {
"command": "uvx",
"args": [
"mt5-trading-mcp"
],
"env": {
"MT5_PASSWORD": "<mt5-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mt5-trading": {
"type": "stdio",
"command": "uvx",
"args": [
"mt5-trading-mcp"
],
"env": {
"MT5_PASSWORD": "<mt5-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mt5-trading": {
"command": "uvx",
"args": [
"mt5-trading-mcp"
],
"env": {
"MT5_PASSWORD": "<mt5-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MT5_LOGIN | — | — | MetaTrader 5 account number. Optional: overrides the config file and an already-logged-in terminal. |
| MT5_PASSWORD | — | yes | 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. |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-21 · 3mo ago · GitHub
Latest release
2026-07-21 · 3mo ago · GitHub · v1.6.1
Package published
no data · npm/PyPI
Registry entry updated
2026-06-25 · 4mo ago · official registry · v1.4.2
FAQ
›How do I install the Mt5 Trading MCP server in Claude Code?
Run: claude mcp add mt5-trading -e MT5_PASSWORD='<mt5-password>' -- uvx mt5-trading-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Mt5 Trading require an API key?
Yes. It expects MT5_PASSWORD, of which 1 is a secret.
›Can I use Mt5 Trading as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Mt5 Trading in the official MCP registry?
Yes, as io.github.vincentwongso/mt5-trading-mcp.
Alternatives to Mt5 Trading
Other finance & fintech MCP servers.