MCP Toolbox for Databases
MCP server by googleapis Community
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.
Install MCP Toolbox for Databases
Built from the published package, never by AI.
claude mcp add mcp-toolbox-for-databases -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3Run in your terminal. Add --scope user to use it in every project.
Step-by-step: install MCP Toolbox for Databases in Claude Code
{
"mcpServers": {
"mcp-toolbox-for-databases": {
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3"
],
"command": "docker"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP Toolbox for Databases in Claude Desktop
{
"mcpServers": {
"mcp-toolbox-for-databases": {
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3"
],
"command": "docker"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-toolbox-for-databases": {
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3"
],
"command": "docker"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-toolbox-for-databases -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3{
"mcpServers": {
"mcp-toolbox-for-databases": {
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3"
],
"command": "docker"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Toolbox for Databases in Antigravity CLI
gemini mcp add mcp-toolbox-for-databases docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3Gemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install MCP Toolbox for Databases in Gemini CLI
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 mcp-toolbox-for-databases block.
About
MCP Toolbox for Databases is an open source Model Context Protocol server that connects AI agents, IDEs and applications to enterprise databases. Started with a prebuilt flag such as --prebuilt=postgres, it gives MCP clients standard tools for that database, including list_tables and execute_sql. Supported databases include AlloyDB, BigQuery, Cloud SQL, PostgreSQL, MySQL, MongoDB and Snowflake, among others.
The project also works as a framework for custom tools. Developers define sources, tools, toolsets, prompts and resources in a tools.yaml file to build structured, restricted queries for production agents. The source also mentions integration with ADK, LangChain and LlamaIndex, IAM-based authentication and OpenTelemetry observability. It is aimed at developers who want AI assistants to query, explore and generate code for their data.
Written from the project's README and checked against it.
Tools it gives your assistant
list_tablesPrebuilt generic tool for listing tables in the connected database.execute_sqlPrebuilt generic tool for running SQL against the connected database.Custom tools frameworkDefine sources, tools, toolsets and prompts in tools.yaml for specialized agent tools.
What you need
- Node.js, for the npx command
- Docker, for the container image option
- An MCP-compatible client such as Gemini CLI or Claude Code
- Database connection settings set as environment variables
Try asking
- List all tables in my PostgreSQL database.
- Run this SQL query against my database and summarize the results.
- Explore my database schema and generate Python code to read from it.
Good to know
- The npx method is optimized for convenience rather than performance.
- The source recommends the binary or container image for a more reliable installation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Toolbox for Databases
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.
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.
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.
Compare with Supabase, ArcadeDB MCP Server or DBHub
MCP Toolbox for Databases: common questions
What is MCP Toolbox for Databases?
It is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. The source describes it as both a ready-to-use server and a custom tools framework.
Which databases are supported?
The source lists AlloyDB, BigQuery, Cloud SQL for PostgreSQL, MySQL and SQL Server, Spanner, Firestore, PostgreSQL, MySQL, MariaDB, Oracle, MongoDB, Redis, Snowflake and more.
Was this project renamed?
Yes. It was originally named Gen AI Toolbox for Databases, and the genai-toolbox repository has been renamed to mcp-toolbox.
How do I install MCP Toolbox for Databases?
In Claude Code run claude mcp add mcp-toolbox-for-databases -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0@sha256:c5a44dfd8750b6a0150a23e41b25396bf4c2f49bbaa71bd1dd3bf22dcdd344c3. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Toolbox for Databases the official server?
MCP Toolbox for Databases is a community project by googleapis, not verified by a company domain.
Is MCP Toolbox for Databases free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is MCP Toolbox for Databases 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 MCP Toolbox for Databases?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does MCP Toolbox for Databases 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.
