mcp-metatrader5-server
Verified Safeby Qoyyuum
Overview
Allows AI assistants to control MetaTrader 5 terminal for trading operations and market data analysis.
Installation
uv run mt5mcpEnvironment Variables
- MT5_MCP_TRANSPORT
- MT5_MCP_HOST
- MT5_MCP_PORT
Security Notes
The server primarily acts as a bridge to a local MetaTrader 5 terminal. It uses environment variables (loaded via python-dotenv) for its own transport configuration, which is a good practice. Input to trading tools (like order_send) is validated using Pydantic models. There are no obvious signs of 'eval', obfuscation, or malicious network patterns. The server can run in stdio mode (default, generally safer for local client interaction) or HTTP mode (configurable to localhost for development). The primary security risk lies in improper usage by the end-user (e.g., connecting to live trading accounts without robust risk management, exposing the HTTP endpoint publicly) rather than inherent code vulnerabilities. The test_client.py has hardcoded fallback credentials, but this is for a test script and not the main server runtime logic.
Similar Servers
alpaca-mcp-server
Enables natural language trading operations for Alpaca's Trading API via AI assistants, supporting stocks, options, crypto, portfolio management, and real-time market data.
maverick-mcp
Personalized stock analysis, technical indicators, and portfolio optimization via Claude Desktop.
crypto-indicators-mcp
Provides an MCP server with over 50 cryptocurrency technical analysis indicators and strategies to empower AI trading agents in analyzing market trends and developing quantitative strategies.
finance-trading-ai-agents-mcp
A specialized MCP server for financial analysis and quantitative trading, designed to deploy local financial MCP services with a departmental architecture for LLM integration and algorithmic trading.