MCP Configs2026年3月30日·1 分钟阅读

GenAI Toolbox — MCP Server for Databases by Google

Open-source MCP server for databases by Google. Connect AI agents to PostgreSQL, MySQL, Cloud SQL, AlloyDB, and Spanner with built-in auth, connection pooling, and safety. 13K+ stars.

介绍

GenAI Toolbox for Databases is an open-source MCP server by Google that connects AI agents to databases. It supports PostgreSQL, MySQL, Cloud SQL, AlloyDB, and Spanner with built-in authentication, connection pooling, parameterized queries, and safety guardrails. Designed for production use with Google Cloud but works with any database. 13,500+ GitHub stars.

Best for: Developers connecting AI agents to databases securely Works with: Claude Code, Cursor, Gemini CLI, any MCP client


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.


🙏

来源与感谢

Created by Google. Licensed under Apache 2.0. googleapis/genai-toolbox — 13,500+ GitHub stars

讨论

登录后参与讨论。
还没有评论,来写第一条吧。