Back to Home
Cloudmeru icon

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

Run Command
python -m mt5_mcp_ui

Environment 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

Stats

Interest Score0
Security Score3
Cost ClassHigh
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-02

Tags

mcptradingmetatrader5agentsai-assistant