DB MCP Server
io.github.stucchi/db
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"db": {
"command": "uvx",
"args": [
"db-mcp-server"
],
"env": {
"DB_TYPE": "<your DB_TYPE>",
"DB_DATABASE": "<your DB_DATABASE>",
"DB_MODE": "read-only",
"DB_HOST": "localhost",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_URL": "<your DB_URL>",
"SSH_PORT": "22",
"SSH_PASSWORD": "<your SSH_PASSWORD>"
}
}
}
}- DB_TYPErequiredDatabase type
- DB_DATABASErequiredDatabase name
- DB_MODEAccess mode
- DB_HOSTDatabase host (MySQL/PostgreSQL)
- DB_PASSWORDsecretDatabase password (MySQL/PostgreSQL, optional)
- DB_URLsecretMongoDB connection URL (required for MongoDB, e.g. mongodb://...)
- SSH_PORTSSH port
- SSH_PASSWORDsecretSSH password (if no key provided)
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Databases
- Version
- 1.2.1
- Registry
- active
- Published
- 3/24/2026
More Databases servers
Browse all Databases →Local Memory
studiomeyer-io
Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.
io.github.SurajKGoyal/amnesic
SurajKGoyal
Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.
ContextBridge
ThunderEagle
MCP memory server for AI coding assistants. Windows Service, ONNX embeddings, SQLite vector search.
sqlite-graph-memory
tonydzi
Recall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.
io.github.ugurcl/dbridge-mcp
ugurcl
Query SQLite, PostgreSQL, and MySQL in plain language - read-only, with column masking and limits.
NeoSQL MCP
unvus
Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.
Add the badge to your site
Show visitors that DB MCP Server is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-stucchi-db?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="DB MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-stucchi-db?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.