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

VariableRequiredSecretDescription
DB_TYPEYesNoDatabase type
DB_DATABASEYesNoDatabase name
DB_MODENoNoAccess mode
DB_HOSTNoNoDatabase host (MySQL/PostgreSQL)
DB_PORTNoNoDatabase port (MySQL: 3306, PostgreSQL: 5432)
DB_USERNoNoDatabase user (MySQL default: root, PostgreSQL default: postgres)
DB_PASSWORDNoYesDatabase password (MySQL/PostgreSQL, optional)
DB_URLNoYesMongoDB connection URL (required for MongoDB, e.g. mongodb://...)
SSH_HOSTNoNoSSH bastion host for tunneling (MySQL/PostgreSQL only)
SSH_PORTNoNoSSH port
SSH_USERNoNoSSH username (default: current OS user)
SSH_KEYNoNoPath to SSH private key (e.g. ~/.ssh/id_rsa)
SSH_PASSWORDNoYesSSH password (if no key provided)

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/stucchi/db-mcp-server
Version pinnedPassEvery package has an explicit version
Secrets requestedWarnAsks for 3 secrets: DB_PASSWORD, DB_URL, SSH_PASSWORD
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account stucchi
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassdb-mcp-server 1.2.1 has no setup.py; nothing runs at install
Code red flagsPassRead 26 files in db-mcp-server 1.2.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo 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.

Popularity8 / 40

2 GitHub stars, 45 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity5 / 25

Last push 2026-03-24, no GitHub release, 0 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks16 / 20

1 warning, each costing a fifth.

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 nameio.github.stucchi/db
PublisherGitHub account stucchi
How the name is verifiedName verified via GitHub account stucchi. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi db-mcp-server 1.2.1 (stdio)
Version1.2.1
Published
Last updated
Source repositoryhttps://github.com/stucchi/db-mcp-server
WebsiteNone linked
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data