17K ·GitHub
What is this?
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs, and apps directly to enterprise databases like PostgreSQL, MySQL, BigQuery, MongoDB, and more.
Is this a ready-made server or a framework for building tools?
Both: it's a ready-to-use MCP server with prebuilt tools (listtables, executesql) at build-time, and also a framework for defining custom secure tools via a tools.yaml config at run-time.
How do I get the Toolbox server running?
Install it as a binary for your OS/arch from the releases page, as a Docker container, via Homebrew, or compile from source with Go, then run it with `toolbox --config tools.yaml` or a `--prebuilt=` flag.
Which MCP clients and SDKs work with it?
It works with any MCP-compatible client such as Gemini CLI, Google Antigravity, Claude Code, and Codex, and ships Client SDKs for Python, LangChain/LangGraph, LlamaIndex, JavaScript/TypeScript, and Go.
Is there a catch with installing it?
Multiple install paths exist (binary per-OS-and-arch, Docker, Homebrew, NPM wrapper, source) and the project was recently renamed from genai-toolbox to mcp-toolbox, so old git remotes need updating.
Which databases does it support?
Google Cloud databases (AlloyDB, BigQuery, Cloud SQL, Spanner, Firestore) plus PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, MongoDB, Redis, Elasticsearch, CockroachDB, ClickHouse, Couchbase, Neo4j, Snowflake, Trino and more.
What extra features does it provide beyond query execution?
Connection pooling, IAM-based authentication, end-to-end observability via OpenTelemetry, an interactive testing UI (--ui flag), and the ability to export toolsets as portable Agent Skill packages.
Can I test tools without writing code against a real client?
Yes, running Toolbox with the --ui flag launches an interactive UI to test tools and toolsets, including authorized parameters.
What are similar projects?
dbx, Chat2DB, libredb-studio, GoNavi, beekeeper-studio, navop, Tracely-ai, TablePro
Which topics is it in?
tidb, bigquery, cockroachdb, oracle, genai, clickhouse, elasticsearch, mongodb, langchain, google, mysql, redis