DB Connect MCP Server
by yugui923io.github.yugui923/db-connect-mcpv0.3.1
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
context tax
queued
security
queued
cold start
queued
freshness
Active3d ago
Install DB Connect MCP server
Install in Claude Code
claude mcp add db-connect-yugui923 -e DATABASE_URL='<database-url>' -- uvx db-connect-mcpInstall in Cursor
{
"mcpServers": {
"db-connect-yugui923": {
"command": "uvx",
"args": [
"db-connect-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"db-connect-yugui923": {
"command": "uvx",
"args": [
"db-connect-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"db-connect-yugui923": {
"type": "stdio",
"command": "uvx",
"args": [
"db-connect-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"db-connect-yugui923": {
"command": "uvx",
"args": [
"db-connect-mcp"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | yes | yes | Database connection URL (e.g., postgresql+asyncpg://user:pass@host:5432/db) |
Freshness
Active — last maintenance signal 3d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 3d ago · GitHub
Latest release
2026-10-02 · 8d ago · GitHub · v0.9.3
Package published
no data · npm/PyPI
Registry entry updated
2026-02-02 · 8mo ago · official registry · v0.3.1
FAQ
›How do I install the DB Connect MCP server in Claude Code?
Run: claude mcp add db-connect-yugui923 -e DATABASE_URL='<database-url>' -- uvx db-connect-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does DB Connect require an API key?
Yes. It expects DATABASE_URL, of which 1 is a secret.
›Can I use DB Connect as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is DB Connect in the official MCP registry?
Yes, as io.github.yugui923/db-connect-mcp.
Alternatives to DB Connect
Other database MCP servers.