MCP, MCP server
Db Explorer Mcp
A read-only Model Context Protocol (MCP) server for PostgreSQL, MySQL, and SQLite that lets an AI coding assistant explore, query, and audit a relational database without ever being able to write to it.
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.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
inspector.py, line 170
return fetch(names) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
config.py, line 5
load_dotenv(Path(__file__).resolve().parent / ".env") - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
evals/run.py, line 136
process = subprocess.Popen( - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
config.py, line 64
MCP_AUTH_TOKEN = os.getenv("MCP_AUTH_TOKEN", "").strip() - 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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
evals/run.py, line 136
process = subprocess.Popen(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
inspector.py, line 170
return fetch(names)
inspector.py, line 189
def fetch(batch: Sequence[str]) -> dict[str, Any]:
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
config.py, line 5
load_dotenv(Path(__file__).resolve().parent / ".env")
config.py, line 64
MCP_AUTH_TOKEN = os.getenv("MCP_AUTH_TOKEN", "").strip()
config.py, line 65
MCP_AUTH_TOKENS = os.getenv("MCP_AUTH_TOKENS", "").strip()
Show more
evals/run.py, line 122
# The real environment of the server process wins over .env, so the run can
evals/run.py, line 123
# only ever see eval.db, whatever DATABASE_URL .env holds.
.env.example, line 1
# Copy this file to .env and fill in your own values.
.env.example, line 2
# Never commit real credentials -- .env is gitignored, this example file is not.
.env.example, line 3
# config.py loads .env at startup; real environment variables override it.
.gitignore, line 7
.venv/
.gitignore, line 8
.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
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 6c08909d7125. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 6c08909d712532b5b3c98964b0686e1d8707eeb1
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.