googleapis/mcp-toolbox
MCP Toolbox for Databases is an open source MCP server for databases.
MCP Toolbox for Databases – Quick Overview
What it is – An open‑source Model Context Protocol (MCP) server that sits between AI agents (or IDEs) and enterprise databases. It lets LLM‑powered tools talk to a database without the developer writing low‑level connection code.
Key capabilities
- Pre‑built tools (e.g.
list_tables,execute_sql) that can be enabled with a single flag for many popular databases (PostgreSQL, MySQL, BigQuery, Spanner, MongoDB, Snowflake, …). Agents can issue natural‑language queries and get results back. - Custom‑tool framework – Define your own
tools.yamlwith sources, tools, toolsets, prompts and read‑only resources. The server validates the configuration, enforces structured queries, and isolates access. - Multi‑language SDKs – Python, JavaScript/TypeScript, Go, Java client libraries make it easy to load a toolset from an application or a LangChain/LlamaIndex agent.
- Built‑in security & observability – IAM‑based authentication, connection pooling, OpenTelemetry metrics/traces.
How you use it
- Install – binary, Docker image, Homebrew, or
npx @toolbox-sdk/server. - Run –
toolbox --config tools.yaml(or--prebuilt=postgres). - Connect – add the server URL to an MCP‑compatible client (Gemini CLI, Claude Code, etc.) or use one of the SDKs to load a toolset in code.
- Interact – ask the LLM “show me the top 10 customers” and the server translates the request into a safe SQL statement against the configured source.
Why it matters – It removes the boilerplate and security risk of letting an LLM run arbitrary SQL, while still giving agents the ability to retrieve and manipulate data programmatically. Ideal for building production‑grade AI assistants, data‑exploration bots, or code‑generation tools that need reliable database access.
Links
- Docs: https://mcp-toolbox.dev/
- GitHub releases: https://github.com/googleapis/mcp-toolbox/releases
- Discord community, Medium blog, and SDK packages (PyPI, npm, Maven, Go).
Related
- Project
- Project
- Project
- Project
- Project