Home Connecting Your AI Client Connect any AI client to MetaTrader

Connect any AI client to MetaTrader

Last updated on Jul 26, 2026

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:

  1. Generate a terminal key in your dashboard and bind it to your terminal (see Activating your license key).
  2. Point your client at the hosted MCP endpoint, https://mcp.mtcontext.com/mcp/v1.
  3. 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

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.