Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Connect Claude, Cursor, or any MCP-compatible client to a MetaTrader 4 or 5 terminal β no Python, no local server to run.
MTContext is a cloud-hosted, remote MCP server. There's nothing to clone,
build, or pip install from this repo β this repo exists to document the
connection and point at the real thing. (This is intentional: the server
implementation itself is closed-source, cloud infrastructure, not something
you run yourself.)
.ex5 for MT5, .ex4 for MT4 β MT4 support
coming soon) onto a chart in your MetaTrader terminal.dry_run: true until you confirm.MTContext exposes a single remote Streamable HTTP MCP endpoint per account:
Get your real YOUR_LICENSE_KEY from your dashboard
after connecting a terminal β see examples/claude_desktop_config.example.json.
Full tool reference: docs.mtcontext.com. Setup guides and troubleshooting: help.mtcontext.com.
Several open-source MetaTrader MCP servers exist and require installing Python and running a local process yourself, usually MT5-only, with no safety layer beyond what you build. MTContext trades that developer-only setup for a one-file install, MT4 and MT5, and a dry-run-by-default safety model β aimed at traders, not just developers who happen to trade.
The contents of this repository (documentation and examples) are MIT licensed β see LICENSE. This does not cover the MTContext service itself, which is proprietary.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mtcontext)<a href="https://allmcps.com/mcp/mtcontext"><img src="https://allmcps.com/api/badge/mtcontext?style=directory" alt="MTContext on AllMCPs" /></a>