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: Not statedAuth: 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
- Claude on Google Cloud, Anthropic Managed: Setup and SDK GuideClaude Models on Google Cloud (Anthropic managed) is the full Claude API behind Google Cloud IAM and billing. Setup, the 2 services, IAM roles and SDK code.
- OpenAI Models on Google Cloud: What Changes for DevelopersOpenAI and Google Cloud put GPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna into Model Garden in private preview, with Codex pointed at Gemini inference. What is live, what is "coming soon", and what to do before general availability.
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
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.