Metatrader-5-MCP-UI
by Cloudmeru
Overview
AI-powered trading assistant that bridges LLMs to MetaTrader 5 via the Model Context Protocol (MCP) for real-time market analysis, technical indicators, and ML-based forecasting.
Installation
python -m mt5_mcp_uiEnvironment Variables
- MCP_URL
- LLM_API_KEY
- OPENAI_API_KEY
- LLM_PROVIDER
- LLM_MODEL
Security Notes
The presence of the `execute_mt5` tool, which explicitly allows 'Execute custom Python code against MT5,' introduces a critical remote code execution (RCE) vulnerability. An LLM agent, if prompted maliciously or if an attacker gains control, could instruct this tool to execute arbitrary Python code, potentially compromising the host system or MetaTrader 5 instance. While API keys are handled via environment variables, which is a good practice, this does not mitigate the inherent RCE risk posed by this tool. Running the server with `--host 0.0.0.0` exposes it to the network, increasing the attack surface.
Similar Servers
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.
mcp-metatrader5-server
Allows AI assistants to control MetaTrader 5 terminal for trading operations and market data analysis.
trading212-mcp-server
This server provides a Model Context Protocol (MCP) interface for seamless data connectivity and advanced interaction capabilities with the Trading212 trading platform.