Skip to main content
Glama

fxapis — MetaTrader 5

Server Details

Read and trade MT5 accounts, read-only unless you allow, plus MarketLabs calendar, COT and research.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.6/5.0

Scored across 36 tools

Disambiguation3/5

The trading core is clearly separated (place/cancel/close/modify against orders, positions and multi-account orders), but several read tools overlap heavily: get_account, get_account_status, get_account_figures and get_account_overview all answer 'what is this account doing', and get_marketlabs_snapshot/research/today plus get_symbol_snapshot vs get_quotes+calculate require reading descriptions closely to pick correctly. Boundaries are documented, so an agent can recover, but misselection is plausible.

Naming Consistency4/5

Almost everything is snake_case with a verb-first pattern (get_*, list_*, place_*, cancel_*, close_*, modify_*, search_*), and the marketlabs_* prefix reliably groups the research tools. A few outliers break the pattern — the bare verb `calculate` and the phrasal `bring_accounts_online` / `take_account_offline` — and `get_symbol_snapshot` vs `get_marketlabs_snapshot` reuse 'snapshot' for different things.

Tool Count2/5

36 tools is well past the point of easy scanning, and the surface is split across three loosely related domains (MT5 account/terminal control, order execution, and MarketLabs research). Several tools are thin variants of each other (four account-read tools, three overlapping research tools), so the count feels inflated rather than earned.

Completeness3/5

Coverage is broad and coherent: account lifecycle, market and pending orders, multi-account fan-out, position modify/close, deals history, quotes, bars, symbols, market hours and research. However, there are real gaps — pending orders cannot be modified (only cancel_order), there is no bulk 'close everything' or flatten-account operation, and no broker/account provisioning beyond listing and server search.

Publisher details

Operator
3-102-116935 S.R.L. (fxapis) · Publisher source
Operator website
https://fxapis.com
Vendor relationship
Independent · Publisher source
Trust center
Not provided
Restrictions
Requires an fxapis account and a paid plan (Personal from $9/month; Pro, Production, Business). A 14-day free trial is available with no card, limited to demo MT5 accounts (up to 5). Users connect their MetaTrader 5 account to fxapis first; any MT5 broker or prop firm works. Sign-in is OAuth with the fxapis account; no custom OAuth app needed. Trading is optional; a read-only connector is also available at https://api.fxapis.com/mcp/insights. · Publisher source

Available Tools

36 tools
bring_accounts_onlineBring accounts onlineA
Idempotent
Inspect

Starts each account's MT5 terminal in the cloud and logs it in; poll get_account_status until ready. Places no trades and is safe to repeat. Example: {"account_ids": [""]}

Inputs: account_ids (required). Returns: results

calculateMargin or profitA
Read-onlyIdempotent
Inspect

The margin an order would need, or its profit between two prices, as the broker computes it; opens nothing. The account must be online. Example: {"account_id": "", "kind": "margin", "symbol": "EURUSD", "side": "buy", "volume": "0.10", "price": "1.08450"}

Inputs: kind (required), side (required), price (required), symbol (required), +4 more. Returns: kind, value

cancel_multi_account_orderCancel a multi-account orderA
DestructiveIdempotent
Inspect

Calls off a multi-account order on the user's real broker accounts (or demo) before anything is sent. Once orders went out, close the positions with close_multi_account_order instead. Example: {"multi_account_order_id": "", "idempotency_key": ""}

Inputs: idempotency_key (required), multi_account_order_id (required). Returns: multi_account_order

cancel_orderCancel a pending orderA
DestructiveIdempotent
Inspect

Cancels a pending order on the user's real broker account (or demo) that has not triggered. If it triggered there is a position to close instead. Example: {"order_id": "", "idempotency_key": ""}

Inputs: order_id (required), idempotency_key (required). Returns: order

close_multi_account_orderClose a multi-account order's positionsA
DestructiveIdempotent
Inspect

Closes, on the user's real broker accounts (or demo), the positions a settled multi-account order opened, every account at once, and reports each account: closed, not_found, rejected, unresolved or skipped. Confirm it with the user first; reuse an idempotency_key only to retry the same close. Example: {"multi_account_order_id": "", "idempotency_key": ""}

