MCP Toolbox for Databases
Connects agents to BigQuery, Cloud SQL, AlloyDB, Spanner, Postgres, MySQL and many other databases.
Claude Desktop
{"mcpServers":{"toolbox-postgres":{"command":"npx","args":["-y","@toolbox-sdk/server","--prebuilt=postgres","--stdio"]}}}
Gemini CLI
gemini extensions install https://github.com/gemini-cli-extensions/mcp-toolbox
Commands and configuration as given in the server’s documentation (Documentation). Replace placeholders such as API keys with your own values.
MCP Toolbox for Databases is Google’s open-source database MCP server, previously named genai-toolbox.
MCP Toolbox for Databases is an MCP server from Google that connects agents to BigQuery, Cloud SQL, AlloyDB, Spanner, Postgres, MySQL and many other databases. It is open source under the Apache-2.0 license and runs over stdio or as an HTTP server on port 5000. Database credentials come from environment variables, with IAM for Google Cloud. The configuration below covers Claude Desktop and Gemini CLI.
The --prebuilt flag gives instant generic tools such as list_tables and execute_sql for a chosen database. You can also define custom tools, toolsets and prompts in YAML. It handles connection pooling, IAM auth and OpenTelemetry.
Questions
Which databases does MCP Toolbox for Databases support?
What does the --prebuilt flag do?
Can I define custom tools in MCP Toolbox?
What was MCP Toolbox for Databases called before?
Sources
Checked October 2, 2026.
Databases
View all- MongoDB MCP ServerLets agents query and manage MongoDB databases and administer MongoDB Atlas.Official
- Neon MCP ServerLets agents manage Neon Postgres projects and branches, run SQL, and handle schema migrations.Official
- Prisma MCPLets agents run Prisma migrations locally and manage Prisma Postgres databases remotely.Official
- Redis MCP ServerLets agents store, search and manage data in Redis using natural language.Official
