Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Databases - official Google Cloud server

MCP Toolbox for Databases

Open source MCP server from Google that connects agents and IDEs to databases with prebuilt tools (AlloyDB, BigQuery, Cloud SQL, Spanner, Firestore, PostgreSQL, MySQL, SQL Server, MongoDB, Redis and more) or custom tools defined in YAML. It runs locally from @toolbox-sdk/server (npm); the notes below cover how it authenticates.

Last verified 2 sources

Install

Generic

JSON
{
  "mcpServers": {
    "toolbox-postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@toolbox-sdk/server",
        "--prebuilt=postgres",
        "--stdio"
      ]
    }
  }
}

Notes and caveats

  • Repository renamed from googleapis/genai-toolbox.
  • Database credentials come from environment variables per the prebuilt configs reference; tool sets vary by --prebuilt database so no single tool list.
  • Can also run as a local HTTP server at http://127.0.0.1:5000/mcp.
  • Google points users wanting a managed option to the Google Cloud remote MCP servers.

FAQ

What does the MCP Toolbox for Databases do?

Open source MCP server from Google that connects agents and IDEs to databases with prebuilt tools (AlloyDB, BigQuery, Cloud SQL, Spanner, Firestore, PostgreSQL, MySQL, SQL Server, MongoDB, Redis and more) or custom tools defined in YAML.

How do I add the MCP Toolbox for Databases to an MCP client?

Google Cloud documents a Generic config; copy it from the Generic section of this page.

Does the MCP Toolbox for Databases need authentication?

It uses a scheme other than OAuth or an API key, such as the session of the app or instance it runs in; the notes on this page describe it. Transport: stdio, Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.

Sources

Last verified against 2 Google Cloud pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.