Allows AI agents to query and explore over 100 different databases using existing DBCode connections.
Auch bekannt als dbcodeio/public, @dbcode/mcp
- Stars
- 366
- Tools
- —
- Downloads, 30 Tage
- 359
- Neueste Version
- 1.0.1
- Letzter Commit
- 10. Nov. 2026
- Lizenz
- —
Was ist DBCode MCP?
DBCode ist ein MCP server. Allows AI agents to query and explore over 100 different databases using existing DBCode connections.
Zusammenfassung generiert aus dem README des Projekts
Über DBCode MCP server
Querying and exploring your existing database connections through an AI agent is what DBCode enables. It allows developers to interact with over 100 different database types, such as PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse, and Snowflake, using the connections already configured in your DBCode extension.
To use this server, you must have the DBCode extension installed in editors like VS Code, Cursor, Windsurf, Antigravity, or Kiro, along with Node.js 22.14 or newer. The server runs locally and can either work through an open editor or read your saved connections directly if no editor is active. You can specify a particular application like Cursor or VSCodium using the --app argument if you use DBCode across multiple editors. This setup works with clients including Claude Desktop, Gemini CLI, GitHub Copilot CLI, and Codex.
Was du damit machen kannst
- 1Querying diverse database typesAsk an AI agent to run queries against specific databases like MongoDB or Snowflake using your existing setup.
- 2Managing multiple editor connectionsDirect an AI agent to use the specific database connections associated with a particular IDE.
- 3Exploring databases without an active editorLet an AI agent access your saved database credentials even when you do not have a code editor open.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du DBCode MCP
Formate geprüft am 10. Nov. 2026DBCode MCP in Claude Code installieren
$ claude mcp add dbcode -- npx -y @dbcode/mcpDBCode MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}DBCode MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"dbcode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}DBCode MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}DBCode MCP in Codex installieren
~/.codex/config.toml
[mcp_servers.dbcode] command = "npx" args = ["-y", "@dbcode/mcp"]
DBCode MCP in Gemini CLI installieren
~/.gemini/settings.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Automatisierte Checks
Geluften am 13. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarBestanden
- Open Source Lizenz (OSI)No licenseBefund
- Commit oder Release im letzten JahrBestanden
- Package-Name ähnelt keinem populären PackageBestanden
- Remote Endpoint nutzt HTTPSNicht geprüft
- Destruktive Tools sind markiertNicht geprüft
- Keine versteckten Anweisungen an das ModellBestanden
- Kein kritischer Hinweis im Paket oder seinen AbhängigkeitenBestanden
README
Auf GitHub ansehenDBCode MCP server
Let your AI agent query your databases through DBCode, using the connections you already have in DBCode.
DBCode works with 100+ databases, including PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse and Snowflake.
Requirements
- The DBCode extension, installed in VS Code, Cursor, Windsurf, Antigravity or Kiro. Install DBCode.
- Node.js 22.14 or newer.
Setup
Claude Code
claude mcp add dbcode -- npx -y @dbcode/mcp
Codex
codex mcp add dbcode -- npx -y @dbcode/mcp
GitHub Copilot CLI
Add this to ~/.copilot/mcp-config.json:
{
"mcpServers": {
"dbcode": {
"type": "local",
"command": "npx",
"args": ["-y", "@dbcode/mcp"],
"tools": ["*"]
}
}
}
Gemini CLI, Claude Desktop, Cursor, Windsurf and other clients
Add this to the client's MCP configuration (for Gemini CLI, ~/.gemini/settings.json; for Claude Desktop, claude_desktop_config.json):
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": ["-y", "@dbcode/mcp"]
}
}
}
Cursor, VS Code, Windsurf, Antigravity and Kiro can also connect DBCode to their built-in agent without this package. See DBCode's MCP docs.
How it works
The package finds the newest DBCode installed on your machine and starts its MCP server. When an editor with DBCode is open, the agent works through it. With no editor open, the server reads your saved DBCode connections directly.
If you use DBCode in more than one editor, choose which editor's connections the agent sees with --app:
"args": ["-y", "@dbcode/mcp", "--app", "Cursor"]
Values (not case-sensitive): Code, Code - Insiders, Cursor, Windsurf, VSCodium, Antigravity IDE, Antigravity, Kiro.
DBCode MCP Fragen
Wie füge ich DBCode MCP zu Claude Code hinzu?
Führe claude mcp add dbcode -- npx -y @dbcode/mcp in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich DBCode MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Which databases are supported by DBCode?
It supports over 100 databases including PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse, and Snowflake.
What are the system requirements for the DBCode MCP server?
You need the DBCode extension installed in an editor like VS Code or Cursor, and Node.js version 22.14 or newer.
How can I specify which editor's connections the agent should use?
You can use the --app flag followed by the editor name, such as Cursor or Code, to choose which editor's connections are visible.