Allows AI agents to query and explore over 100 different databases using existing DBCode connections.
Ayrıca bilinen adı dbcodeio/public, @dbcode/mcp
- Yıldızlar
- 366
- Araçlar
- —
- İndirmeler, 30 gün
- 359
- En son sürüm
- 1.0.1
- Son commit
- 10 Kas 2026
- Lisans
- —
DBCode MCP nedir?
DBCode bir MCP sunucusudur. Allows AI agents to query and explore over 100 different databases using existing DBCode connections.
Özet, projenin README dosyasından oluşturuldu
DBCode MCP sunucusu hakkında
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.
Neler yapabilirsiniz
- 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.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
DBCode MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıDBCode MCP'yi Claude Code içine yükleyin
$ claude mcp add dbcode -- npx -y @dbcode/mcpDBCode MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}DBCode MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"dbcode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}DBCode MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}DBCode MCP'yi Codex içine yükleyin
~/.codex/config.toml
[mcp_servers.dbcode] command = "npx" args = ["-y", "@dbcode/mcp"]
DBCode MCP'yi Gemini CLI içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Otomatik kontroller
Çalıştırıldı 13 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirGeçti
- Açık kaynak lisansı (OSI)No licenseBulgu
- Son bir yıl içinde commit veya sürüm mevcutGeçti
- Paket adı popüler bir pakete yakın değilGeçti
- Uzak uç nokta HTTPS kullanıyorKontrol edilmedi
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Modele yönelik gizli talimat yokGeçti
- Pakette ve bağımlılıklarında kritik uyarı yokGeçti
DBCode 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 soruları
DBCode MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add dbcode -- npx -y @dbcode/mcp komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
DBCode MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
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.