
Description
DBCode MCP server lets an AI agent query your databases through DBCode, using the connections you already have set up in DBCode. DBCode is a database IDE extension for VS Code, Cursor, Windsurf, Antigravity and Kiro, and it works with more than 100 databases, including PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse and Snowflake. The package finds the newest DBCode install on your machine and starts its MCP server. When an editor with DBCode is open, the agent works through that editor. With no editor open, the server reads your saved DBCode connections directly. If you use DBCode in more than one editor, an --app option chooses whose connections the agent sees. The setup notes cover Claude Code, Codex, GitHub Copilot CLI, Gemini CLI, Claude Desktop, Cursor and Windsurf. You need the DBCode extension and Node.js 22.14 or newer. Cursor, VS Code, Windsurf, Antigravity and Kiro can also connect DBCode to their built-in agents without this package.…
Highlights
- Query databases with an AI agent using your DBCode connections
- Works with more than 100 databases
- Works with Claude Code, Codex, Gemini CLI and Cursor
- Reads saved connections when no editor is open
- Choose which editor's connections to use with --app
Ratings & Reviews
No ratings yet
Be the first to rate DBCode.
People also visit
DBCode FAQ
What is DBCode?
DBCode is a database IDE that runs as an extension in VS Code, Cursor, Windsurf, Antigravity and Kiro. It connects to many databases and offers SQL notebooks, ER diagrams and AI queries.
What do I need before setup?
The DBCode extension installed in one of its supported editors, and Node.js 22.14 or newer.
Which databases are supported?
The README lists PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MongoDB, ClickHouse and Snowflake, among more than 100 databases in total.
Does the agent need an open editor?
No. With no editor open, the server reads your saved DBCode connections directly.
How do I pick an editor?
If you use DBCode in several editors, pass the --app option with the editor name, such as Cursor or Code.
What are the best DBCode alternatives?
Popular alternatives to DBCode include DBHub, drhalto/agentmako and googleapis/genai-toolbox. See all DBCode alternatives


















