VM

vincentwongso/mt5-trading-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

6 stars 4 forks Качество 68 Тренд 28MIT

MCP server wrapping the MetaTrader 5 Python library, read market data, watch your trades, and place trades from your AI agent, with a consent/audit policy layer.

Обзор

A Hermes agent placing then closing a real 0.01-lot trade on a demo account, end-to-end over MCP on Linux. Not a mock-up - the same round-trip in MetaTrader 5's own History tab; the tickets and balance match the recording. ⚠️ Read DISCLAIMER.md and SECURITY.md before connecting it to a live account. Always test using your demo account first. Runs locally - in the same process tree as your agent, no cloud, no telemetry. Windows (native) or Linux (via Docker); Python 3.10+. 📖 this project is built step by step in Wiring AI agent into MetaTrader 5, Part 1 of the Trade with AI agent series on the Fintrix engineering blog. mt5-mcp lets an AI agent read your MetaTrader 5 account and place trades through it, over the Model Context Protocol. - : account, quotes, positions, orders, history, OHLC bars, broker-authoritative margin estimates, and native chart screenshots (Windows). No consent gate.

README

Показан фрагмент оригинального README. Открыть оригинал.

MetaTrader 5 MCP Bridge

Let an AI agent manage your MetaTrader 5 account over Model Context Protocol - with configurable human approval gate.

A Hermes agent placing then closing a real 0.01-lot trade on a demo account, end-to-end over MCP on Linux.

Not a mock-up - the same round-trip in MetaTrader 5’s own History tab; the tickets and balance match the recording.

⚠️ This software places real trades through your MetaTrader 5 terminal with real orders and irreversible fills. Read DISCLAIMER.md and SECURITY.md before connecting it to a live account. Always test using your demo account first.

Runs locally - in the same process tree as your agent, no cloud, no telemetry. Windows (native) or Linux (via Docker); Python 3.10+.

📖 The story behind this: this project is built step by step in Wiring AI agent into MetaTrader 5, Part 1 of the Trade with AI agent series on the Fintrix engineering blog.

What it is

mt5-mcp lets an AI agent read your MetaTrader 5 account and place trades through it, over the Model Context Protocol.

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →