DBCode
io.dbcode/dbcode · 355 stars · JavaScript
MCP server Query and explore 100+ databases through your DBCode connections.
Install
The repo has no one-line install. Follow its README.
Published as
- npm
@dbcode/mcpstdio
From the server's entry in the official MCP Registry.
Files
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.
Facts
- Kind
- MCP server
- Repo
- dbcodeio/public
- Group
- Uncategorized
- Stars
- 355
- Language
- JavaScript
- Last push
- 2026-10-04
- Forks
- 24
- MCP Registry
- io.dbcode/dbcode
- Homepage
- dbcode.io
- Topics
- cursor, database, database-client, database-management, duckdb, github-copilot, mariadb, mcp, mongodb, mysql, postgresql, redis, snowflake, sql, sql-client, sql-editor, sql-server, sqlite, vscode, vscode-extension
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k