Skip to main content
Glama

FiveSocket MT5 MCP Server

Server Details

Hosted MT5 MCP server: live MetaTrader 5 balance, positions, history, charts and optional trading.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
fivesocket/mt5-mcp-server
GitHub Stars
0
ChatGPT
–
Claude
FiveSocket MT5

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation3/5

Most tools target distinct resources, but the history-reading surface overlaps: export_history_page covers both raw deals and historical orders, overlapping with list_deals and list_historical_orders, and get_account_balance is largely a subset of get_account_snapshot. The descriptions do explain the distinctions (convergence-certified export vs. bounded raw pages vs. derived trade pairings), but an agent must read carefully to pick correctly.

Naming Consistency4/5

Nearly all tools follow a predictable verb_noun pattern (get_candles, list_deals, export_history_page, run_backtest). The only deviations are the noun-only prop_status and the get_account_balance/snapshot family, which remain readable and unambiguous in style.

Tool Count5/5

Twelve tools is well within the well-scoped range and each maps to a distinct read operation (account, positions, candles, symbols, deals, orders, closed trades, prop status, backtest). No tool appears redundant enough to be dropped.

Completeness4/5

The read-only analytics domain is well covered: account state, positions, prices, symbol specs, raw history, derived trades, prop-firm limits, and backtesting. Minor gaps exist — no symbol listing/search or live tick/quote tool, and no order-placement surface, though that appears intentionally out of scope for this read-only server.

Available Tools

12 tools
export_history_pageExport history pageA
Read-onlyIdempotent
Inspect

Read one bounded, convergence-certified export page of raw MT5 deals or historical orders. Follow nextCursor until null; reuse an export recovery token when supplied by history_unsettled.

Inputs: query (required), accountId (required). Returns: object

get_account_balanceGet account balanceA
Read-onlyIdempotent
Inspect

Read live MT5 balance, equity, margin, currency, and source observation metadata for one connected account.

Inputs: accountId (required). Returns: name, login, credit, equity, +11 more

get_account_snapshotGet account snapshotB
Read-onlyIdempotent
Inspect

Read a monitoring snapshot containing live balance, open positions, and a bounded recent-trades page with explicit history state.

Inputs: accountId (required). Returns: login, server, balance, accountId, +9 more

get_candlesGet broker candlesA
Read-onlyIdempotent
Inspect

Read completed OHLC candles from the connected MT5 terminal for an exact symbol. Supply count or a from/to range. Rows are oldest first; paginate backward by keeping from and replacing to with nextTo. No indicators or external price feed are used.

Inputs: query (required), accountId (required). Returns: data, login, nextTo, server, +6 more

get_open_positionsGet open positionsB
Read-onlyIdempotent
Inspect

Read live open MT5 positions and source clock metadata for one connected account.

Inputs: accountId (required). Returns: login, server, accountId, latencyMs, +4 more

get_symbol_specificationsGet symbol specificationsA
Read-onlyIdempotent
Inspect

Read live MT5 contract specifications for between 1 and 50 exact symbol names. Unknown names are returned in missing.

Inputs: symbols (required), accountId (required). Returns: data, login, server, missing, +3 more

list_closed_tradesList closed tradesA
Read-onlyIdempotent
Inspect

Read one bounded page of closed MT5 trades. Supply an explicit initial window end, then reuse nextCursor without from or to.

Inputs: query (required), accountId (required). Returns: data, login, server, accountId, +8 more

list_connected_accountsList connected accountsA
Read-onlyIdempotent
Inspect

List the caller's connected MT5 accounts. Returns durable FiveSocket control-plane state, not live broker data. Status invalid means the broker rejected the stored credentials: skip that account until the user re-links it with its current password.

Inputs: no named parameters. Returns: data

list_dealsList dealsB
Read-onlyIdempotent
Inspect

Read one bounded page of raw MT5 deals with explicit coverage and cursor state. Values are broker source data, not derived trade pairings.

Inputs: query (required), accountId (required). Returns: data, login, server, accountId, +8 more

