dbx
MCP server by t8y2 Community
Query databases from AI coding agents using the connections already set up in DBX. The dbx MCP server suits developers who use Claude Code, Cursor, Windsurf, or another MCP-compatible agent.
Install dbx
Built from the published package, never by AI.
claude mcp add dbx -- npx -y @dbx-app/mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"dbx": {
"args": [
"-y",
"@dbx-app/mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"dbx": {
"args": [
"-y",
"@dbx-app/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dbx": {
"args": [
"-y",
"@dbx-app/mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dbx -- npx -y @dbx-app/mcp-server{
"mcpServers": {
"dbx": {
"args": [
"-y",
"@dbx-app/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add dbx npx -y @dbx-app/mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dbx block.
About
dbx is an MCP server that lets AI coding agents query databases through connections configured in the DBX app. It is distributed separately from DBX, so installing the desktop app does not install the MCP executable. The server supports listing connections, browsing tables, executing SQL, and opening tables directly in DBX's UI.
The server runs with npx @dbx-app/mcp-server, or through precompiled native binaries that run without Node.js. Access modes (Read only, Data read/write, and Full access) and a connection allowlist are managed in DBX Settings under MCP. For DBX Web or Docker deployments, the server can point to the Web backend API. It suits developers who want AI agents to work with databases they already use in DBX.
Written from the project's README and checked against it.
Tools it gives your assistant
List connectionsLists the database connections configured in DBX.Browse tablesBrowses tables in a configured database connection.Execute SQLRuns SQL against a configured database connection.Open tables in DBXOpens tables directly in DBX's user interface.
What you need
- DBX with database connections configured
- Node.js for the npx install method
- macOS, Windows, or Linux
Try asking
- List the database connections available in DBX
- Show the tables in my staging database connection
- Run a SELECT query on the users table and summarize the results
Good to know
- Access is controlled by a connection allowlist and the Read only, Data read/write, and Full access modes
- Installing DBX does not install the MCP server
- Windows portable builds need DBX_DATA_DIR set in the MCP config
- Web or Docker deployments need DBX_WEB_URL and, if a login is set, DBX_WEB_PASSWORD
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to dbx
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
dbx: common questions
Does dbx let an AI agent change my data?
Access depends on the mode set in DBX Settings under MCP. The modes are Read only, Data read/write, and Full access, and a connection allowlist also applies.
Can dbx work with DBX Web or Docker?
Yes. The source says to point the MCP server at the Web backend API using DBX_WEB_URL, and to set DBX_WEB_PASSWORD if the Web login page requires a password.
Which AI tools work with dbx?
The source says it works with Claude Code, Cursor, Windsurf, and any MCP-compatible agent.
How do I install dbx?
In Claude Code run claude mcp add dbx -- npx -y @dbx-app/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is dbx the official server?
dbx is a community project by t8y2, not verified by a company domain.
Is dbx free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is dbx safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dbx?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does dbx work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
