Drag one EA file onto a chart. MTContext bridges your MetaTrader terminal to the Model Context Protocol — letting Claude, Cursor, or any MCP client read markets, manage positions, and execute trades through natural language.
{
"mcpServers": {
"mtcontext": {
"type": "http",
"url": "https://mcp.mtcontext.com/mcp/v1",
"headers": {
"Authorization": "Bearer YOUR_LICENSE_KEY"
}
}
}
}That’s the entire integration — one config block, then ask your AI anything.
No local server. No Python. No DLLs. Just an EA and a license key.
Drop a single .ex5 or .ex4 onto any MetaTrader chart. No Python, no local server, no command line — just your terminal and the cloud.
Claude, Cursor, or any MCP-compatible AI client can read live prices, place orders, modify positions, and pull indicators — all through plain English.
Every command carries a command_id for deduplication. Trading tools require dry_run: false explicitly. Margin and lot-size are validated before dispatch.
Ticks, OHLCV, spreads, account equity, open positions, order history, technical indicators, economic calendar — all surfaced as MCP tools.
RS256 JWT architecture — paste your license key into the EA, and the MCP endpoint auto-refreshes session tokens. No OAuth flows in MetaTrader.
MT5 uses native WebSocket. MT4 uses HTTP long-polling via WebRequest — no DLLs required on either platform.
Four steps from zero to AI-powered trading.
Grab the .ex5 (MT5) or .ex4 (MT4) file from your dashboard after signing up.
Drag the EA onto any chart in MetaTrader. Paste your license key into the input field and click OK.
Copy the one-line config snippet from your dashboard into claude_desktop_config.json or your Cursor MCP settings.
Ask your AI: "What's the current EURUSD spread?" or "Place a 0.01 lot buy on XAUUSD with 50-point stop loss." Done.
Start free. Upgrade when you need trading tools or more terminals.
Try it out with read-only data.
Full trading for individual traders.
Scale across your trading desk.
How MTContext compares to self-hosted MetaTrader MCP servers — and what’s safe to try.
No. Unlike open-source MetaTrader MCP servers that require installing Python and running a local server, MTContext needs only a single Expert Advisor file dragged onto a chart. There is nothing to install on your computer beyond that one file.
Yes. MT5 connects over a native WebSocket and MT4 uses HTTP long-polling via WebRequest — no DLLs are required on either platform. Most MetaTrader MCP tools only support MT5.
MTContext is built for real money. Every trade-affecting request defaults to a dry run that shows exactly what would happen without touching your account, and nothing executes until you explicitly confirm. Lot size and margin are validated against your broker's limits before any order is dispatched.
Any MCP-compatible client — Claude Desktop, Claude Code, Cursor, or a custom app. You paste a one-line configuration into your client and connect using a license key tied to your account.
Self-hosted servers run locally, require Python and command-line setup, usually support only MT5, and have no safety layer or support. MTContext is cloud-hosted, works with MT4 and MT5, defaults trades to dry run, and needs only one file — so non-developers can use it.
More questions? Read the documentation or browse the help center.
Free tier available. No credit card required to get started.