What it is
MCP Toolbox for Databases is an open-source server from Google that connects agents to databases. It offers prebuilt tools per database (for example --prebuilt=postgres) and a tools.yaml where you define your own parameterised tools.
- Maintainer
- Official (vendor)googleapis on GitHub (organisation account, project of the same name)
- Source
- googleapis/mcp-toolbox17,079 GitHub stars · Apache-2.0 licence
- Transport
- stdio, HTTP
- Packages
- github.com/googleapis/mcp-toolbox go
- Latest release
- v1.19.0 2026-12-04
- Public advisories
- 6GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: no
- Network: no
- Sends: no
What a prebuilt execute_sql can do is whatever the configured database user is allowed to do.
| Tool | What it can do | Notes |
|---|---|---|
execute_sql | Reads, Writes, Deletes | Prebuilt generic tool. Can run any SQL the database user allows. |
list_tables | Reads | Prebuilt schema tool. |
| Custom tools from tools.yaml varies | Reads, Writes | You define each tool, its SQL and its parameters. your own SQL statements |
The tool set depends on the database and on your tools.yaml. The README names `list_tables` and `execute_sql` as examples of prebuilt tools.
Credentials and least privilege
The database account is the whole boundary for prebuilt tools.
| Credential | What it is for | Least privilege |
|---|---|---|
Database connection settings (host, user, password) per source | Connect to your database. | Use a dedicated read-only database user limited to the schemas the agent needs. Do not use an admin or owner role. |
Public security advisories
Advisories published on GitHub or OSV for this project, as of December 5, 2026. Fixed issues are a normal part of a maintained project. What matters is that the version you run is not in an affected range.
| Advisory | Severity | Summary | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vwxw-jrg6-9jxv · CVE-2026-11720 | Critical | MCP Toolbox HTTP tool path parameters allow traversal to unintended endpoints | n/a | 1.3.0 |
| GHSA-8fcc-w5hv-4gxv · CVE-2026-11717 | Critical | googleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken) | n/a | 1.4.0 |
| GHSA-wcpr-6g7x-p44r · CVE-2026-11718 | Critical | googleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken) | n/a | 1.4.0 |
| GHSA-76g7-m3xw-x9gr · CVE-2026-11624 | Critical | MCP Toolbox for Databases has an Origin Validation Error | n/a | 0.25.0 |
| GHSA-7pf3-8xx7-rvhf · CVE-2026-9739 | Critical | MCP Toolbox for Databases vulnerable to DNS rebinding attacks | n/a | 1.2.0 |
| GHSA-5gf6-gc35-xjpc · CVE-2026-11719 | High | MCP Toolbox for Databases: authenticated authorization bypass | n/a | 1.4.0 |
What stands out
- GitHub and OSV list 6 advisories for the Go module, 4 of them critical, with fixes in 0.25.0, 1.2.0, 1.3.0 and 1.4.0.
- Custom tools with fixed, parameterised queries are the narrower option the README describes.
- The README says the prebuilt tools are for instant exploration.
Safe-install checklist
Install command from the project's docs: npx -y @toolbox-sdk/server --prebuilt=postgres --stdio.
- Pin the version. Use an exact version, not
latest:docker run us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0. The registry entry points to a pinned container image. - Scope the credential. Use a dedicated read-only database user limited to the schemas the agent needs. Do not use an admin or owner role.
- Use a read-only database user, and a replica if you have one.
- Prefer a
tools.yamlwith specific statements over a genericexecute_sqlfor anything beyond exploration. - Run 1.4.0 or later and check the advisory list before you upgrade.
- Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itmcp-toolbox:{ "permissions": { "deny": [ "mcp__mcp-toolbox__execute_sql" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can MCP Toolbox for Databases do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data. What a prebuilt `execute_sql` can do is whatever the configured database user is allowed to do.
Does MCP Toolbox for Databases need a token or API key?
Yes, depending on setup: Database connection settings (host, user, password) per source. The database account is the whole boundary for prebuilt tools.
Has MCP Toolbox for Databases had public security advisories?
Yes. 6 public advisories (GitHub or OSV) listed for it as of December 5, 2026. Each one is linked on this page with its affected and fixed versions, so you can check the version you run. Fixed issues are normal for active projects. Running a current, pinned version is what matters.
How do I keep MCP Toolbox for Databases from changing under me?
Pin the version, for example docker run us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.19.0. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
