1. Conduid
  2. Finance
  3. Mt5 Httpapi
MCP server · Finance

Mt5 Httpapi

MetaTrader 5 in a real Windows VM (Docker + QEMU/KVM), driven over REST + MCP: programmatic trading plus server-side TA. OHLC bars enriched with RSI/MACD/Bollinger/ADX/VWAP/Ichimoku/Order Blocks/FVGs (primitives, not signals). Typed MCP tools mirror the whole surface. Multi-broker, multi-account. No Wine bullshit.

61Good

Scored 20 hours ago · breakdown

About Mt5 Httpapi

Mt5 Httpapi is an MCP server published by psyb0t in the Finance category: metaTrader 5 in a real Windows VM (Docker + QEMU/KVM), driven over REST + MCP: programmatic trading plus server-side TA. OHLC bars enriched with RSI/MACD/Bollinger/ADX/VWAP/Ichimoku/Order Blocks/FVGs (primitives, not signals). Typed MCP tools mirror the whole surface. Multi-broker, multi-account. No Wine bullshit. Conduid read 50 tools from its source: apply_webrequest, cancel_order, close_chart, close_position, create_deployment, create_order and 44 more. No package is published for it, so it installs from a source checkout.

The repository has 31 stars and 15 forks, is licensed WTFPL, and its last commit was on 1 Dec 2026. The latest release is v4.31.1. It follows v4.31.0, and the 5 most recent releases go back to v4.29.0. It passes all 5 static checks Conduid ran on the repository. Its topics include algotrading, container, metaquotes, metatrader, mql and qemu.

Install

From source
git clone https://github.com/psyb0t/mt5-httpapi

Tools (50)

