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
{
"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.
More MCP servers for databases
- Google CloudStatus: GA
AlloyDB for PostgreSQL remote MCP server
Google-hosted remote MCP server that lets agents create and manage AlloyDB clusters, instances, users and backups, run SQL, and import or export data via Cloud Storage.
Transport: Streamable HTTPAuth: OAuth - Google CloudStatus: GA
BigQuery remote MCP server
Google-hosted remote MCP server that lets agents list BigQuery datasets and tables, inspect schemas, and run SQL queries and jobs in a Google Cloud project.
Transport: Streamable HTTPAuth: OAuth - Google Cloud
Cloud Run MCP server
Open source MCP server and Gemini CLI extension from Google Cloud that lets agents deploy code and local folders to Cloud Run and inspect services and logs.
Transport: stdio, Streamable HTTPAuth: Other - Google CloudStatus: GA
Cloud Run remote MCP server
Google-hosted remote MCP server for Cloud Run that lets agents list and inspect services and deploy from a container image, a source archive, or inline source files.
Transport: Streamable HTTPAuth: OAuth - Google CloudStatus: GA
Cloud SQL remote MCP server
Google-hosted remote MCP server for Cloud SQL (MySQL, PostgreSQL, SQL Server) that lets agents manage instances, users and backups and execute SQL.
Transport: Streamable HTTPAuth: OAuth - Google CloudStatus: GA
Firestore remote MCP server
Google-hosted remote MCP server that lets agents read and write Firestore documents and manage databases, indexes, backups and backup schedules.
Transport: Streamable HTTPAuth: OAuth
Related reading
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
- Pydantic AI V2 in Late 2026: Capabilities, Graphs, Evals and MCPPydantic AI V2 explained through v2.57.0: capabilities, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
- Claude Opus 5.5 Built a Browser 3D World: The Higgsfield MCP WorkflowClaude Opus 5.5 and Higgsfield MCP built an interactive 3D Library of Alexandria in the browser. The verified connector setup and where the workflow holds up.
- Pi 1.0 Release Guide: MCP, Codemode and Pi DurablePi 1.0 adds built-in MCP through Codemode, a fullscreen TUI by default and Pi Durable. What changed, how to install it, and what breaks on upgrade.
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.
- github.comhttps://github.com/googleapis/mcp-toolbox
- raw.githubusercontent.comhttps://raw.githubusercontent.com/googleapis/mcp-toolbox/main/README.md
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.