metatrader5-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@metatrader5-mcp-servershow my current positions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MetaTrader5 AI Integration
This repository provides tools to integrate MetaTrader 5 terminals with AI applications. It includes a Python client library, a WebSocket MCP server, and a REST API based on FastAPI.
Requirements
Python 3.12 or later
Dependencies listed in
requirements.txtA running MetaTrader 5 terminal
Related MCP server: MetaTrader 5 MCP Server
Setup
pip install -r requirements.txtMCP Server
python -m metatrader_mcp.cli serve --login <LOGIN> --password <PASS> --server <SERVER>OpenAPI Server
uvicorn metatrader_openapi.main:app日本語
このリポジトリは MetaTrader 5 ターミナルを AI アプリケーションと統合するためのツールを提供します。Python クライアントライブラリ、WebSocket MCP サーバー、FastAPI ベースの REST API を含みます。
必要条件
Python 3.12 以上
requirements.txtに記載された依存関係実行中の MetaTrader 5 ターミナル
セットアップ
pip install -r requirements.txtMCP サーバー
python -m metatrader_mcp.cli serve --login <LOGIN> --password <PASS> --server <SERVER>OpenAPI サーバー
uvicorn metatrader_openapi.main:appThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- MIT
- Flicense-qualityBmaintenanceEnables AI assistants to connect to MetaTrader 5 for trading, market data access, and account management through the Model Context Protocol.Last updated202
- Alicense-qualityCmaintenanceEnables interaction with MetaTrader 5 for market data, technical analysis, Fibonacci calculations, and trading via MCP clients such as Claude.Last updatedMIT
- Alicense-qualityAmaintenanceExposes a unified AI interface to MetaTrader 5 over the Model Context Protocol, enabling live quotes, historical data, technical indicators, order execution, position management, and headless backtests.Last updatedMIT
Related MCP Connectors
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/geekjapan/metatrader5-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server