MTContext connects your MetaTrader terminal to the AI client you already use — there's no single "MTContext app" you have to adopt. Whatever supports the Model Context Protocol (MCP) can talk to your MetaTrader 5 terminal through one hosted endpoint (MetaTrader 4 support is coming soon). This page is the map to every connection guide.
The pattern is the same everywhere
No matter which client you use, the shape of the setup is identical:
- Generate a terminal key in your dashboard and bind it to your terminal (see Activating your license key).
- Point your client at the hosted MCP endpoint,
https://mcp.mtcontext.com/mcp/v1. - Authenticate with one header:
Authorization: Bearer MTMCP-YOUR-TERMINAL-KEY.
Once connected, your client lists the tools your subscription tier includes and you can start asking for prices, indicators, and (on paid tiers) trades. Every client guide below is a concrete version of these three steps.
Pick your client
- Claude Desktop — the most common starting point. See Connecting Claude Desktop.
- Claude Code — for a terminal-based, developer workflow. See Connecting Claude Code.
- Cursor — an AI code editor. See Connecting Cursor.
- Any other MCP client — the standard Streamable HTTP endpoint, plus
mcp-remotefor stdio-only clients. See Connect any MCP client to MetaTrader.
No Python, one file on the terminal side
Whichever client you choose, the MetaTrader side is the same one-file Expert Advisor and no Python — see Do I need Python to use AI with MetaTrader? if that's a concern. The client is just how you talk to it.
Not sure which to use?
If you're new, start with Claude Desktop — it's the smoothest first setup and everything you learn there transfers directly to the other clients, because it's the same terminal key and the same endpoint underneath.
Next steps
Once your client is connected, see Checking prices, bars, and account state for your first read-only prompts.
Start free at mtcontext.com — one key works across every client.