DB Conn MCP
A dead-simple, self-hosted Model Context Protocol (MCP) server for querying your databases with AI agents (Claude, Cursor, Windsurf, VS Code, Zed, Codex, and more). It runs locally over stdio via the published package.
People connecting database tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-08-13 · ★ 2 · #51 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25
MIT · Python servers · how we verify → /methodology
01 · Install DB Conn MCP
before you install - you'll need
The README does not document required environment variables for a basic install.
Claude Code
claude mcp add idle-sync-db-conn-mcp -- uvx db-conn-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"idle-sync-db-conn-mcp": {
"command": "uvx",
"args": [
"db-conn-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package db-conn-mcp - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.Idle-Sync is GitHub-verified and matches the repo owner
03 · What DB Conn MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v0.7.1 · 2026-08-13
A security-hardening pass on the write-safety gate and the HTTP transport, from a full-repo · audit. Read the breaking changes first - the HTTP transport now requires a token. · Security fixes · A dry-run can no longer…
v0.7.0 · 2026-08-12
The tools get sharper: bounds on everything unbounded, loud rejection of arguments that used · to vanish silently, raw database values fenced on every channel a client can read, and a · one-line nudge when a newer…
v0.6.2 · 2026-08-12
The dashboard grows a front door and a face: a bare visit now tells you how in, a · bookmark keeps working, and the page looks like the instrument it is. Still 23 tools and · 2 prompts - nothing about querying your…
04 · Who maintains DB Conn MCP
db-conn-mcp is maintained by idle-sync. We track 2 MCP servers from idle-sync - 2 actively maintained, 4 combined GitHub stars, oldest repo from Jun 2026. Full record: all servers from idle-sync.
05 · Facts
- repository
- github.com/idle-sync/db-conn-mcp
- category
- database - ranked #51 of 151 actively-maintained database servers as of 2026-08-25.
- release cadence
- 10+ releases in the last 90 days (latest 2026-08-13)
- registry
- io.github.Idle-Sync/db-conn-mcp (active, first published 2026-06-03 · 19 versions)
- packages
- pypi:db-conn-mcp
06 · DB Conn MCP FAQ
What is DB Conn MCP?
A dead-simple, self-hosted Model Context Protocol (MCP) server for querying your databases with AI agents (Claude, Cursor, Windsurf, VS Code, Zed, Codex, and more). It runs locally over stdio via the published package.
Is DB Conn MCP still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-13 and it shipped 10+ releases in the last 90 days. We re-verify nightly.
How do I install DB Conn MCP?
Run `uvx db-conn-mcp`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.
Does DB Conn MCP run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to DB Conn MCP
Alternatives to DB Conn MCP
Maintained database servers if DB Conn MCP isn't the fit.
- Dbx Query databases from AI agents using connections configured in DBX. ★ 16,462 · 2026-08-25
- Toolbox for Databases MCP Toolbox for Databases enables your agent to connect to your database. ★ 16,249 · 2026-08-25
- Dbhub Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB ★ 3,395 · 2026-08-21
- Butterbase Ai MCP Server Butterbase MCP server - manage your backend: schemas, auth, functions, storage, RAG, deploys. ★ 3,225 · 2026-08-24
- Supabase MCP server for interacting with the Supabase platform ★ 2,871 · 2026-08-22
- MongoDB MCP Server MongoDB Model Context Protocol Server ★ 1,106 · 2026-08-24
Pairs well with
Servers that cover what DB Conn MCP doesn't - only shown when the pairing reason fits the companion.
- Server Chart → data & analytics companion data & analytics · ★ 4,337
- Keboola MCP Server → data & analytics companion data & analytics · ★ 86
- Server Filesystem → filesystem companion filesystem · ★ 38,704
- X402 List MCP → filesystem companion filesystem · ★ 58
- Telnyx → API integration companion API integration · ★ 197
- Microsoft 365 MCP Server → API integration companion API integration · ★ 932
More database MCP servers · Misakanet · Ins Forge · Kolada MCP Server · PostgreSQL performance Tuner MCP Server · Ado MCP
More Python MCP servers · X Use · Ilya Gusev Academia MCP · Hypruse · Consilium Principis · see all