Back to Home
emerzon icon

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

Run Command
python webui.py

Environment 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

Stats

Interest Score23
Security Score3
Cost ClassHigh
Avg Tokens10000000
Stars1
Forks0
Last Update2026-01-05

Tags

MetaTrader5Financial AnalysisAlgorithmic TradingTime Series ForecastingTechnical Indicators