MCP, MCP server
mysql_mcp_server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit d88c510f6034, unchanged since the check below.
PERMISSION_SHELL_UNDECLARED
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
src/mysql_mcp_server/server.py, line 93
ssh_proc = subprocess.Popen(ssh_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
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
Concern
requests shell access. No manifest field names shell or command execution.
PERMISSION_SHELL_UNDECLARED
src/mysql_mcp_server/server.py, line 93
ssh_proc = subprocess.Popen(ssh_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 1
mcp>=1.2.0
Network
Pass
No network call found.
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/mysql_mcp_server/server.py, line 23
# Load environment variables from .env file if it exists.
src/mysql_mcp_server/server.py, line 70
ssh_key = os.getenv("MYSQL_SSH_KEY_PATH")
src/mysql_mcp_server/server.py, line 120
password = os.getenv("MYSQL_PASSWORD")
Show more
CHANGELOG.md, line 66
- **Environment Management:** Added `.env` support and `.env.example` file (PR #69).
README.md, line 89
### `.env` file loading
README.md, line 91
On startup the server automatically loads a `.env` file via `python-dotenv`, so for local use you can simply:
README.md, line 94
cp .env.example .env # then edit with your credentials
README.md, line 99
> ⚠️ **Claude Code / Claude Desktop:** these hosts launch the server from their own working directory, so the project's `.env` will **not** be found and you'll see `Missing require
README.md, line 225
cp .env.example .env
README.md, line 226
# Edit .env with your MySQL connection details
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit d88c510f6034. requests shell access. No manifest field names shell or command execution. dependencies are not pinned. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: d88c510f603413d1abad9c5cce2bd542d705e27c
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.