Inputs: idempotency_key (required), multi_account_order_id (required), account_ids. Returns: close

close_positionClose a positionA
DestructiveIdempotent
Inspect

Closes a position on the user's real broker account (or demo), whole or by volume. Sent twice it opens the opposite position, so reuse an idempotency_key only to retry the same close. Example: {"account_id": "", "position_id": "", "idempotency_key": ""}

Inputs: account_id (required), position_id (required), idempotency_key (required), volume, +3 more. Returns: order

get_accountGet an accountB
Read-onlyIdempotent
Inspect

One account: login, broker, state, environment, and its last-read balance, equity and free margin. Example: {"account_id": ""}

Inputs: account_id (required), response_format. Returns: account

get_account_figuresGet balance, equity and marginA
Read-onlyIdempotent
Inspect

Balance, equity, margin, free margin and margin level as decimal strings in the account currency, read every 15 s while online. Set fresh to ask the terminal now (the account must be ready). Example: {"account_id": "", "fresh": true}

Inputs: account_id (required), fresh, response_format. Returns: figures

get_account_overviewAccount overviewA
Read-onlyIdempotent
Inspect

One account in one call: state, environment, balance and equity, and its largest open positions with their total P/L. Start here when asked how an account is doing. Example: {"account_id": ""}

Inputs: account_id (required), top, response_format. Returns: account, positions

get_account_statusPoll account stateA
Read-onlyIdempotent
Inspect

Just an account's state, cheap enough to poll every few seconds after bring_accounts_online until ready. States invalid_credentials, needs_2fa, needs_certificate and trading_disabled need the user, so stop polling. Example: {"account_id": ""}

Inputs: account_id (required), response_format. Returns: status

get_market_hoursMarket hoursA
Read-onlyIdempotent
Inspect

Whether a market is open now on this account's broker, and when it next opens or closes, in UTC. A broker holiday missing from its schedule still refuses orders. Example: {"account_id": "", "instrument": "XAUUSD"}

Inputs: account_id (required), symbol, instrument, response_format. Returns: hours

get_marketlabs_calendarMarketLabs economic calendarA
Read-onlyIdempotent
Inspect

Official economic releases and central-bank rate decisions for the currencies you name (such as USD, EUR, GBP) between two dates: when each is due (UTC), the period it covers, the actual and previous figures once the publisher releases them, its status and its source. Impact is fxapis' own ranking, not a forecast, and there is no consensus forecast yet. PMI surveys show release dates only. Defaults to the next 7 days for every currency. Read-only.

Inputs: to, from, kind, impact, +1 more. Returns: calendar

get_marketlabs_newsMarketLabs headlinesA
Read-onlyIdempotent
Inspect

Recent headlines for a currency pair or metal (such as EURUSD or XAUUSD), or for every currency when no symbol is given: the headline, the outlet's name, its time and link, and, when available, a short summary written by fxapis from the headline, not the article. Read-only.

Inputs: limit, symbol. Returns: news

get_marketlabs_researchMarketLabs researchA
Read-onlyIdempotent
Inspect

The latest MarketLabs research briefing for a watchlist pair (such as EURUSD or AUDNZD): a lean per horizon (1d, 1w) with its confidence, the evidence each claim cites, upcoming official events and what would change the view. Research, not trading advice: it places nothing, and any trade still needs the person's confirmation.

Inputs: symbol (required), track_record. Returns: research, track_record

get_marketlabs_snapshotMarketLabs snapshotA
Read-onlyIdempotent
Inspect

A snapshot of your MarketLabs watchlist: each pair's last price, one-day change and 20-day realised volatility, plus relative currency strength over 20 days. With a symbol, also that pair's last 90 days of prices, volatility, positioning and events. Research, not trading advice; places nothing; any trade needs the person's confirmation.

Inputs: symbol. Returns: snapshot

get_marketlabs_todayMarketLabs today for youA
Read-onlyIdempotent
Inspect

Today for you: the next hours (default 48) of official events for the currencies you hold or watch, your open positions and pending orders against them, each pair's research lean, and what changed in the last 24 hours (released figures, changed leans, headlines). Times in UTC. Research, not trading advice; places nothing; any trade needs the person's confirmation.

