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.
- The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCPMCP co-creator David Soria Parra on why 2026 is about agent connectivity: skills, CLIs and MCP together, progressive discovery, programmatic tool calling, a stateless transport and skills over MCP.
- Gateways Are All You Need: How Anthropic Thinks About MCP in the EnterpriseAnthropic's Karan Sampath on why enterprises get stuck with a handful of MCP servers, and how one blessed gateway for auth, access control, routing and observability lets every team ship its own.
- Set Up Factory Droid Properly: AGENTS.md, Skills, Hooks, MCP and PermissionsA configuration guide for Factory Droid: where AGENTS.md, skills, hooks, MCP servers and settings live, what each one is for, and a starter setup you can commit to a repo today.
- Claude Code Just Got Code Mode: Save a Ton of TokensCode Mode lets Claude Code write JavaScript that makes all its tool calls at once and returns only what it needs. A real run: 11 tool calls in one 6 second step.
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.