Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Metatrader 5 MCP server

by qoyyuum/mcp-metatrader5-serverNo licenceAudited 6 Oct 2026 · source 172d3dc2313c

PyPI mcp-metatrader5-serverstdio★ 228
!CAUTIONGrade B · 88/100 · 6 Oct 2026 · 172d3dc
228GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score88/100!CAUTION B
0 critical0 high2 medium6 low1 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 4 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 4 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 PyPImcp-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
F-13 Inventory / provenanceCWE-1104Layer L0
.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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .coverage
F-13 Inventory / provenanceCWE-1104Layer L0
.coverage
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .readthedocs.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.readthedocs.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWNetwork egressnet.raw_ip · CONTRIBUTING.md:127
F-04 Network egressCWE-200 · CWE-319Layer L1
# Visit http://127.0.0.1:8000
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:71
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

24 read2 write0 destructive
ToolRiskWhat it does
order_checkwriteNo description in the source
order_sendwriteNo description in the source
copy_rates_from_datereadNo description in the source
copy_rates_from_posreadNo description in the source
copy_rates_rangereadNo description in the source
copy_ticks_from_datereadNo description in the source
copy_ticks_from_posreadNo description in the source
copy_ticks_rangereadNo description in the source
get_account_inforeadNo description in the source
get_last_errorreadNo description in the source
get_symbol_inforeadNo description in the source
get_symbol_info_tickreadNo description in the source
get_symbolsreadNo description in the source
get_symbols_by_groupreadNo description in the source
get_terminal_inforeadNo description in the source
get_versionreadNo description in the source
history_deals_getreadNo description in the source
history_orders_getreadNo description in the source
initializereadNo description in the source
loginreadNo description in the source
orders_getreadNo description in the source
orders_get_by_ticketreadNo description in the source
positions_getreadNo description in the source
positions_get_by_ticketreadNo description in the source
shutdownreadNo description in the source
symbol_selectreadNo 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

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

  1. !CAUTION B 88 / 100

    First audit · 172d3dc2313c

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/qoyyuum/metatrader-5/badge.svg)](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?
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.
What tools does Metatrader 5 expose?
26 in total: 24 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Metatrader 5 safe to connect to an agent?
With care. The audit graded it B (88/100) and found 9 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Metatrader 5 need?
It reads MT5_PASSWORD and OPENROUTER_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Metatrader 5 run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp-metatrader5-server.
How current is this page?
The grade is for one exact copy of the source (172d3dc2313c), read on 2026-10-06. The repository is watched and re-audited when it changes.

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.