← Registry
MCP Official

MCP Toolbox for Databases

Open-source MCP server (formerly Gen AI Toolbox for Databases) that securely connects AI agents and MCP clients to databases like AlloyDB, Spanner, Cloud SQL, BigQuery, and self-managed Postgres/MySQL.

Install

export VERSION=1.4.0 && curl -L -o toolbox https://storage.googleapis.com/mcp-toolbox-for-databases/v$VERSION/$OS/toolbox && chmod +x toolbox
$

A Go-based MCP server that links agents and MCP clients (Gemini CLI, Claude Code, Codex) to databases spanning Google Cloud's AlloyDB, BigQuery, Cloud SQL, and Spanner plus PostgreSQL, MySQL, SQL Server, MongoDB, and many more. Use the prebuilt generic tools like list_tables and execute_sql to explore schemas at build time, or define custom production tools in a tools.yaml. It adds connection pooling, IAM auth, and OpenTelemetry observability, and integrates with ADK, LangChain, and LlamaIndex.