Servers › Databases › MCP Toolbox for Databases (Google)

● MaintainedDatabases

MCP Toolbox for Databases (Google) MCP Server

Google's open-source MCP server for databases, formerly called genai-toolbox. Prebuilt tools such as list_tables and execute_sql work with PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, ClickHouse, Snowflake, BigQuery, AlloyDB, Cloud SQL, Spanner and more. Pick one with --prebuilt=<database>, for example --prebuilt=postgres, which reads POSTGRES_HOST, POSTGRES_PORT, POSTGRES_DATABASE, POSTGRES_USER and POSTGRES_PASSWORD. Version 1.18.0 (Nov 20, 2026) tightens several input checks (file resources must stay inside their folder, stricter parameter matching and escaping) and binds ClickHouse and SQLite query parameters on the server. The repo moved from googleapis/genai-toolbox to googleapis/mcp-toolbox, so update old git remotes.

Install

npx -y @toolbox-sdk/server --prebuilt=postgres --stdio

Source: official setup docs

Example config (Cursor / Claude Desktop)

{
  "mcpServers": {
    "mcp-toolbox": {
      "command": "npx",
      "args": [
        "-y",
        "@toolbox-sdk/server",
        "--prebuilt=postgres",
        "--stdio"
      ],
      "env": {
        "POSTGRES_HOST": "<your-value>",
        "POSTGRES_PORT": "<your-value>",
        "POSTGRES_DATABASE": "<your-value>",
        "POSTGRES_USER": "<your-value>",
        "POSTGRES_PASSWORD": "<your-value>"
      }
    }
  }
}

The same mcpServers block works in Cursor, Claude Desktop and Devin Desktop. VS Code (Copilot) uses a "type" field, Claude Code is easiest with claude mcp add, and Codex uses TOML: see the setup guide for your app. On Windows, wrap npx with cmd /c (fix).

At a glance

Repositorygoogleapis/mcp-toolbox
GitHub stars17,020
Last commit2026-11-27 (3 days ago)
Statusmaintained
Security advisoriesLatest advisory published 2026-09-10: GHSA-vwxw-jrg6-9jxv (critical), fixed in 1.3.0. 6 published advisories found as of 2026-11-30. Details
Clients mentioned in READMEClaude Desktop, Claude Code, Codex, Gemini CLI
AuthDatabase credentials (env vars) · POSTGRES_HOST POSTGRES_PORT POSTGRES_DATABASE POSTGRES_USER POSTGRES_PASSWORD
Language / LicenseGo / Apache-2.0
Official MCP registryListed ✓

Security advisories

Latest: GHSA-vwxw-jrg6-9jxv (CVE-2026-11720), published 2026-09-10 critical
MCP Toolbox HTTP tool path parameters allow traversal to unintended endpoints in github.com/googleapis/mcp-toolbox
Fixed in: 1.3.0 or later. Update before using it.

6 published advisories found (newest 5 shown)
  • 2026-09-10: GHSA-vwxw-jrg6-9jxv (critical): MCP Toolbox HTTP tool path parameters allow traversal to unintended endpoints in github.com/googleapis/mcp-toolbox
  • 2026-08-25: GHSA-76g7-m3xw-x9gr (critical): MCP Toolbox for Databases has an Origin Validation Error in github.com/googleapis/genai-toolbox
  • 2026-07-07: GHSA-7pf3-8xx7-rvhf (critical): MCP Toolbox for Databases vulnerable to DNS rebinding attacks in github.com/googleapis/mcp-toolbox
  • 2026-06-25: GHSA-wcpr-6g7x-p44r (critical): googleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken) in github.com/googleapis/mcp-toolbox
  • 2026-06-25: GHSA-8fcc-w5hv-4gxv (critical): googleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken) in github.com/googleapis/mcp-toolbox

Checked 2026-11-30 in the repo's GitHub security advisories and OSV.dev for @toolbox-sdk/server (npm), github.com/googleapis/mcp-toolbox (Go), github.com/googleapis/genai-toolbox (Go). No advisory doesn't prove a server is safe. How to stay updated.

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.