- Relational: PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, Oracle, and Firebird.
- Distributed SQL: CockroachDB, OceanBase, TiDB, and YugabyteDB.
- NoSQL: MongoDB, Couchbase, Cassandra, ScyllaDB, Redis, and Valkey.
- Graph: Neo4j, Dgraph, FalkorDB, and ArcadeDB.
- Analytics and search: ClickHouse, Snowflake, SingleStore, Elasticsearch, Trino, and MindsDB.
- Google Cloud: AlloyDB, Cloud SQL for PostgreSQL, MySQL, and SQL Server, BigQuery, Bigtable, Firestore, and Spanner.
Run Toolbox
- Install Toolbox on a host that can reach your database.
- For trusted development, choose a prebuilt configuration for your database.
- Set the connection and credential environment variables listed in that configuration’s documentation.
tools.yaml file.
For custom Toolbox tools or databases without a prebuilt configuration, define tools.yaml and use --config tools.yaml instead.
Coral recommends that you expose only an execute_sql tool.
Use a database account with the minimum permissions that your agent’s work requires.
See Toolbox’s security guidance.
The MCP endpoint of this server is http://127.0.0.1:5000/mcp.
To expose a specific toolset, use /mcp/<toolset-name> instead.
For containers or a remote server, use an address reachable from the Coral runtime.
See Deploy with Coral.
Configure database credentials in Toolbox.
If Toolbox requires client authentication, follow its authentication documentation and configure the corresponding credentials in Coral.
Add Toolbox to Coral
- Open your workspace and click Tools, then Add provider.
- Click Add custom and enter the Toolbox endpoint in MCP server URL.
- Click Connect.
- Set the display name and namespace, then choose the sign-in method that matches your Toolbox configuration.
- Click Next. Authenticate if prompted, then review the discovered tools with Expand all.
- Click Next, choose the account setting, and click Add provider.
Query through Coral
Connect your MCP client to Coral. Give your client the Coral workspace URL, and keep the Toolbox URL in the provider configuration. Ask your agent to query the database through the provider’s namespace.Deploy with Coral
Without Toolbox client authentication, allow only Coral to reach its MCP endpoint. Direct access bypasses Coral’s tool policy.Local
Run Toolbox on the same host as Coral with--address 127.0.0.1, as in Run Toolbox.
Use http://127.0.0.1:5000/mcp as the provider URL.
Loopback binding blocks remote connections, but other processes on the host can still access Toolbox.
Docker Compose
Follow Toolbox’s Docker Compose guide to add it to your Coral deployment. Connect Coral and Toolbox through a private network shared only by these services. Omit Toolbox’sports mapping to keep its MCP port unpublished.
Keep Toolbox connected to a network that can reach your database.
For a service named toolbox on port 5000, use http://toolbox:5000/mcp as the provider URL.
Kubernetes
Follow Toolbox’s Kubernetes guide together with Coral’s Kubernetes guide. For a sidecar, run Toolbox in Coral’s Pod with--address 127.0.0.1.
Use http://127.0.0.1:5000/mcp as the provider URL, without a Service for Toolbox.
For a separate Deployment, use an internal ClusterIP Service and a NetworkPolicy that permits inbound connections only from Coral.
For a Service named toolbox in the coral namespace, use http://toolbox.coral.svc.cluster.local:5000/mcp.
Adjust the namespace, port, and cluster domain to match your deployment.
For each deployment, include the provider URL’s hostname and port in Toolbox’s --allowed-hosts.
Configure Coral’s outbound permissions for the endpoint in its [outbound] configuration:
- For loopback HTTP endpoints, such as
127.0.0.1sidecars, setloopback = "http-and-https". - For private network HTTP endpoints, such as Compose services and Kubernetes ClusterIP Services, set
private_networks = "http-and-https".
deny in server deployments.
Desktop and implicit-user local deployments allow both by default, unless you override them.