Developer · Local MCP server
DB MCP Server
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
What the MCP Registry states
The entry as published to the official MCP Registry (read 2026-10-04), latest version.
- Registry name
io.github.stucchi/db- Version
- 1.2.1
- Status
- Active
- Category
- developer
- Transport
- stdio (local process)
- Package
- PyPI
- Published
- 2026-03-24
- Updated
- 2026-03-24
- Publisher
- stucchi (GitHub) · 6 servers with pages here
- Repository
- github.com/stucchi/db-mcp-server
- Source
- Registry API entry
Packages
| Registry | Package | Version | Transport |
|---|---|---|---|
| PyPI | db-mcp-server | 1.2.1 | stdio |
How to connect DB MCP Server
DB MCP Server runs locally from a Python package published to PyPI: db-mcp-server version 1.2.1. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Python; clients usually start it with uvx (from uv) or after pip install — the usual command is uvx db-mcp-server. It reads these environment variables: DB_TYPE (required), DB_DATABASE (required), DB_MODE, DB_HOST, DB_PORT, DB_USER, DB_PASSWORD (secret), DB_URL (secret), SSH_HOST, SSH_PORT, SSH_USER, SSH_KEY and SSH_PASSWORD (secret); set them in the client's configuration for this server.
In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):
{
"mcpServers": {
"db": {
"command": "uvx",
"args": [
"db-mcp-server"
],
"env": {
"DB_TYPE": "<value>",
"DB_DATABASE": "<value>",
"DB_MODE": "<value>",
"DB_HOST": "<value>",
"DB_PORT": "<value>",
"DB_USER": "<value>",
"DB_PASSWORD": "<secret>",
"DB_URL": "<secret>",
"SSH_HOST": "<value>",
"SSH_PORT": "<value>",
"SSH_USER": "<value>",
"SSH_KEY": "<value>",
"SSH_PASSWORD": "<secret>"
}
}
}
}Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect
More from stucchi (GitHub)
| Server | Runs |
|---|---|
| Domain CheckCheck domain availability across 500+ TLDs. Single and bulk checks with UI. | Local · stdio |
| Google Analytics 4Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs. | Local · stdio |
| Italy OpenDataItalian open data: municipalities, provinces, regions, postal codes, coordinates. | Local · stdio |
| Nexi XPayMCP server for Nexi XPay Back Office APIs: orders, transactions, warnings. | Local · stdio |
| Trello MCP ServerMCP server for the Trello REST API – manage boards, lists, cards, labels, checklists and more. | Local · stdio |
More developer servers
| Server | Runs |
|---|---|
| Db Conn MCPA dead-simple, self-hosted MCP server for securely querying databases via AI agents. | Local · stdio |
| DB Connect MCPMulti-database MCP server for PostgreSQL, MySQL, and ClickHouse. | Local · stdio |
| Db GatewayKVKK/GDPR-compliant LLM-to-database gateway: PII masking, RBAC, rate limiting, audit log. | Local · stdio |
| Db Gateway145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more. | Local · stdio |
| Db Metadata Extractor MCPExtract database metadata from PostgreSQL, Snowflake, SQL Server, BigQuery, and Oracle. | Local · stdio |
| Db PlannerRead and edit DB Planner database schemas, diagrams and board layouts as an AI agent. | Remote · HTTP |
| DB Query Guard MCPPaid remote MCP for governed database query review, SQL simulation, approvals, and audits. | Remote · HTTP |
| db-compareRead-only MCP to diff SQL Server/Azure SQL schema, procs, views, and tables between environments. | Local · stdio |