mt-data-mcp
by emerzon
Overview
A MetaTrader5 (MT5) Market Data Provider offering advanced financial analysis capabilities including price forecasting, volatility estimation, pattern detection, technical indicators, and algorithmic trading decision support.
Installation
python webui.pyEnvironment Variables
- MT5_LOGIN
- MT5_PASSWORD
- MT5_SERVER
- TZ
- MTDATA_NF_ACCEL
- CUDA_VISIBLE_DEVICES
- HF_TOKEN
Security Notes
The system utilizes dynamic module loading for forecasting methods (e.g., `GenericSktimeMethod`, `GenericMLForecastMethod`) where a user-provided string specifies the Python class path. If a publicly exposed server allows arbitrary input to these parameters, it creates a severe remote code execution vulnerability, allowing untrusted users to import and execute arbitrary Python code. Additionally, `huggingface_hub_download` in `pretrained.py` can download external models, posing a supply chain risk if models are malicious or compromised. Trading operations (`trading_place`, `trading_modify`, `trading_close`) are inherently high-risk, managing real funds; while implemented using the official MT5 API, their misuse or exploitation requires robust MT5 account-level security and explicit user consent. No direct use of `eval` or `os.system` was found, and MT5 credentials are loaded from environment variables, which is good practice.
Similar Servers
mdk-mcp-server
Provides AI agents with comprehensive SAP Mobile Development Kit (MDK) knowledge and tools to assist in MDK application development, including project creation, artifact generation (pages, actions, i18n, rules), project management (build, deploy, validate, migrate), and documentation access.
mcp-server-csdn
The server automatically publishes Markdown articles to the CSDN platform, acting as a tool called by a Spring AI agent.
Oktopost-MCP
This MCP Server acts as an integration layer for Oktopost's REST API, providing secure and structured access to social media management functionalities (campaigns, posts, approvals) for AI clients and automation tools.
MCP_Server
This project provides a server and client implementation for a custom binary network protocol, enabling low-level communication and packet handling.