MTContext
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MTContextWhat's the current EURUSD bid and ask?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Sign up (free tier: read-only market data, no card required).
Drag one Expert Advisor file (
.ex5for MT5,.ex4for MT4 — MT4 support coming soon) onto a chart in your MetaTrader terminal.Copy your ready-made MCP config snippet from the dashboard and paste it into your client's config.
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: trueuntil you confirm.
Related MCP server: mt5-mcp
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
mtcontext.com — sign up
docs.mtcontext.com — full documentation
help.mtcontext.com — Help Center
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- MIT
- AlicenseAqualityAmaintenanceAn MCP server that lets an AI agent read your MetaTrader 5 account and place trades over the Model Context Protocol, with a configurable human approval gate.Last updated154MIT
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that provides AI assistants like Claude with direct access to MetaAPI trading platform. Trade forex, stocks, and commodities through natural language conversations.Last updated
- Alicense-qualityCmaintenanceA local-first MCP server that bridges AI coding agents with MetaTrader 5 for inspection, market data, MQL5 development, compiling, Strategy Tester review, workspace sync, logs, audit trails, demo trading, and carefully gated live trading.Last updatedMIT
Related MCP Connectors
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
MCP server exposing the Backtest360 engine API as tools for AI agents.
Cloud-hosted MCP server for durable AI memory
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mtcontext/mtcontext-quickstart'
If you have feedback or need assistance with the MCP directory API, please join our Discord server