Memungkinkan AI agent untuk melakukan query dan eksplorasi ke lebih dari 100 database berbeda menggunakan koneksi DBCode yang sudah ada.
Juga dikenal sebagai dbcodeio/public, @dbcode/mcp
- Stars
- 366
- Tools
- —
- Unduhan, 30 hari
- 359
- Versi terbaru
- 1.0.1
- Commit terakhir
- 10 Nov 2026
- Lisensi
- —
Apa itu DBCode MCP?
DBCode adalah MCP server. Memungkinkan AI agent untuk melakukan query dan eksplorasi ke lebih dari 100 database berbeda menggunakan koneksi DBCode yang sudah ada.
Ringkasan dibuat dari README proyek
Tentang DBCode MCP server
DBCode memungkinkan Anda untuk melakukan query dan eksplorasi koneksi database yang sudah ada melalui AI agent. Ini memungkinkan developer untuk berinteraksi dengan lebih dari 100 tipe database berbeda, seperti PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse, dan Snowflake, menggunakan koneksi yang sudah dikonfigurasi di ekstensi DBCode Anda.
Untuk menggunakan server ini, Anda harus sudah menginstal ekstensi DBCode di editor seperti VS Code, Cursor, Windsurf, Antigravity, atau Kiro, serta Node.js 22.14 atau yang lebih baru. Server ini berjalan secara lokal dan dapat bekerja melalui editor yang sedang terbuka atau membaca koneksi yang tersimpan secara langsung jika tidak ada editor yang aktif. Anda dapat menentukan aplikasi tertentu seperti Cursor atau VSCodium menggunakan argumen --app jika Anda menggunakan DBCode di beberapa editor. Setup ini kompatibel dengan berbagai client termasuk Claude Desktop, Gemini CLI, GitHub Copilot CLI, dan Codex.
Apa yang bisa Anda lakukan dengannya
- 1Querying berbagai tipe databaseMinta AI agent untuk menjalankan query pada database spesifik seperti MongoDB atau Snowflake menggunakan setup Anda yang sudah ada.
- 2Mengelola koneksi dari berbagai editorInstruksikan AI agent untuk menggunakan koneksi database spesifik yang terhubung dengan IDE tertentu.
- 3Eksplorasi database tanpa editor yang aktifBiarkan AI agent mengakses kredensial database yang tersimpan meskipun Anda tidak sedang membuka code editor.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal DBCode MCP
Format diverifikasi 10 Nov 2026Instal DBCode MCP di Claude Code
$ claude mcp add dbcode -- npx -y @dbcode/mcpInstal DBCode MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Instal DBCode MCP di VS Code
.vscode/mcp.json
{
"servers": {
"dbcode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Instal DBCode MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Instal DBCode MCP di Codex
~/.codex/config.toml
[mcp_servers.dbcode] command = "npx" args = ["-y", "@dbcode/mcp"]
Instal DBCode MCP di Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": [
"-y",
"@dbcode/mcp"
]
}
}
}Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)No licenseTemuan
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerLolos
- Remote endpoint menggunakan HTTPSTidak diperiksa
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis di paket maupun dependensinyaLolos
README
Lihat di GitHubDBCode 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.
Pertanyaan tentang DBCode MCP
Bagaimana cara menambahkan DBCode MCP ke Claude Code?
Jalankan claude mcp add dbcode -- npx -y @dbcode/mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan DBCode MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Database apa saja yang didukung oleh DBCode?
DBCode mendukung lebih dari 100 database termasuk PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse, dan Snowflake.
Apa saja persyaratan sistem untuk DBCode MCP server?
Anda perlu menginstal ekstensi DBCode di editor seperti VS Code atau Cursor, serta Node.js versi 22.14 atau yang lebih baru.
Bagaimana cara menentukan koneksi editor mana yang harus digunakan oleh agent?
Anda dapat menggunakan flag --app diikuti dengan nama editor, seperti Cursor atau Code, untuk memilih koneksi editor mana yang akan ditampilkan.