Your database wasn't built for AI agents. This fixes that.
Google open-sourced a dual-mode MCP server so AI agents can talk to Postgres, BigQuery, and two dozen other databases without writing boilerplate.

What it does
MCP Toolbox for Databases is an open-source Model Context Protocol server that brokers conversations between AI clients and your data stores. It offers instant, prebuilt tools for common operations like list_tables and execute_sql across more than twenty database systems, while also serving as a framework for defining locked-down, custom tools through a tools.yaml configuration. That means you can point Gemini CLI, Claude Code, or Codex at a Postgres instance immediately, or carefully craft production agent queries with restricted access and structured parameters.
The interesting bit
The same binary handles casual IDE-assisted schema exploration and hardened production agent deployments with IAM authentication and OpenTelemetry tracing. It treats “chat with my local database” and “secure NL2SQL pipeline” as equally valid first-class citizens, which is a rare combination in a space that usually picks one audience and ignores the other.
Key highlights
- Broad source support, including Google Cloud systems (AlloyDB, BigQuery, Spanner, Firestore) and third-party databases (PostgreSQL, MongoDB, Redis, Snowflake, Neo4j, and others).
- Prebuilt generic tools for immediate MCP client integration, enabling plain-English data exploration and schema discovery.
- Custom tools, toolsets, and prompts defined declaratively in
tools.yamlfor production use cases. - Built-in connection pooling, integrated IAM authentication, and OpenTelemetry metrics and tracing.
- SDKs available in Python, JavaScript/TypeScript, Go, and Java for embedding into frameworks like LangChain or LlamaIndex.
Caveats
- The quick-start
npxpath is explicitly labeled as a convenience layer, not the performance option; binaries or containers are recommended for production workloads. - The repository was recently renamed from
genai-toolboxtomcp-toolboxto align with the Model Context Protocol, so external references may still use the old name.
Verdict Worth exploring if you need governed, observable database access for agentic applications, or if you simply want your IDE to query data in plain English. Skip it if your stack does not speak MCP or if you prefer hand-rolling every database integration.
Frequently asked
- What is googleapis/mcp-toolbox?
- Google open-sourced a dual-mode MCP server so AI agents can talk to Postgres, BigQuery, and two dozen other databases without writing boilerplate.
- Is mcp-toolbox open source?
- Yes — googleapis/mcp-toolbox is open source, released under the Apache-2.0 license.
- What language is mcp-toolbox written in?
- googleapis/mcp-toolbox is primarily written in Go.
- How popular is mcp-toolbox?
- googleapis/mcp-toolbox has 16k stars on GitHub and is currently cooling off.
- Where can I find mcp-toolbox?
- googleapis/mcp-toolbox is on GitHub at https://github.com/googleapis/mcp-toolbox.