MCP, MCP server
Mcp Metatrader5 Server
A Model Context Protocol (MCP) server for MetaTrader 5, allowing AI assistants to interact with the MetaTrader 5 platform for trading and market data analysis.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 8ecd504ca4ea, unchanged since the check below.
SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- SECRETS_PATH_DOTENV Low
Mentions a .env file.
examples/example_ai_trader_agent.py, line 52
"Please set it in your .env file or environment:\n" - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
examples/example_ai_trader_agent.py, line 47
OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY") - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
uv.lock, line 1
version = 1
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Pass
No network call found.
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
examples/example_ai_trader_agent.py, line 47
OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY")
examples/example_ai_trader_agent.py, line 52
"Please set it in your .env file or environment:\n"
examples/example_ai_trader_agent.py, line 60
"Please set it in your .env file or environment:\n"
Show more
src/mcp_mt5/__init__.py, line 15
# Load environment variables from .env file if it exists
src/mcp_mt5/test_client.py, line 4
Make sure the server is running: uv run mt5mcp (with MT5_MCP_TRANSPORT=http in .env)
src/mcp_mt5/test_client.py, line 13
# Load environment variables from .env file
src/mcp_mt5/test_client.py, line 22
MT5_PASSWORD = os.getenv("MT5_PASSWORD") or "your_password" # Your MT5 password
src/mcp_mt5/test_client.py, line 58
print(" Check your credentials in .env file")
.env.example, line 10
# MetaTrader 5 Configuration (optional, can be passed to tools or loaded from .env)
.gitignore, line 11
src/mcp_mt5/.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 8ecd504ca4ea. reads a credential or environment file. a file was over the read cap and was not fully read. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 8ecd504ca4ea1efc844ec62efc85c4f50fda4540
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.