MCP, MCP server
Db Mcp Server
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to 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 59bc40e49a8c.
INSTALL_REMOTE_SCRIPT
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
package.json, line 11
postinstall
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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
can delete files.
PERMISSION_DELETE_FILES
bin/install.js, line 99
fs.rmSync(destination, { force: true });
Install and update
Serious
install fetches a script from the network.
INSTALL_REMOTE_SCRIPT
package.json, line 11
postinstall
.github/workflows/go.yml, line 302
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
repomix-output.txt, line 789
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
bin/install.js, line 38
const request = https.get(url, { headers: { "User-Agent": "db-mcp-server-installer" } }, (response) => {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
cmd/server/main.go, line 89
apiKey := flag.String("api-key", os.Getenv("DB_MCP_API_KEY"), "API key required to authenticate HT
pkg/dbtools/dbtools.go, line 119
dbPassword := os.Getenv("DB_PASSWORD")
internal/config/config.go, line 53
// Load .env file if it exists
Show more
internal/config/config.go, line 56
logger.Info("Warning: .env file not found, using environment variables only")
internal/config/config.go, line 58
logger.Info("Loaded configuration from .env file")
internal/config/config_test.go, line 47
// Get current working directory and handle .env file
internal/config/config_test.go, line 52
envPath := filepath.Join(cwd, ".env")
internal/config/config_test.go, line 53
tempPath := filepath.Join(cwd, ".env.bak")
internal/config/config_test.go, line 55
// Save existing .env if it exists
internal/config/config_test.go, line 61
t.Fatalf("Failed to rename .env file: %v", err)
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
repomix-output.txt, line 1
This file is a merged representation of the entire codebase, combined into a single document by Repomix.
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 59bc40e49a8c. can delete files. install fetches a script from the network. 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: 59bc40e49a8cab338412efa561b6ff1f18b6f15f
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.