MCP server
DB MCP Server
io.github.stucchi/db
Checked 25 Oct 2026, 21:11 UTC · Still published on its registry; checked against OSV.dev; never run by us
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
Runs on your computer
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 25 Oct 2026, 21:11 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add db --env DB_TYPE=YOUR_VALUE --env DB_DATABASE=YOUR_VALUE -- uvx db-mcp-server@1.2.1
Claude Desktop
{"mcpServers":{"db":{"command":"uvx","args":["db-mcp-server@1.2.1"],"env":{"DB_TYPE":"YOUR_VALUE","DB_DATABASE":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.db]
command = "uvx"
args = ["db-mcp-server@1.2.1"]
env = { DB_TYPE = "YOUR_VALUE", DB_DATABASE = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"db":{"command":"uvx","args":["db-mcp-server@1.2.1"],"env":{"DB_TYPE":"YOUR_VALUE","DB_DATABASE":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"db":{"command":"uvx","args":["db-mcp-server@1.2.1"],"env":{"DB_TYPE":"YOUR_VALUE","DB_DATABASE":"YOUR_VALUE"}}}}
VS Code
{"servers":{"db":{"type":"stdio","command":"uvx","args":["db-mcp-server@1.2.1"],"env":{"DB_TYPE":"YOUR_VALUE","DB_DATABASE":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own DB_TYPE, DB_DATABASE.
Browse
Related MCP servers
- The Stall
277 pay-per-call MCP tools: YouTube keyword research, stocks, crypto, DeFi, options, macro. - Entity Enricher
Multi-LLM entity enrichment: schemas, single/batch enrichment, fusion, model benchmarks. - Tenantsdb
Multi-tenant database orchestration: isolated Postgres, MySQL, MongoDB, Redis tenants on demand. - qh
Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens. - MCP DB Connect
MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access. - Db Gateway
145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more - Custom Database
Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials. - Database
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.
Badge for your README
[](https://aptlynx.net/servers/io.github.stucchi/db)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents