By Nima Dorostkar, Trading Systems Engineer — MT5, FIX & broker software · Updated
MCP server development for brokers
Your platform, inside
the AI assistants clients use.
The Model Context Protocol (MCP) is an open standard for connecting AI assistants to outside tools and data. Anthropic introduced it in November 2024, and OpenAI, Google, and Microsoft have since adopted it in their assistants and developer tools. In May 2026, IG Australia launched an MCP server that opens its trading platform to ChatGPT in read-only mode.
We build MCP servers that put a broker's platform inside those assistants on the broker's terms: which tools exist, what data each tool can see, and what needs a human. The server sits behind your MT5 gateway or platform API, applies the same group rules and permissions as your own apps, and logs every call for compliance — the same controls as the rest of our AI for brokers work.
In short
- Nima Dorostkar's team builds Model Context Protocol (MCP) servers for brokers and trading platforms, so AI assistants such as ChatGPT and Claude can work with a client's account through tools the broker defines and controls.
- A broker's MCP server connects to MetaTrader 5, cTrader, the CRM, or a proprietary trade server through the broker's own API gateway, never directly to the trade server.
- Servers launch read-only — balances, positions, history, quotes, and platform help — and any trading tool needs the client's explicit confirmation and the broker's compliance sign-off.
- Every tool call is authenticated with OAuth, scoped to the client's own accounts, rate-limited, and written to an audit log.
What we build
MCP server development:
what's included.
Account & portfolio tools
Balance, equity, margin level, open positions, and trade history for the signed-in client's own accounts — read-only.
Market data tools
Quotes, spreads, symbol specifications, trading hours, and swap rates straight from the platform, not scraped from a web page.
Support & funding status
Deposit and withdrawal status, KYC progress, and platform help, answered from the CRM and your help centre.
Trade tools with confirmation
Optional order tools that only prepare a trade: the client confirms it in your terminal, and it passes your normal margin and risk checks.
OAuth sign-in & scopes
Clients sign in through your own identity provider with OAuth; tokens are scoped per client, account, and tool, and can be revoked at any time.
Internal MCP for your staff
Tools for your own AI agents — exposure by symbol, client 360, payment queues, reports — behind role-based access for the desk, support, and management.
At a glance
Example tools on a broker's MCP server
| Tool | What it returns or does | Access |
|---|---|---|
| get_account_summary | Balance, equity, margin, free margin, and margin level | Read-only |
| list_open_positions | Open positions with volume, open price, and floating P/L | Read-only |
| get_trade_history | Closed deals in a date range, with commissions and swaps | Read-only |
| get_quote | Current bid and ask, spread, and session status for a symbol | Read-only |
| get_symbol_specification | Contract size, leverage, margin rate, swaps, and trading hours | Read-only |
| get_funding_status | Status of the client's deposits, withdrawals, and KYC | Read-only |
| prepare_order | A draft order the client confirms in the broker's own terminal | Client confirmation |
How we build it
Engineered for
real money, from day one.
- 01Read-only first
Launch with tools that only read, see how clients use them, and add anything that moves money or positions later — if at all.
- 02Through your gateway
The MCP server calls the same API gateway as your terminal and apps, so group rules, margin checks, and rate limits apply to AI traffic too.
- 03Least data per tool
Each tool returns only the fields it needs, and personal data stays out of responses unless the tool is about it.
- 04Audited end to end
Every tool call — which client, which assistant, which tool, and what came back — is logged for compliance review.
Platforms & technology
- Model Context Protocol
- TypeScript
- Python
- OAuth 2.1
- MT5 Manager API
- MT5 Web API
- cTrader Open API
- PostgreSQL
- Redis
Questions
MCP server development FAQ
What is an MCP server for a broker?
An MCP server for a broker is a service that exposes the broker's platform to AI assistants through the Model Context Protocol, an open standard for connecting assistants to tools and data. It defines which tools an assistant can call — for example reading a client's balance, open positions, or a symbol's trading hours — and checks the client's identity and permissions on every call.
Can ChatGPT or Claude place trades through a broker's MCP server?
Only if the broker builds a trading tool and its compliance team approves it. We recommend launching read-only. When order tools are added, they prepare an order that the client confirms in the broker's own terminal, and every order passes the same margin and risk checks as any other.
Can you build an MCP server for MetaTrader 5?
Yes. The MCP server talks to MetaTrader 5 through an API gateway on the Manager and Web APIs, so nothing is installed on the MT5 server and the assistant never connects to it directly. The same design works for cTrader, other trading platforms, and a proprietary trade server.
Is it safe to connect client trading accounts to AI assistants?
It can be, with the right controls: OAuth sign-in through the broker's identity provider, tokens scoped to the client's own accounts, read-only tools by default, rate limits, minimal personal data in responses, and an audit log of every call. The broker decides which assistants and tools are enabled and can revoke access at any time.
Can a broker's own staff use an MCP server?
Yes. An internal MCP server gives the dealing desk, support, and management AI agents that can read exposure, client records, payment queues, and reports, behind the same role-based permissions as the back office, with every call logged.
Does a broker need an API gateway before an MCP server?
It helps. An MCP server should call a documented API that already enforces permissions and limits. If the broker has one, the MCP server is built on top of it; if not, an MT5 or platform API gateway comes first and then serves the terminal, the apps, and the MCP server alike.
Start a project
Talk to an engineer about
MCP server development.
Tell us what you run today and what you need. You'll hear back from a senior engineer with questions, a proposed architecture, and a realistic timeline.