MCP.so
登录

MetaTrader MCP Server

@ariadng

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ariadng

关于 MetaTrader MCP Server

Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform

MetaTrader MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MetaTrader MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MetaTrader MCP Server?

MetaTrader MCP Server is a bridge that connects AI assistants (like Claude, ChatGPT) to the MetaTrader 5 trading platform, enabling natural language trading commands such as "Show me my account balance" or "Buy 0.01 lots of EUR/USD."

How to use MetaTrader MCP Server?

Install with pip install metatrader-mcp-server, enable algorithmic trading in MetaTrader 5 (Tools > Options > Expert Advisors > Allow algorithmic trading), then configure your AI client (e.g., Claude Desktop) with your MT5 login, password, and server. Use the command metatrader-mcp-server --login YOUR_LOGIN --password YOUR_PASSWORD --server YOUR_SERVER --transport stdio for local STDIO, or run the HTTP server (metatrader-http-server) for Open WebUI, the WebSocket quote server (metatrader-quote-server), or the remote SSE server.

Key features of MetaTrader MCP Server

  • Natural language trading using plain English
  • Multi‑AI support (Claude Desktop, ChatGPT via Open WebUI)
  • Full market access with real‑time prices and historical data
  • Complete account control (balance, equity, margin, statistics)
  • Order management: place, modify, and close orders
  • Credentials stay on your machine (secure)
  • Flexible interfaces: MCP, REST API, WebSocket stream

Use cases of MetaTrader MCP Server

  • Traders automating their trading with AI assistants
  • Developers building trading bots or analysis tools
  • Analysts needing quick access to market data
  • Anyone combining AI with financial markets

常见问题

1

What are the prerequisites?

Python 3.10 or higher, the MetaTrader 5 terminal installed, and a demo or live MT5 trading account (login, password, server name).

2

What transports or interfaces are supported?

Four options: local STDIO (for Claude Desktop), HTTP REST (for Open WebUI and ChatGPT), WebSocket for real‑time quotes, and SSE (remote MCP server) for connecting from a different machine.

3

How does the SSE remote server handle security?

The MCP protocol does not include authentication. When exposing the SSE server over a network, use a firewall, reverse proxy with authentication, or an SSH tunnel.

4

Is there any liability disclaimer?

Yes. Trading financial instruments involves significant risk of loss. The software is provided as‑is; developers accept no liability for trading losses. Users acknowledge they are responsible for all trades and use the software at their own risk.

5

Can I stream real‑time quotes?

Yes. The WebSocket Quote Server streams live tick data (bid, ask, spread, volume) from MetaTrader 5 to any WebSocket client, with configurable symbols and polling interval.

评论

其他 分类下的更多 MCP 服务器