mt5-mcp
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., "@mt5-mcpwhat's the current price of EURUSD?"
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.
MT5-MCP
MT5-MCP is an MCP (Model Context Protocol) server exposing MetaTrader 5 — market data, live streaming with a durable log, and full order/position lifecycle management — as tools for AI agents (Claude, Cursor, or any MCP-aware client). Runs locally over stdio against the MT5 terminal already installed on this machine; MetaTrader 5 is the only backend connector for now.
Current status: Construction, Bolt 1 shipped. Server skeleton, MCP stdio transport, and response envelope are live — no real MT5 connection yet (Bolt 2).
Docs
AI-DLC Inception charter — purpose, scope, stack, architecture sketch, safety layer, risks
Tool & data model spec — the full tool surface (market data, streaming, orders, positions, history), data models, filters, error envelope
Construction Bolt backlog — ordered, reviewable units of work; Bolt 5 (order/position tools + safety layer) is the highest-risk item and always requires human review on merge
Related MCP server: MetaTrader 5 MCP Server
Safety note
Order and position tools default to a dry-run/paper mode — see INCEPTION.md's "Safety layer" section before touching Bolt 5. Live (non-demo) account use is a distinct, explicit future decision, not implied by finishing Construction.
Getting started
python -m venv .venv
.venv\Scripts\pip install -e ".[dev]"
.venv\Scripts\pytest -q
.venv\Scripts\mt5-mcp # runs the stdio MCP server (or: python -m mt5_mcp)Copy .env.example to .env if you need to override the MT5 terminal path. No secrets required yet — the current ping tool doesn't touch MT5 at all (that's Bolt 2).
See docs/aidlc/BOLTS.md for what ships next.
This 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
- Alicense-qualityDmaintenanceAn open-source AI trading agent for MetaTrader 5 with MCP support, connecting AI clients to MT5 for market data, analysis, and risk-gated trading.MIT
- Flicense-qualityAmaintenanceEnables AI assistants to connect to MetaTrader 5 for trading, market data access, and account management through the Model Context Protocol.209
- Flicense-qualityDmaintenanceEnables AI applications to interact with MetaTrader 5 terminals via WebSocket MCP protocol for trading operations and account management.4
- 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.MIT
Related MCP Connectors
Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Build, backtest, and deploy quantitative trading strategies from your AI agent.
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/sivaram311/mt5-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server