MCP Toolbox

Active
GitHub Go Apache-2.0

Description

MCP Toolbox is an open-source MCP server for databases by Google, enabling agent access to PostgreSQL, MySQL, BigQuery, Spanner, and more.

Key Features

  • Prebuilt generic tools for instant database access — list tables, execute SQL, explore schemas
  • Custom tools framework for building structured queries, semantic search, and NL2SQL capabilities
  • Multi-database support: PostgreSQL, MySQL, BigQuery, Spanner, MongoDB, Redis, Neo4j, and 15+ more
  • Multi-language SDKs: Python, JavaScript/TypeScript, Go, and Java with sub-10-line integration
  • Built-in connection pooling, IAM authentication, and OpenTelemetry observability
  • Works with any MCP client: Gemini CLI, Claude Code, Codex, Google Antigravity, and more

Use Cases

💡 Connecting AI coding assistants in IDEs to enterprise databases for schema exploration and query generation
💡 Building production AI agents that safely query multiple database backends with predefined logic
💡 Enabling natural language to SQL translation for non-technical users via MCP-compatible tools
💡 Centralizing database access for teams with unified authentication, connection pooling, and audit trails
💡 Rapidly prototyping database-connected AI applications with minimal boilerplate code

Categories

Quick Start

Add the MCP config to your client: `{"mcpServers": {"toolbox-postgres": {"command": "npx", "args": ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]}}}`. Set environment variables for database connection. For custom tools, define a `tools.yaml` with sources and tool logic.

Related Projects