mcp-toolbox
MCP Toolbox for Databases, from Google, is an open-source MCP server that connects AI agents, IDEs and applications to databases. It was originally called Gen AI Toolbox for Databases and was renamed to reflect its MCP focus. It serves two purposes: a ready-to-use MCP server with prebuilt generic tools such as `list_tables` and `execute_sql`, and a framework for defining custom, restricted tools for production agents.
It suits two audiences. Developers can connect Gemini CLI, Claude Code, Codex, Antigravity or another MCP client to a database and explore data in natural language during development. Teams building agents can define structured queries, semantic search and NL2SQL tools in a YAML configuration, so the agent only runs the operations you allow. Supported sources include Google Cloud databases (AlloyDB, BigQuery, Cloud SQL, Spanner, Firestore) and many others such as PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, Elasticsearch, ClickHouse, Neo4j and Snowflake. Connection pooling, IAM authentication and OpenTelemetry are built in, and SDKs integrate it with ADK, LangChain and LlamaIndex.
Getting started: install with Homebrew (`brew install mcp-toolbox`), Go, Docker or `npx @toolbox-sdk/server`. Use `--prebuilt=postgres` (or another database) for instant generic tools, or pass `--config tools.yaml` with your own tool definitions.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-11-04
- Commits, last 90 days
- 100+
- Releases, last 90 days
- 8
- Latest release
- v1.15.0 (2026-10-23)
- Open issues
- 430
- Recent issues with at least one comment
- 3/17
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Most discussed open issues
- #1896 Support for metdata for both sources and tools in tools.yaml and description for sources30 comments · 2025-11-07
- #715 Proposal: Enabling MCP Toolbox for Databases as MCP Server26 comments · 2025-06-15
- #1327 why there are duplicate parameters descrption in the tools ?18 comments · 2025-09-04
- #3373 feat: Add policy-based automatic PII detection and dynamic masking17 comments · 2026-06-06
- #2290 ArangoDB16 comments · 2026-01-11
Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.
Who it fits
- You work with Google Cloud databases (AlloyDB, BigQuery, Cloud SQL, Spanner, Firestore) or want one server across many other databases.
- You are building a production agent and want it to run only predefined, structured operations defined in YAML.
- You need connection pooling, IAM authentication or OpenTelemetry built in.
- You want a two-minute setup for one local database; a single-purpose server such as the MySQL one is simpler.
- You plan to connect execute_sql to production data with a privileged account; the README's own advice is read-only credentials or custom tools.
- You prefer not to write YAML tool definitions.
How it differs
MCP Toolbox has the wider source list and production features (pooling, IAM, OpenTelemetry) and is an official Google project under Apache-2.0. DBHub is MIT, lighter and quicker to start for PostgreSQL, MySQL, SQL Server, MariaDB and SQLite.
MongoDB's own server is the choice for MongoDB and Atlas specifically, with Atlas cluster and user management tools. MCP Toolbox is for breadth across many databases.
Compatibility
Quick start
Use cases
Alternatives
Featured in these lists
Comments
No comments yet. Be the first!