apply_webrequestRe-apply one terminal's stored ``WebRequest()`` allowlist
ParameterTypeDescription
account *string
broker *string
instancestring
runasboolean
cancel_orderCancel a pending order (``DELETE /orders/{ticket}``).
ParameterTypeDescription
account *string
broker *string
instancestring
ticket *integer
close_chartClose one chart of one terminal by id, including charts no
ParameterTypeDescription
account *string
broker *string
chart_id *integer
instancestring
close_positionClose an open position, fully or partially (``DELETE
ParameterTypeDescription
account *string
broker *string
deviationinteger
instancestring
ticket *integer
volumenumber
create_deploymentDeclare a deployment: run a staged expert on a chart of one
ParameterTypeDescription
account *string
broker *string
enabledboolean
expert *string
instancestring
set_filestring
symbol *string
timeframe *string
create_orderPlace a market or pending order on one terminal (``POST /orders``).
ParameterTypeDescription
account *string
broker *string
client_order_idstring
commentstring
deviationinteger
expirationinteger
instancestring
magicinteger
pricenumber
slnumber
stoplimitnumber
symbol *string
tpnumber
type *string
volume *number
delete_deploymentDelete a deployment; the loader EA closes its chart
ParameterTypeDescription
account *string
broker *string
deployment_id *string
instancestring
delete_expertRemove a staged expert ``.ex5`` from one terminal
ParameterTypeDescription
account *string
broker *string
instancestring
name *string
delete_fileDelete a file, or a directory, on one terminal
ParameterTypeDescription
account *string
broker *string
instancestring
path *string
recursiveboolean
treestring
delete_setRemove a staged ``.set`` file from one terminal
ParameterTypeDescription
account *string
broker *string
instancestring
name *string
endpointsList every REST endpoint (method, path) one terminal exposes — the
get_accountGet one terminal's balance, equity, margin and trading permissions
ParameterTypeDescription
account *string
broker *string
instancestring
get_backtestPoll a Strategy Tester backtest job's status or fetch its artifacts.
ParameterTypeDescription
account *string
broker *string
instancestring
job_id *string
partstring
get_deploymentGet one deployment and its observed status
ParameterTypeDescription
account *string
broker *string
deployment_id *string
instancestring
get_fileRead one file of one terminal (``GET /files/{path}``).
ParameterTypeDescription
account *string
broker *string
instancestring
path *string
treestring
get_history_dealsGet executed deals in a date range (``GET /history/deals``).
ParameterTypeDescription
account *string
broker *string
from_string
instancestring
tostring
get_history_ordersGet closed/cancelled orders in a date range (``GET /history/orders``).
ParameterTypeDescription
account *string
broker *string
from_string
instancestring
tostring
get_loaderGet one terminal's loader EA status: alive, version, and which
ParameterTypeDescription
account *string
broker *string
instancestring
get_orderGet one pending order by ticket (``GET /orders/{ticket}``).
ParameterTypeDescription
account *string
broker *string
instancestring
ticket *integer
get_positionGet one open position by ticket (``GET /positions/{ticket}``).
ParameterTypeDescription
account *string
broker *string
instancestring
ticket *integer
get_ratesGet OHLCV bars for one symbol/timeframe (``GET
ParameterTypeDescription
account *string
broker *string
countinteger
from_string
instancestring
symbol *string
timeframe *string
tostring
get_rates_taGet OHLCV bars plus a technical-analysis overlay computed by the
ParameterTypeDescription
account *string
broker *string
countinteger
from_string
indicators *object
instancestring
symbol *string
timeframe *string
tostring
get_setGet one staged ``.set`` file parsed into its inputs
ParameterTypeDescription
account *string
broker *string
instancestring
name *string
get_symbolGet full specification for one symbol: digits, point, contract size,
ParameterTypeDescription
account *string
broker *string
instancestring
symbol *string
get_terminalGet MT5 terminal info: build, broker/connection state, trade
ParameterTypeDescription
account *string
broker *string
instancestring
get_tickGet the latest bid/ask/last tick for one symbol
ParameterTypeDescription
account *string
broker *string
instancestring
symbol *string
get_ticksGet raw ticks for one symbol (``GET /symbols/{symbol}/ticks``).
ParameterTypeDescription
account *string
broker *string
countinteger
flagsstring
from_string
instancestring
symbol *string
tostring
get_webrequestGet the URLs one terminal's experts may call with
ParameterTypeDescription
account *string
broker *string
instancestring
list_chartsList the charts open in one terminal with their symbol, timeframe,
ParameterTypeDescription
account *string
broker *string
instancestring
list_deploymentsList one terminal's deployments merged with what the loader EA
ParameterTypeDescription
account *string
broker *string
instancestring
list_expertsList one terminal's staged expert ``.ex5`` files with size and
ParameterTypeDescription
account *string
broker *string
instancestring
list_filesList one directory of one terminal's files (``GET /files/{path}``).
ParameterTypeDescription
account *string
broker *string
instancestring
pathstring
treestring
list_ordersList pending orders on one terminal (``GET /orders``).
ParameterTypeDescription
account *string
broker *string
instancestring
list_positionsList open positions on one terminal (``GET /positions``). Tickets are
ParameterTypeDescription
account *string
broker *string
instancestring
list_setsList one terminal's staged ``.set`` parameter files, uploaded and
ParameterTypeDescription
account *string
broker *string
instancestring
list_symbolsList tradable symbol names for one terminal, optionally filtered by a
ParameterTypeDescription
account *string
broker *string
groupstring
instancestring
list_terminalsList every configured terminal: broker, account, instance, process
modify_orderModify a pending order's price/stop-loss/take-profit/stop-limit
ParameterTypeDescription
account *string
broker *string
expirationinteger
instancestring
pricenumber
slnumber
stoplimitnumber
ticket *integer
tpnumber
modify_positionModify stop-loss/take-profit on an open position (``PUT
ParameterTypeDescription
account *string
broker *string
instancestring
slnumber
ticket *integer
tpnumber
pingLock-free liveness check for one terminal (``GET /ping``). Use this to
ParameterTypeDescription
account *string
broker *string
instancestring
put_fileCreate or replace one file on one terminal, creating its
ParameterTypeDescription
account *string
broker *string
contentstring
content_base64string
extractboolean
instancestring
path *string
treestring
reconcile_deploymentsBump one terminal's desired-state revision
ParameterTypeDescription
account *string
broker *string
instancestring
requestEscape hatch: call a JSON-compatible mt5-httpapi REST endpoint on
ParameterTypeDescription
account *string
bodyobject
broker *string
instancestring
method *string
path *string
queryobject
screenshot_chartCapture one chart of one terminal as a PNG image
ParameterTypeDescription
account *string
broker *string
chart_id *integer
heightinteger
instancestring
widthinteger
set_webrequestChange one terminal's ``WebRequest()`` URL allowlist and apply it
ParameterTypeDescription
account *string
addarray
broker *string
instancestring
removearray
runasboolean
urlsarray
terminal_controlControl one terminal's MT5 connection: ``action`` is "init",
ParameterTypeDescription
account *string
action *string
broker *string
instancestring
update_deploymentPause, resume or re-point a deployment
ParameterTypeDescription
account *string
broker *string
deployment_id *string
enabledboolean
instancestring
set_filestring
upload_expertStage a compiled expert on one terminal (``POST /experts``).
ParameterTypeDescription
account *string
broker *string
content_base64 *string
filename *string
instancestring
overwriteboolean
upload_setStage a ``.set`` parameter file on one terminal (``POST /sets``)
ParameterTypeDescription
account *string
broker *string
contentstring
content_base64string
filename *string
instancestring
verify_webrequestRead the ``WebRequest()`` allowlist one terminal really holds,
ParameterTypeDescription
account *string
broker *string
instancestring

Security checks

  • ✓README presentThe repository's README runs to about 1.5K words.
  • ✓License declaredThe repository declares the WTFPL license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 68 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v4.31.1v4.31.1
v4.31.0v4.31.0
v4.30.1v4.30.1
v4.30.0v4.30.0
v4.29.0v4.29.0

README

The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Mt5 Httpapi

How do I install Mt5 Httpapi?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mt5 Httpapi safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mt5 Httpapi still maintained?

Yes — the last commit was yesterday. The repository has 31 stars and 15 forks and 1 open issues.

What tools does Mt5 Httpapi provide?

Conduid read 50 tools from the source: apply_webrequest, cancel_order, close_chart, close_position, create_deployment, create_order, delete_deployment, delete_expert and 42 more. 48 of them publish their parameters, listed under Tools above.

What license is Mt5 Httpapi released under?

The repository declares the WTFPL license. That applies to the latest release, v4.31.1, as well.