MTContext

Official registry Finance and payments

Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.

What can you do with MTContext?

  • "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."

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http mtcontext 'https://mcp.mtcontext.com/mcp/v1' --header 'Authorization: <Bearer token — your MTContext license key>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mtcontext": {
            "type": "http",
            "url": "https://mcp.mtcontext.com/mcp/v1",
            "headers": {
                "Authorization": "<Bearer token — your MTContext license key>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. MTContext MCP Quickstart
  2. How it works
  3. Connection
  4. What you can ask it
  5. Why not a self-hosted MCP server?
  6. Links
  7. License

MTContext MCP Quickstart

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.

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.

Frequently asked questions

What is MTContext?

Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.

How do I install MTContext?

It runs as a remote server. In Claude Code: claude mcp add --transport http mtcontext 'https://mcp.mtcontext.com/mcp/v1' --header 'Authorization: <Bearer token — your MTContext license key>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does MTContext need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is MTContext open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains MTContext?

It is published by mtcontext. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.