MetaTrader 4 & 5 → MCP bridge

Trade your MT5 terminal with any AI

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.

claude_desktop_config.json
{
  "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.

Everything your trading AI needs

No local server. No Python. No DLLs. Just an EA and a license key.

One file. Instant connection.

Drop a single .ex5 or .ex4 onto any MetaTrader chart. No Python, no local server, no command line — just your terminal and the cloud.

🤖

Natural-language trading

Claude, Cursor, or any MCP-compatible AI client can read live prices, place orders, modify positions, and pull indicators — all through plain English.

🔒

Built for real money

Every command carries a command_id for deduplication. Trading tools require dry_run: false explicitly. Margin and lot-size are validated before dispatch.

📊

23 market & analytics tools

Ticks, OHLCV, spreads, account equity, open positions, order history, technical indicators, economic calendar — all surfaced as MCP tools.

🔑

License-key auth

RS256 JWT architecture — paste your license key into the EA, and the MCP endpoint auto-refreshes session tokens. No OAuth flows in MetaTrader.

📈

MT4 & MT5 support

MT5 uses native WebSocket. MT4 uses HTTP long-polling via WebRequest — no DLLs required on either platform.

Up and running in minutes

Four steps from zero to AI-powered trading.

01

Download the Expert Advisor

Grab the .ex5 (MT5) or .ex4 (MT4) file from your dashboard after signing up.

02

Attach it to a chart

Drag the EA onto any chart in MetaTrader. Paste your license key into the input field and click OK.

03

Add MTContext to your AI client

Copy the one-line config snippet from your dashboard into claude_desktop_config.json or your Cursor MCP settings.

04

Start trading with language

Ask your AI: "What's the current EURUSD spread?" or "Place a 0.01 lot buy on XAUUSD with 50-point stop loss." Done.

Simple, transparent pricing

Start free. Upgrade when you need trading tools or more terminals.

save ~2 months
Free
$0/month

Try it out with read-only data.

  • 1 terminal
  • Read-only market data
  • Get tick & OHLCV tools
  • Community support
Get started free
Most popular
Pro
$29/month

Full trading for individual traders.

  • 1 terminal
  • All 23 MCP tools
  • Trading: place, modify, close
  • Technical indicators
  • Analytics & audit log
  • Email support
  • ++$19/mo per additional terminal
Coming Soon
Team
$99/month

Scale across your trading desk.

  • 5 terminals
  • Everything in Pro
  • Multi-terminal audit log
  • Priority support
  • ++$19/mo per additional terminal
Coming Soon

Frequently asked questions

How MTContext compares to self-hosted MetaTrader MCP servers — and what’s safe to try.

Do I need to know how to code to use MTContext?

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.

Does MTContext work with MetaTrader 4 as well as MetaTrader 5?

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.

Is it safe to let an AI trade my MetaTrader account?

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.

Which AI clients can connect to MetaTrader through MTContext?

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.

How is MTContext different from a self-hosted MetaTrader MCP server?

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.

Start trading smarter today

Free tier available. No credit card required to get started.