PTS security notes / MCP servers / MCP Toolbox for Databases

Is MCP Toolbox for Databases safe to install?

By PTS · Based on public source as of December 5, 2026

Short answer

Prebuilt mode gives an agent tools such as list_tables and execute_sql against the database you configure, so the database user is the boundary. GitHub lists 6 advisories, 4 critical, fixed by 1.4.0. Use a read-only database user, prefer custom tools with fixed queries, and run 1.4.0 or later.

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.

What a prebuilt execute_sql can do is whatever the configured database user is allowed to do.

ToolWhat it can doNotes
execute_sqlReads, Writes, DeletesPrebuilt generic tool. Can run any SQL the database user allows.
list_tablesReadsPrebuilt schema tool.
Custom tools from tools.yaml
varies
Reads, WritesYou 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.

CredentialWhat it is forLeast privilege
Database connection settings (host, user, password) per sourceConnect 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.

AdvisorySeveritySummaryAffectedFixed in
GHSA-vwxw-jrg6-9jxv · CVE-2026-11720CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsn/a1.3.0
GHSA-8fcc-w5hv-4gxv · CVE-2026-11717Criticalgoogleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken)n/a1.4.0
GHSA-wcpr-6g7x-p44r · CVE-2026-11718Criticalgoogleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken)n/a1.4.0
GHSA-76g7-m3xw-x9gr · CVE-2026-11624CriticalMCP Toolbox for Databases has an Origin Validation Errorn/a0.25.0
GHSA-7pf3-8xx7-rvhf · CVE-2026-9739CriticalMCP Toolbox for Databases vulnerable to DNS rebinding attacksn/a1.2.0
GHSA-5gf6-gc35-xjpc · CVE-2026-11719HighMCP Toolbox for Databases: authenticated authorization bypassn/a1.4.0

What stands out

Safe-install checklist

Install command from the project's docs: npx -y @toolbox-sdk/server --prebuilt=postgres --stdio.

  1. 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.
  2. 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.
  3. Use a read-only database user, and a replica if you have one.
  4. Prefer a tools.yaml with specific statements over a generic execute_sql for anything beyond exploration.
  5. Run 1.4.0 or later and check the advisory list before you upgrade.
  6. Deny the tools you do not need. In Claude Code, deny rules in .claude/settings.json use the form mcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named it mcp-toolbox:
    {
      "permissions": {
        "deny": [
          "mcp__mcp-toolbox__execute_sql"
        ]
      }
    }
  7. Snapshot the tool list. Save the tools/list output 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.
  8. 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.

Get the free checklist

A 9-page worksheet plus starter files for Claude Code and Codex. It maps what your agent can reach and shrinks it. Download it on Gumroad. This site does not collect email.

Get the free checklist

Before you install anything, try the MCP tool diff checker. See all 54 servers.

More server pages