googleapis/mcp-toolbox
AI EngineeringAgent frameworksOpen-source MCP server that connects AI agents and IDEs to enterprise databases with prebuilt or custom tools.
This project ships 6 agent skillsSkill list and install →What it does
MCP Toolbox is an open-source Model Context Protocol server from Google that connects AI agents, IDEs, and applications to databases. It serves two roles: a ready-made MCP server you can point an MCP client at for instant schema exploration and SQL execution, and a framework for defining custom tools with controlled queries and parameters. It supports PostgreSQL, MySQL, BigQuery, Spanner, Firestore, MongoDB, Redis, Elasticsearch, ClickHouse, and others; the full list and tool reference live in the documentation.
Quick start with prebuilt tools
Add a prebuilt database server to your MCP client config (for example claude_desktop_config.json or mcp.json):
{
"mcpServers": {
"toolbox-postgres": {
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--prebuilt=postgres", "--stdio"]
}
}
}
Then set the environment variables your database connection needs, as described in the prebuilt tools reference. Restart the client, and the prebuilt tools such as list_tables and execute_sql become available. You can narrow the loaded set with --prebuilt=postgres/data.
Custom tools
For production use, define a tools.yaml with sources, tools, toolsets, prompts, and resources. A tool maps a parameterized statement to a source:
kind: tool
name: search-hotels-by-name
type: postgres-sql
source: my-pg-source
description: Search for hotels based on name.
parameters:
- name: name
type: string
description: The name of the hotel.
statement: SELECT * FROM hotels WHERE name ILIKE '%' || $1 || '%';
Start the server with npx @toolbox-sdk/server --config tools.yaml or a binary, then connect an MCP client over HTTP at http://127.0.0.1:5000/mcp. For application integration, client SDKs are available for Python (toolbox-core), JavaScript/TypeScript (@toolbox-sdk/core), Go, and Java, with adapters for LangChain, LlamaIndex, Genkit, ADK, and others.
Running and operating
Installation options include binaries for Linux, macOS, and Windows, a container image, Homebrew, npm, or go install. The README notes that the npx route favors convenience over performance and recommends binaries or containers for more reliable deployments; deployment guidance is in the deploy section. Run ./toolbox --ui to test tools interactively, and use --telemetry-otlp=<endpoint> to export OpenTelemetry traces and metrics. Configuration is reloaded dynamically by default; pass --disable-reload to turn that off. A skills-generate command converts a toolset into an Agent Skill package.
Constraints
Database credentials are configured in tools.yaml or environment variables, so protecting that file and limiting each tool's SQL and parameters matters when exposing tools to an agent. Connection behavior, authentication, and observability are described in the configuration docs. The project uses semantic versioning for the server CLI, manifests, and client SDKs, and is released under Apache-2.0.
HotRepo's take
The repository recorded 17,069 stars and 1,825 forks when it appeared on the Go weekly list on 2026-12-05, with 104 stars gained that week and a best position of 15. That places a database-focused MCP server among actively watched Go projects, consistent with its role as infrastructure rather than an end-user app. A Hacker News thread from 2026-04-10 saw a commenter pitch a separate server-discovery service (comment), but the discussion adds no usage evidence. The strength here is breadth: one server covers many databases and ships client SDKs across four languages, so teams already using MCP clients can adopt it without writing per-database connectors.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
Hacker News
You might also like
- t8y2/dbxA 25 MB cross-platform database GUI/CLI covering relational, NoSQL and analytical engines, aimed at developers and DBAs tired of overweight clients.
- google/adk-pythonA code-first Python framework for building, evaluating, and deploying modular AI agents and workflows.
- docker/docker-agentDefine multi-agent setups in YAML, wire in MCP tools and any model provider, then run or share them via Docker.
- thesysdev/openuiA streaming-first language and runtime for letting LLMs generate structured, interactive UI for app builders.
- PrefectHQ/fastmcpA Python framework for building MCP servers, clients, and interactive apps that connect LLMs to tools and data.