1. Made by
“"homepage": "https://dbcode.io/docs/ai/mcp",”
The server is published by DBCode itself from its own GitHub organization dbcodeio; the npm package @dbcode/mcp points its homepage at dbcode.io, and the registry name io.dbcode matches that domain.
github.com/dbcodeio/public/blob/5d537882350d65f790959875068eff7751a51fe8/mcp/package.json2. Keys
“Cursor, VS Code, Windsurf, Antigravity and Kiro can also connect DBCode to their built-in agent without this package.”
In VS Code and Cursor DBCode registers its tools by itself, so no config is needed there. The package needs Node.js 22.14 or newer and DBCode installed in an editor.
github.com/dbcodeio/public/blob/5d537882350d65f790959875068eff7751a51fe8/mcp/README.md3. Runs
github.com/dbcodeio/public4. Commercial use
“Free for everyone, including commercial use and teams of any size”
DBCode and its MCP server are free for commercial use and teams of any size.
github.com/dbcodeio/public/blob/5d537882350d65f790959875068eff7751a51fe8/README.mdChecked against its repository at one commit, on Nov 10, 2026. Tap a verdict to see its source.How we checkedReport an error
What DBCode does
DBCode is a database tool that lives inside VS Code, Cursor and similar editors. This server lets your AI assistant use the database connections you saved in DBCode, so it can list them, read the tables and run queries for you. It works with more than 100 kinds of databases.
What people use it for
Ask questions about your data
Ask in chat, for example how many orders came in last month, and the assistant writes and runs the query on your saved connection.
Learn an unfamiliar database
Let the assistant find your connections, read every table and column, and explain how the main tables relate before it writes any query.
Copy real rows into a test database
Pull a slice of production data into your development database to test against real shapes. Only row counts go back to the assistant, not the rows.
Query MongoDB in its own language
On a MongoDB connection the assistant can send the same find or aggregate statements you would type yourself, or plain SQL.
An assistant inside a Dev Container
Turn on DBCode's local web server on your computer and point an assistant that runs in a Dev Container or on another machine at it, with sign-in kept on.
Check the data after a release Idea
After a change ships, ask the assistant to run a few read-only checks on a staging copy, such as counting rows with empty required fields.
DBCode popularity
Tools it gives your agent (8)
What it sends and its license
table and column names, and the rows of every query the assistant runs
To your AI client and the model provider it uses; each time the assistant calls a read or query tool. Opt out: use a read-only connection or AI data masking, or do not connect databases with private data.
nothing from dbcode-copy-data except row counts and a sample of error messages
To your AI client; when the assistant copies data between connections. Opt out: not needed; the copied rows stay between your databases.
The server is free for everyone, including companies. The small launcher package is MIT, but DBCode itself is closed software you may use and not copy, change or pass on.
DBCode and its MCP server are free for commercial use and teams of any size.
“Free for everyone, including commercial use and teams of any size” source
The DBCode extension, where the tools run, may not be passed on without written consent; only the small launcher package is MIT.
“Licensee shall not distribute, sublicense, or transfer the Extension to third parties without prior written consent from Licensor.” source
The license covers personal or business use on unlimited devices.
“grants the user ("Licensee") a non-exclusive, non-transferable license to download, install, and use the DBCode Extension ("Extension") on unlimited devices for personal or business purposes.” source
Is it alive
1.0.1 in the registry, updated Oct 3, 2026
@dbcode/mcp 1.0.1 on npm, published 2026-10-03; the DBCode docs page was updated Nov 9, 2026 (extension v1.39.1)
Alternatives
DBCode This page
Pick it if you want a standalone open source database server with no editor extension
com-supabase-mcp
Pick it if your database is on Supabase and the agent should also manage the project
Get started
Tell your AI assistant
“Add the DBCode MCP server (claude mcp add dbcode -- npx -y @dbcode/mcp), then list my DBCode connections, read the tables of my dev database and only run read queries unless I ask for a change.”
Connect it
claude mcp add dbcode -- npx -y @dbcode/mcpnpx -y @dbcode/mcp{
"mcpServers": {
"dbcode": {
"command": "npx",
"args": ["-y", "@dbcode/mcp"]
}
}
}
In VS Code and Cursor DBCode registers its tools by itself, so no config is needed there. The package needs Node.js 22.14 or newer and DBCode installed in an editor.
Mistakes to avoid
The assistant does not know your table names by itself and guesses.
The copy needs an existing table and maps columns by name.
The launcher only finds and starts the installed extension and checks the Node version.
Without OAuth anyone on your network can run queries through it.
Each call copies at most 1,000,000 source rows; skip makes re-runs safe to resume.
Questions
Does it cost anything?
No. The server is free for everyone. Only extras such as a separate, narrower role for the assistant need the paid Pro plan.
Do I need to keep my editor open?
No. With no editor open, the server reads your saved DBCode connections directly; a few features, such as copying data, then need the editor.
Are my database passwords sent to the AI?
No. DBCode says it never sends credentials, passwords, connection strings or server addresses; table names and query results are sent when the assistant asks.
Can the assistant delete data?
It can if the connection's role allows it. The Production role asks first for deletes and blocks dropping tables; read-only mode allows only reads.
I use DBCode in two editors. Which connections does the assistant see?
The newest installed DBCode is used; add --app with the editor name, such as Cursor, to choose.