Inputs: hours, time_zone. Returns: today

get_multi_account_orderFollow a multi-account orderA
Read-onlyIdempotent
Inspect

One multi-account order and each account's result; poll it after placing one. An account left unresolved must not be resent, so poll its order instead. Example: {"multi_account_order_id": ""}

Inputs: multi_account_order_id (required), response_format. Returns: multi_account_order

get_orderGet an orderA
Read-onlyIdempotent
Inspect

The authoritative record of one order: what was asked, the broker's answer, fill volume and price. Poll it after ORDER_UNRESOLVED until it leaves unknown. Example: {"order_id": "", "include_deals": true}

Inputs: order_id (required), include_deals, response_format. Returns: deals, order

get_price_historyGet price historyA
Read-onlyIdempotent
Inspect

Recent price bars (candles: open, high, low, close, tick volume, spread) for one symbol from this account's broker, oldest first with bar-open times in UTC, for technical analysis such as trend, support and resistance, volatility or moving averages; timeframes M1 to MN1, up to 500 bars, the last bar still forming, and tick volume counts price changes rather than traded lots. The account must be online; an account whose terminal is not yet updated — rare — answers CAPABILITY_UNAVAILABLE instead, so use get_quotes for the current price meanwhile. Example: {"account_id": "", "instrument": "XAUUSD", "timeframe": "H1", "count": 100}

Inputs: timeframe (required), account_id (required), count, symbol, +1 more. Returns: rows, symbol, columns, timeframe

get_quotesGet live pricesA
Read-onlyIdempotent
Inspect

Live bid and ask for up to 20 symbols or instruments from this account's broker; a closed market answers its last price with marketOpen false. The account must be online. Example: {"account_id": "", "instruments": ["EURUSD"]}

Inputs: account_id (required), symbols, instruments, response_format. Returns: quotes

get_symbol_snapshotSymbol snapshotA
Read-onlyIdempotent
Inspect

One symbol on one account in one call: its specification, live quote, whether the market is open, and the margin for a volume. Use it before proposing a trade. Example: {"account_id": "", "instrument": "XAUUSD", "volume": "0.10", "side": "buy"}

Inputs: account_id (required), side, symbol, volume, +2 more. Returns: quote, margin, market, symbol, +2 more

get_usageThis month's usageA
Read-onlyIdempotent
Inspect

This month's usage against the plan, and its cost so far in minor units (9900 is $99.00). Over quota opening is refused, closing never is. Example: {}

Inputs: response_format. Returns: plan, usage

get_workspaceWorkspace and planA
Read-onlyIdempotent
Inspect

This connection's workspace: its plan, the plan's limits and features, and whether trading is switched off. Call it first when unsure what the user can do. Example: {}

Inputs: response_format. Returns: features, workspace, entitlements

list_account_instrumentsMap instruments to an account's broker symbolsA
Read-onlyIdempotent
Inspect

Each instrument's symbol on this account's broker: mapped, ambiguous (with candidates) or missing. Trade the mapped symbol. Example: {"account_id": "", "query": "XAU"}

Inputs: account_id (required), limit, query, cursor, +1 more. Returns: hint, items, total, truncated, +1 more

list_accountsList MT5 accountsA
Read-onlyIdempotent
Inspect

The workspace's MT5 accounts with id, login, server, state and environment (demo or live); use the id, not the login, everywhere else. Only ready accounts trade, so bring the others online first. Example: {"limit": 25}

Inputs: limit, cursor, response_format. Returns: hint, items, total, truncated, +1 more

list_dealsList dealsA
Read-onlyIdempotent
Inspect

An account's deal history as the broker recorded it, newest first, including stops that fired, swaps and manual trades. Realised profit is here. Example: {"account_id": "", "since": "2026-10-01T00:00:00Z"}

Inputs: account_id (required), limit, since, until, +3 more. Returns: hint, items, total, truncated, +1 more

list_instrumentsList instrumentsA
Read-onlyIdempotent
Inspect

