MetaTrader MCP Server
Drives a local MetaTrader 5 terminal so an assistant can quote, order and close positions.
Add it to your client
Communitypip install metatrader-mcp-server
- Transport
- both
- Runtime
- Python
- Auth
- Required
- License
- MIT
- Stars
- 772
The server talks to MetaTrader 5 through the terminal running on your own machine, which keeps broker credentials local and also introduces a manual prerequisite that trips most first installs: algorithmic trading has to be switched on in the terminal's Expert Advisors options or every order silently fails. Roughly twenty-five operations cover account balance and margin, symbol lists and quotes, latest and date-ranged candles, market and pending orders, stop-loss and take-profit edits, and deal history. Position closing is where the design shows its origins: besides closing one position there are batch calls for all positions, per symbol, only the profitable ones and only the losing ones, which is how a trader phrases the request in the first place. A REST API and a WebSocket quote stream ship in the same package.
Similar MCP servers
OKX Agent Trade Kit
MCP serverOKX spot, perpetual, futures, options and earn accounts through 167 locally run tools.
Mattermost MCP Server
MCP serverLists Mattermost channels and pulls channel history with date ranges and cursor paging.
Ledger CLI MCP Server
MCP serverQueries a plain-text Ledger CLI journal so an assistant reads your books without any API.

Comments(0)
Sign in to comment