MTContext MCP Quickstart

MCP serverDev tools

mtcontext links your AI to MetaTrader 4 and 5, so it can read prices, manage your positions, and place trades for you. It is a community-built addition that connects your AI to the MetaTrader trading platforms.

Use MTContext MCP Quickstart in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add MTContext MCP Quickstart and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use MTContext MCP Quickstart

Details

Available today. Use it from your connected AI after setup.

After adding mtcontext, follow the quickstart guide in its GitHub repository at github.com/mtcontext/mtcontext-quickstart to connect it to MetaTrader. Your AI can then start reading prices and handling trades.

MTContext MCP QuickstartStart free

What your AI can do with it

  • Read prices from MetaTrader 4 or 5
  • Manage your open trading positions
  • Place trades through MetaTrader
  • Work with both MetaTrader 4 and MetaTrader 5

Install MTContext MCP Quickstart

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user mtcontext-mcp-quickstart 'https://mcp.mtcontext.com/mcp/v1'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp.mtcontext.com/mcp/v1

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=mtcontext-mcp-quickstart&config=eyJ1cmwiOiJodHRwczovL21jcC5tdGNvbnRleHQuY29tL21jcC92MSJ9

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp.mtcontext.com/mcp/v1

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add mtcontext-mcp-quickstart --url 'https://mcp.mtcontext.com/mcp/v1'

    Run it once, then sign in with codex mcp login mtcontext-mcp-quickstart if the server asks for an account.

From the project's README

As published by mtcontext/mtcontext-quickstart in README.md.

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.)

How it works

  1. Sign up (free tier: read-only market data, no card required).
  2. Drag one Expert Advisor file (.ex5 for MT5, .ex4 for MT4 — MT4 support coming soon) onto a chart in your MetaTrader terminal.
  3. Copy your ready-made MCP config snippet from the dashboard and paste it into your client's config.
  4. Ask your AI client, in plain English, for live prices, account state, indicators, or — when you explicitly allow it — trades. Every trade-affecting call defaults to dry_run: true until you confirm.

Connection

MTContext exposes a single remote Streamable HTTP MCP endpoint per account:

{
  "mcpServers": {
    "mtcontext": {
      "type": "http",
      "url": "https://mcp.mtcontext.com/mcp/v1",
      "headers": {
        "Authorization": "Bearer YOUR_LICENSE_KEY"
      }
    }
  }
}

Get your real YOUR_LICENSE_KEY from your dashboard after connecting a terminal — see examples/claude_desktop_config.example.json.

What you can ask it

  • "What's the current EURUSD bid and ask?"
  • "What's my account balance and open positions?"
  • "Run RSI and MACD on GBPUSD, H1."
  • "Size a position on XAUUSD risking 1% of my equity with a 30-pip stop."
  • "Place a dry-run buy on EURUSD, 0.1 lots, and show me what would happen."

Full tool reference: docs.mtcontext.com. Setup guides and troubleshooting: help.mtcontext.com.

Why not a self-hosted MCP server?

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.

Links

License

The contents of this repository (documentation and examples) are MIT licensed — see LICENSE. This does not cover the MTContext service itself, which is proprietary.

Signals

Last commit
Jul 2026
Advanced
Delivery
mtcontext MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-mtcontext-mtcontext
Source
github.com/mtcontext/mtcontext-quickstart
Hosted endpoint
https://mcp.mtcontext.com/mcp/v1