Markets named once (XAUUSD, US30, BTCUSD) whatever each broker calls them. list_account_instruments gives one account's own symbol for each. Example: {"category": "metals"}

Inputs: category, response_format. Returns: instruments

list_multi_account_ordersList multi-account ordersA
Read-onlyIdempotent
Inspect

Recent multi-account orders (one trade on many accounts), each with its per-account result. Pages with limit and cursor. Example: {}

Inputs: limit, cursor, response_format. Returns: hint, items, total, truncated, +1 more

list_ordersList ordersA
Read-onlyIdempotent
Inspect

Orders placed through fxapis, newest first, for one account or all; state unknown means still being confirmed, so never resend those. Pages with cursor. Example: {"state": "unknown"}

Inputs: limit, since, state, until, +4 more. Returns: hint, items, total, truncated, +1 more

list_positionsList positionsA
Read-onlyIdempotent
Inspect

Open positions on one account as last observed; brokerPositionId is what close_position and modify_position take. Pages with limit and cursor. Example: {"account_id": ""}

Inputs: account_id (required), limit, cursor, include_closed, +1 more. Returns: hint, items, total, truncated, +1 more

modify_positionMove stop loss / take profitA
DestructiveIdempotent
Inspect

Moves a position's stop loss or take profit on the user's real broker account (or demo); null removes a level. Remove a stop loss only when the user asks. Example: {"account_id": "", "position_id": "", "stop_loss": "1.08000", "idempotency_key": ""}

Inputs: account_id (required), position_id (required), idempotency_key (required), stop_loss, +1 more. Returns: order

place_market_orderPlace a market orderA
DestructiveIdempotent
Inspect

Opens a position at market on the user's real broker account (or demo) and waits for the broker; confirm account, symbol, side and volume with the user first. On ORDER_UNRESOLVED never resend, poll get_order. Example: {"account_id": "", "symbol": "EURUSD", "side": "buy", "volume": "0.10", "idempotency_key": ""}

Inputs: side (required), symbol (required), volume (required), account_id (required), +6 more. Returns: order

place_multi_account_orderPlace one trade on many accountsA
DestructiveIdempotent
Inspect

Places the same market order on many of the user's real broker accounts (or demo) at once and returns at once; follow it with get_multi_account_order. Confirm the accounts, symbol, side and volume with the user first. Example: {"account_ids": ["", ""], "instrument": "XAUUSD", "side": "buy", "volume": "0.01", "idempotency_key": ""}

Inputs: side (required), volume (required), account_ids (required), idempotency_key (required), +10 more. Returns: multi_account_order

place_pending_orderPlace a limit or stop orderA
DestructiveIdempotent
Inspect

Places a limit or stop order on the user's real broker account (or demo) that waits at the broker; success means working, not filled. Confirm it with the user first. Example: {"account_id": "", "symbol": "EURUSD", "side": "buy", "kind": "limit", "volume": "0.10", "price": "1.08000", "idempotency_key": ""}

Inputs: kind (required), side (required), price (required), symbol (required), +9 more. Returns: order

search_broker_serversSearch broker serversA
Read-onlyIdempotent
Inspect

MT5 broker servers matching a broker or server name, servers seen working on fxapis first. A server not listed can still be used. Example: {"query": "icmarkets"}

Inputs: query (required), response_format. Returns: servers

take_account_offlineTake an account offlineA
Idempotent
Inspect

Stops an account's terminal; open positions and their stops stay at the broker. Refused while an order is in flight. Example: {"account_id": ""}

Inputs: account_id (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables access to MetaTrader5 market data and trading functionality, including real-time quotes, historical OHLCV data, tick data, symbol information, and technical indicators for forex and other trading instruments.
      23
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects AI apps over OAuth to hosted MetaTrader 5 accounts, letting them read accounts, positions, orders and history, place, change and close trades idempotently, and set up TradingView alert hooks with per-workspace scopes.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to read MetaTrader 5 account balances, positions, and price history; place and manage orders; upload and attach Expert Advisors; and configure copy trading between accounts.
      21
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read and execution access to multiple MetaTrader 5 accounts, allowing an AI assistant to manage positions, P&L, prices, indicators, history, logs, and trades across accounts.
      1
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources