MCP Toolbox for Databases
Google's open-source MCP server and framework for connecting agents to enterprise databases.
Sources and review
Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.
Teams that want one governed way to expose many database types to agents, from exploration to production tools.
About MCP Toolbox for Databases
MCP Toolbox for Databases, formerly genai-toolbox, serves two roles: a ready-made MCP server with prebuilt tools that connects clients such as Gemini CLI, Claude Code and Codex to databases including Postgres, BigQuery, AlloyDB, Cloud SQL, Spanner and many others; and a framework for defining secure custom tools with structured queries, semantic search and NL2SQL for production agents.
MCP Toolbox for Databases is listed in this index written primarily in Go, with 17k stars on GitHub. Its latest recorded repository push was in November 2026; that is not an ASE editorial review date.
Before connecting: access and data
This record's specific permissions have not been reviewed by ASE. Read the publisher's documentation before copying setup or connecting.
- List the accounts, files and services the enabled tools can read, change or execute. Check your actual credentials and discovered tools.
- Use narrowly scoped credentials and read-only mode where supported. Review proposed writes before approving them; a generated configuration does not apply these limits for you.
- Local launch is not local-only data processing. External services receive requests, and your client may pass tool results to its model provider. Check both destinations before sharing private data.
- Keep keys and browser session files out of shared config, repositories and screenshots. Know how to disconnect the server and separately revoke its credentials or account sessions.
Add MCP Toolbox for Databases to your MCP client
Generated from the launch command in the project's README. Your client starts the server on demand.
Claude Code
claude mcp add mcp-toolbox-for-databases -- npx -y @toolbox-sdk/server --prebuilt=postgres --stdioCursor
{
"mcpServers": {
"mcp-toolbox-for-databases": {
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]
}
}
}VS Code
{
"servers": {
"mcp-toolbox-for-databases": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-toolbox-for-databases": {
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]
}
}
}Codex
[mcp_servers.mcp-toolbox-for-databases]
command = "npx"
args = ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]