metatrader-5-for-Chatgpt-Desktop
Verified Safeby jorgearturoyap-debug
Overview
A Model Context Protocol (MCP) server for MetaTrader 5, specifically adapted for ChatGPT Desktop integration to enable trading and market data analysis.
Installation
uv run mt5mcpEnvironment Variables
- MT5_PATH
- MT5_LOGIN
- MT5_PASSWORD
- MT5_SERVER
- MCP_API_KEY
Security Notes
The server explicitly warns that it is publicly exposed via ngrok and recommends setting an `MCP_API_KEY` for authentication. If `MCP_API_KEY` is not configured, the server is open to all connections, which is a significant security risk. The `start_chatgpt.bat` script binds the server to `0.0.0.0` (all interfaces) which is necessary for ngrok but requires careful network security. There are no 'eval' or obvious malicious patterns, and the code relies on the official MetaTrader5 Python API. Users are strongly advised to use a demo account first and configure the API key.
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.
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.