Best for
- Teams that want precise control over which database operations an AI can perform, rather than open arbitrary SQL execution
- Scenarios needing a unified MCP setup across multiple database engines
Officially maintained by Google; the config-driven design allows finer-grained permission control than a fixed-tool-list database MCP, but security depends heavily on how tools.yaml is written. The tool list varies by configuration, so no fixed tools field is listed. This review is a static check of source and docs, not an actual connection test.
An open-source MCP server officially maintained by Google for connecting AI assistants to databases. Unlike database MCP servers with a fixed tool list, MCP Toolbox is config-driven: a tools.yaml file defines exactly which SQL queries are exposed as tools (name, parameters, SQL statement), grouped into toolsets. It also ships ready-to-use --prebuilt=<database> toolsets (e.g. postgres/mysql) for a quick start without hand-writing config.
1) Quick start: npx -y @toolbox-sdk/server --prebuilt=postgres --stdio with the matching database connection env vars gives you a prebuilt tool set.
2) Custom: write a tools.yaml defining specific SQL tools and toolsets, run the Docker image us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox in Streamable HTTP mode with the config file mounted.
{
"mcpServers": {
"toolbox-postgres": {
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]
}
}
}