Key Features
Multi-Database Support
PostgreSQL, MySQL, Cloud SQL, AlloyDB, Spanner — configure via YAML.
Safety Built-In
- Parameterized queries prevent SQL injection
- Read-only mode available
- Connection pooling for performance
- IAM-based authentication for Google Cloud
MCP Protocol
Standard MCP server — works with any MCP-compatible AI tool.
Declarative Config
Define tools as SQL templates in YAML. No code required.
FAQ
Q: What is GenAI Toolbox? A: An open-source MCP server by Google for connecting AI agents to databases (PostgreSQL, MySQL, Cloud SQL, AlloyDB, Spanner) with built-in safety and auth. 13K+ stars.
Q: Does it only work with Google Cloud? A: No, it works with any PostgreSQL or MySQL database. Google Cloud features (Cloud SQL, IAM auth) are optional.