list_historical_ordersList historical ordersB
Read-onlyIdempotent
Inspect

Read one bounded page of raw historical MT5 orders with explicit coverage and cursor state.

Inputs: query (required), accountId (required). Returns: data, login, server, accountId, +8 more

prop_statusGet prop-firm rule statusA
Read-onlyIdempotent
Inspect

Report how much daily-loss and maximum-loss room one connected account has left under the prop-firm program the user set for it, with the current floors, high-water mark, next reset time, profit-target progress and breach or near-breach state. Values are calculated by FiveSocket from live MT5 balance, equity and deal history against the firm's published rules; the response carries the rule sources, their last-verified date and notes marking estimated values. The firm's own dashboard is authoritative. This does not place or change a broker order.

Inputs: accountId (required). Returns: login, server, source, program, +4 more

run_backtestBacktest a trading ruleA
Read-onlyIdempotent
Inspect

Backtest a simple trading rule on one connected account's own broker candles. Read-only: it replays past bars and never places or changes a broker order. Write the rule from the user's plain words: one exact broker symbol, a timeframe (M1, M5, M15, H1, H4 or D1), a UTC from and to range of at most 50000 bars, one entry per side with an optional exit condition, a stop, an optional target, the risk per trade and an initialBalance. A condition compares two series with above, below, crossesAbove or crossesBelow; join 2 to 8 of them with {kind: "all" | "any", conditions: [...]}. A series is {kind: "price", field: "close"}, {kind: "constant", value: 70}, or an indicator with a period: sma, ema, rsi, atr, highest or lowest. Example for "buy gold on H1 when the close crosses above the 50 EMA, stop 1.5 ATR, target 2R, risk 1%": {symbol: "XAUUSD", timeframe: "H1", from: "2026-01-01T00:00:00Z", to: "2026-11-01T00:00:00Z", entries: [{side: "long", when: {kind: "crossesAbove", left: {kind: "price", field: "close"}, right: {kind: "ema", period: 50}}}], stop: {kind: "atr", period: 14, multiple: 1.5}, target: {kind: "riskMultiple", value: 2}, risk: {kind: "percentOfBalance", value: 1}, initialBalance: 10000}. A condition is read when a bar closes and the order fills at the next bar's open. The result has the trade count, net result in the account currency, maximum drawdown, win rate, profit factor, costs paid, an equity curve of at most 50 points and the assumptions. Report the dates the bars actually cover, from metadata.firstBarTime and lastBarTime, not the dates asked for; when the broker's history is shorter than the range, the first assumption says so. Tell the user the assumptions that shape the numbers: historical spread is approximated from one value per bar, today's swap rates and tick value are applied to the whole period, the account's headline leverage is used for every symbol, and commission is counted only when costs.commissionPerLotRoundTrip is supplied. When the user has set a prop-firm program for the account, propOverlay estimates from bar data whether the run would have touched the daily or maximum loss floor or reached the first target; set initialBalance to the challenge size for that. Present it as an estimate and never as a pass or a fail: a backtest that stays inside the limits can still fail live, and propOverlay.limits lists what it cannot see. A backtest describes the past and does not predict future results. On insufficient_history widen the range or lower the timeframe; on symbol_not_found use details.suggestions; on backtest_unsupported the symbol cannot be priced, so say so and do not estimate; on invalid_request fix the named field and call again.

Inputs: rule (required), accountId (required), costs, includeTrades. Returns: login, server, source, accountId, +2 more

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
      B
      quality
      B
      maintenance
      MCP server for etrink: read cloud MetaTrader 5 account balances, positions, trade reports and signals, place guarded orders, and manage 24/7 hosted bot services from any MCP client.
      23
      40 npm
      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
    • F
      license
      Not graded
      quality
      D
      maintenance
      Cloud-hosted MCP server that connects AI clients to MetaTrader 4/5 for live prices, account state, indicators, and trades with dry-run safety via natural language.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables trading on MetaTrader5 platform via MCP, including account management, order placement, market data, technical indicators, and signal tools.
      6
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.