Skip to main content
Glama
HostMT5 MCP server

HostMT5 MCP server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTMT5_KEYYesYour HostMT5 API key, created in the dashboard under API keys (e.g. mc_your_key_here).
HOSTMT5_URLNoBase URL of the HostMT5 service.https://hostmt5.com

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
overviewC

Plan (slots, paid until), every hosted MT5 account (id, label, login, server, status), copy-trading links and recent copy activity.

account_stateC

Balance, equity, margin, open positions, pending orders and live Market Watch quotes of one account.

price_historyB

OHLC bars. timeframe: M1 M5 M15 M30 H1 H4 D1 W1 MN1. Each bar has time (unix), open, high, low, close, tick_volume, spread.

trade_historyC

Closed deals of the last 30 days (deposits, opens, closes with profit).

find_symbolsA

Search the broker's symbol list (name or description contains text). Use watch_symbol to get quotes for one.

watch_symbolB

Add (show=True) or remove a symbol from the account's Market Watch, so its quotes stream.

market_orderB

Open a position at market. side: buy or sell. sl/tp are prices (0 = none). REAL order on a live account.

pending_orderB

Place a pending order. kind: 'buy limit', 'sell limit', 'buy stop' or 'sell stop'. REAL order on a live account.

close_positionC

Close a position (volume 0 = all of it, or a partial volume).

cancel_orderC

Delete a pending order.

modify_positionB

Set a position's stop loss and take profit (prices; 0 removes it).

list_easC

Compiled EAs available in the terminal, and the ones attached (with id, chart, default and changed inputs).

upload_eaA

Upload an EA from this computer: compiled .ex5, or .mq5 source (compiled on the server; errors come back). Then attach_ea.

ea_inputsB

An EA's inputs and their defaults BEFORE attaching it (like MT5's Inputs tab). name as list_eas shows it.

attach_eaB

Attach an EA (name as list_eas shows it, e.g. 'Uploaded\MyEA') to its own chart; it trades 24/7 and starts in ~1-2 s. inputs: values that differ from the defaults, e.g. {"Lots": "0.05"} (names from ea_inputs).

set_ea_inputsA

Change an attached EA's inputs, e.g. {"Lots": "0.05"}. Names must be the EA's own (see list_eas). Only that EA restarts (~1 s).

remove_eaB

Detach one EA; the account's other EAs keep running.

start_copyingB

Copy every new trade of the master to the follower. mode 'multiplier' (lot x value) or 'fixed' (value lots); max_lot caps it.

pause_copyingC

Pause or resume one copy link (ids are in overview().links).

stop_copyingB

Remove a copy link. Positions already copied stay open on the follower.

account_powerC

Start or stop a hosted terminal (stopping pauses its EAs).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 21 tools

Disambiguation4/5

Most tools map to a distinct resource+action pair: account_state vs overview differ by granularity, market_order vs pending_order by execution type, and the EA tools (list/upload/inputs/attach/set/remove) each cover a unique step. The main soft spots are overview vs account_state and pause_copying vs stop_copying, but the descriptions make the boundaries readable. No two tools appear to do the same thing.

Naming Consistency4/5

Everything is snake_case with no camelCase or casing drift, which is a solid baseline. The deviation is grammatical: some names are verb_noun (find_symbols, close_position, start_copying) while others are noun phrases (overview, price_history, market_order, account_power), so the pattern is predictable but not uniform.

Tool Count4/5

21 tools is on the heavy side of the ideal 3-15 band, but the surface spans four distinct subdomains (trading, EA lifecycle, copy trading, account hosting), and each domain needs its own small set. Each tool appears to earn its place, though a few could plausibly be merged.

Completeness4/5

Trading lifecycle is well covered (quotes, history, market/pending entry, modify SL/TP, partial close, cancel), and EA plus copy-trading lifecycle is complete end-to-end. The notable gap is that pending orders cannot be modified (only cancelled and re-placed), and there is no tool to adjust an existing copy link's parameters short of stopping it.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues