DB MCP Server
io.github.stucchi/db
About DB MCP Server
DB MCP Server is an MCP server published by the GitHub account stucchi. Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
It runs on your own machine: your AI client starts it from the PyPI package db-mcp-server at version 1.2.1.
It asks for 3 secrets: DB_PASSWORD, DB_URL and SSH_PASSWORD. Give it a key with the least access that still works.
It also needs DB_TYPE and DB_DATABASE set before it starts.
Version 1.2.1 was published on 24 March 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
DB_TYPE | Yes | No | Database type |
DB_DATABASE | Yes | No | Database name |
DB_MODE | No | No | Access mode |
DB_HOST | No | No | Database host (MySQL/PostgreSQL) |
DB_PORT | No | No | Database port (MySQL: 3306, PostgreSQL: 5432) |
DB_USER | No | No | Database user (MySQL default: root, PostgreSQL default: postgres) |
DB_PASSWORD | No | Yes | Database password (MySQL/PostgreSQL, optional) |
DB_URL | No | Yes | MongoDB connection URL (required for MongoDB, e.g. mongodb://...) |
SSH_HOST | No | No | SSH bastion host for tunneling (MySQL/PostgreSQL only) |
SSH_PORT | No | No | SSH port |
SSH_USER | No | No | SSH username (default: current OS user) |
SSH_KEY | No | No | Path to SSH private key (e.g. ~/.ssh/id_rsa) |
SSH_PASSWORD | No | Yes | SSH password (if no key provided) |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/stucchi/db-mcp-server |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Warn | Asks for 3 secrets: DB_PASSWORD, DB_URL, SSH_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account stucchi |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | db-mcp-server 1.2.1 has no setup.py; nothing runs at install |
| Code red flags | Pass | Read 26 files in db-mcp-server 1.2.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 26 files, including comments and the README |
Popularity & health: 36 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
1 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.stucchi/db |
|---|---|
| Publisher | GitHub account stucchi |
| How the name is verified | Name verified via GitHub account stucchi. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | pypi db-mcp-server 1.2.1 (stdio) |
| Version | 1.2.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/stucchi/db-mcp-server |
| Website | None linked |
| Category | Databases & data (assigned by keyword rule, not by hand) |
Related servers in Databases & data
- fastmcp-sqltools7/7A MCP server provides SQL database access with support for…
- custom-mcp-database7/7Run alias-based queries against PostgreSQL, MySQL, MongoDB and…
- qh4/4Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools…
- MCP DB Connect7/7MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB,…
- dbmcp4/4Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with…
Faucet7/7SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL…