MCP server · Audited from source
Metatrader 5 MCP server
by qoyyuum/mcp-metatrader5-serverNo licenceAudited 6 Oct 2026 · source 172d3dc2313c
Is it safe? With care — CAUTION, grade B (88/100). It exposes 26 tools: 24 read, 2 write and 0 destructive. The audit recorded 9 findings (0 critical, 0 high, 2 medium, 6 low). Maintainer's description: A Model Context Protocol (MCP) server for interacting with the MetaTrader 5 trading platform. This server provides AI assistants with tools and resources to access market data, perform trading operations, and analyze trading history.
Cite
Cite this page
ModelsAtlas. “Metatrader 5 MCP server (qoyyuum/mcp-metatrader5-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/qoyyuum/metatrader-5
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 4 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 4 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
qoyyuumUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
mcp-metatrader5-server, no version recorded - LicenceNone declaredFrom the repository, as read at the audited commit.
- Last push1 day agoActivity of the repository when we read it.
- Source commit read172d3dc2313cThe audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory26 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (9)
Sorted by severity
MEDIUMInventory / provenanceinv.binary · .coverage
.coverage
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMHard-coded secretssecret.generic · docs/pydantic_ai_integration.md:457
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
LOWNetwork egressnet.raw_ip · CONTRIBUTING.md:127
# Visit http://127.0.0.1:8000
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:71
The server will start at http://127.0.0.1:8000
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · docs/requirements.txt
mkdocs, mkdocs-material, pymdown-extensions, mkdocs-autorefs
- Why
- 4 requirement(s) not pinned with ==
- Fix
- pin exact versions
INFOSupply chainprompt.pipe_to_shell · docs/publishing.md:42
curl -LsSf https://astral.sh/uv/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
26 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
order_check | write | No description in the source |
order_send | write | No description in the source |
copy_rates_from_date | read | No description in the source |
copy_rates_from_pos | read | No description in the source |
copy_rates_range | read | No description in the source |
copy_ticks_from_date | read | No description in the source |
copy_ticks_from_pos | read | No description in the source |
copy_ticks_range | read | No description in the source |
get_account_info | read | No description in the source |
get_last_error | read | No description in the source |
get_symbol_info | read | No description in the source |
get_symbol_info_tick | read | No description in the source |
get_symbols | read | No description in the source |
get_symbols_by_group | read | No description in the source |
get_terminal_info | read | No description in the source |
get_version | read | No description in the source |
history_deals_get | read | No description in the source |
history_orders_get | read | No description in the source |
initialize | read | No description in the source |
login | read | No description in the source |
orders_get | read | No description in the source |
orders_get_by_ticket | read | No description in the source |
positions_get | read | No description in the source |
positions_get_by_ticket | read | No description in the source |
shutdown | read | No description in the source |
symbol_select | read | No description in the source |
Install
audited commit 172d3dc
Read the findings first. The most severe is Inventory / provenance (medium) at .coverage.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 172d3dc only.
claude mcp add mcp-metatrader5-server --env MT5_PASSWORD=${MT5_PASSWORD} --env OPENROUTER_API_KEY=${OPENROUTER_API_KEY} -- uvx mcp-metatrader5-server{
"mcpServers": {
"mcp-metatrader5-server": {
"command": "uvx",
"args": [
"mcp-metatrader5-server"
],
"env": {
"MT5_PASSWORD": "${MT5_PASSWORD}",
"OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit 172d3dc2313c. Transport: stdio. Reads these environment variables: MT5_PASSWORD, OPENROUTER_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 88 / 100
First audit ·
172d3dc2313c
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/qoyyuum/metatrader-5/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Metatrader 5 MCP server
What is the Metatrader 5 MCP server?
What tools does Metatrader 5 expose?
Is Metatrader 5 safe to connect to an agent?
What credentials does Metatrader 5 need?
How does Metatrader 5 run?
How current is this page?
Sources
- qoyyuum/mcp-metatrader5-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 172d3dc2313cObserved · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Metatrader 5 MCP server?
- What tools does Metatrader 5 expose?
- Is Metatrader 5 safe to connect to an agent?