<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reference on MCP Toolbox for Databases</title><link>/reference/</link><description>Recent content in Reference on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>CLI</title><link>/reference/cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/reference/cli/</guid><description>&lt;h2 id="reference">Reference&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Flag (Short)&lt;/th>
 &lt;th>Flag (Long)&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;th>Default&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>-a&lt;/code>&lt;/td>
 &lt;td>&lt;code>--address&lt;/code>&lt;/td>
 &lt;td>Address of the interface the server will listen on.&lt;/td>
 &lt;td>&lt;code>127.0.0.1&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--disable-reload&lt;/code>&lt;/td>
 &lt;td>Disables dynamic reloading config.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>-h&lt;/code>&lt;/td>
 &lt;td>&lt;code>--help&lt;/code>&lt;/td>
 &lt;td>help for toolbox&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--log-level&lt;/code>&lt;/td>
 &lt;td>Specify the minimum level logged. Allowed: &amp;lsquo;DEBUG&amp;rsquo;, &amp;lsquo;INFO&amp;rsquo;, &amp;lsquo;WARN&amp;rsquo;, &amp;lsquo;ERROR&amp;rsquo;.&lt;/td>
 &lt;td>&lt;code>info&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--logging-format&lt;/code>&lt;/td>
 &lt;td>Specify logging format to use. Allowed: &amp;lsquo;standard&amp;rsquo; or &amp;lsquo;JSON&amp;rsquo;.&lt;/td>
 &lt;td>&lt;code>standard&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--mcp-prm-file&lt;/code>&lt;/td>
 &lt;td>Path to a manual Protected Resource Metadata (PRM) JSON file. If provided, overrides auto-generation for MCP Server-Wide Authentication.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>-p&lt;/code>&lt;/td>
 &lt;td>&lt;code>--port&lt;/code>&lt;/td>
 &lt;td>Port the server will listen on.&lt;/td>
 &lt;td>&lt;code>5000&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--prebuilt&lt;/code>&lt;/td>
 &lt;td>Use one or more prebuilt tool configuration by source type. See &lt;a href="/documentation/configuration/prebuilt-configs/">Prebuilt Tools Reference&lt;/a> for allowed values.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--stdio&lt;/code>&lt;/td>
 &lt;td>Listens via MCP STDIO instead of acting as a remote HTTP server.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--telemetry-gcp&lt;/code>&lt;/td>
 &lt;td>Enable exporting directly to Google Cloud Monitoring.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--telemetry-otlp&lt;/code>&lt;/td>
 &lt;td>Enable exporting using OpenTelemetry Protocol (OTLP) to the specified endpoint (e.g. &amp;lsquo;http://127.0.0.1:4318&amp;rsquo;)&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--telemetry-service-name&lt;/code>&lt;/td>
 &lt;td>Sets the value of the service.name resource attribute for telemetry data.&lt;/td>
 &lt;td>&lt;code>toolbox&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--config&lt;/code>&lt;/td>
 &lt;td>File path specifying the tool configuration. Cannot be used with &amp;ndash;configs or &amp;ndash;config-folder.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--configs&lt;/code>&lt;/td>
 &lt;td>Multiple file paths specifying tool configurations. Files will be merged. Cannot be used with &amp;ndash;config or &amp;ndash;config-folder.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--config-folder&lt;/code>&lt;/td>
 &lt;td>Directory path containing YAML tool configuration files. All .yaml and .yml files in the directory will be loaded and merged. Cannot be used with &amp;ndash;config or &amp;ndash;configs.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--ui&lt;/code>&lt;/td>
 &lt;td>Launches the Toolbox UI web server.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--allowed-origins&lt;/code>&lt;/td>
 &lt;td>Specifies a list of origins permitted to access this server for CORs access.&lt;/td>
 &lt;td>&lt;code>*&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--allowed-hosts&lt;/code>&lt;/td>
 &lt;td>Specifies a list of hosts permitted to access this server to prevent DNS rebinding attacks.&lt;/td>
 &lt;td>&lt;code>*&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--user-agent-metadata&lt;/code>&lt;/td>
 &lt;td>Appends additional metadata to the User-Agent.&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;/td>
 &lt;td>&lt;code>--poll-interval&lt;/code>&lt;/td>
 &lt;td>Specifies the polling frequency (seconds) for configuration file updates.&lt;/td>
 &lt;td>&lt;code>0&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>-v&lt;/code>&lt;/td>
 &lt;td>&lt;code>--version&lt;/code>&lt;/td>
 &lt;td>version for toolbox&lt;/td>
 &lt;td>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="sub-commands">Sub Commands&lt;/h2>
&lt;details>
&lt;summary>&lt;code>invoke&lt;/code>&lt;/summary>
&lt;p>Executes a tool directly with the provided parameters. This is useful for testing tool configurations and parameters without needing a full client setup.&lt;/p></description></item><item><title>FAQ</title><link>/reference/faq/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/reference/faq/</guid><description>&lt;h2 id="how-can-i-deploy-or-run-toolbox">How can I deploy or run Toolbox?&lt;/h2>
&lt;p>MCP Toolbox for Databases is open-source and can be run or deployed to a
multitude of environments. For convenience, we release &lt;a href="https://github.com/googleapis/genai-toolbox/releases/">compiled binaries and
docker images&lt;/a> (but you can always compile yourself as well!).&lt;/p>
&lt;p>For detailed instructions, check out these resources:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="/documentation/getting-started/local_quickstart/">Quickstart: How to Run Locally&lt;/a>&lt;/li>
&lt;li>&lt;a href="/documentation/deploy-to/cloud-run/">Deploy to Cloud Run&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="do-i-need-a-google-cloud-accountproject-to-get-started-with-toolbox">Do I need a Google Cloud account/project to get started with Toolbox?&lt;/h2>
&lt;p>Nope! While some of the sources Toolbox connects to may require GCP credentials,
Toolbox doesn&amp;rsquo;t require them and can connect to a bunch of different resources
that don&amp;rsquo;t.&lt;/p></description></item><item><title>Style Guide</title><link>/reference/style-guide/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/reference/style-guide/</guid><description>&lt;p>This document provides style guidelines and best practices for developers building MCP tools using &lt;strong>MCP Toolbox&lt;/strong>. Following these standards ensures that agents can reason effectively, security is maintained, and user intent is met with high precision.&lt;/p>
&lt;h2 id="combatting-context-rot-and-tool-limits">Combatting &amp;ldquo;Context Rot&amp;rdquo; and Tool Limits&lt;/h2>
&lt;p>Excessive or irrelevant tool definitions lead to &lt;strong>&amp;ldquo;Context Rot&amp;rdquo;&lt;/strong>, where the model&amp;rsquo;s attention is diluted by &amp;ldquo;distractor&amp;rdquo; tokens, causing reasoning accuracy to collapse.&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Toolsets:&lt;/strong> Use the MCP Toolbox &lt;strong>toolsets&lt;/strong> feature to group tools by capability or persona (e.g., &lt;code>cloud-sql-admin&lt;/code> vs. &lt;code>cloud-sql-data&lt;/code>). This ensures the agent only sees tools relevant to its immediate intent.&lt;/li>
&lt;li>&lt;strong>Target Limits:&lt;/strong> Aim for &lt;strong>5–8 tools per toolset&lt;/strong> (organized by Critical User Journey). While the platform supports more, performance and accuracy are highest when the agent is exposed to a cognitively manageable list of actions. The current rule of thumb is to try to keep it to 40 tools per server as an upper limit, though even this amount may cause performance issues. Performance degrades as more tools are added, so teams should heavily weigh adding new tools against the negative impact on tool accuracy until other mechanisms are in place to deal with this.&lt;/li>
&lt;/ul>
&lt;h2 id="naming-conventions">Naming Conventions&lt;/h2>
&lt;h3 id="tool-names">Tool Names&lt;/h3>
&lt;p>Use &lt;code>snake_case&lt;/code> with the pattern &lt;code>&amp;lt;action&amp;gt;_&amp;lt;resource&amp;gt;&lt;/code>. Avoid product-specific prefixes, as agents can disambiguate tools by the MCP server name.&lt;/p></description></item><item><title>Versioning Policy</title><link>/reference/versioning/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/reference/versioning/</guid><description>&lt;p>MCP Toolbox for Databases follows &lt;a href="https://semver.org/">Semantic Versioning&lt;/a>.&lt;/p>
&lt;h2 id="definition-of-the-public-api">Definition of the Public API&lt;/h2>
&lt;p>For the purposes of this policy, the &amp;ldquo;Public API&amp;rdquo; includes:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Server&lt;/strong>
&lt;ul>
&lt;li>&lt;strong>CLI:&lt;/strong> The execution engine and lifecycle manager for tool hosting.&lt;/li>
&lt;li>&lt;strong>Configuration Manifests:&lt;/strong> The structural specification of &lt;code>tools.yaml&lt;/code>.&lt;/li>
&lt;li>&lt;strong>Pre-built Configs:&lt;/strong> Curated sets of tools (and other MCP primitives) including the CLI flag, source configuration, toolsets names, and tools.&lt;/li>
&lt;li>&lt;strong>MCP versions&lt;/strong>: Supporting MCP revisions and transport protocols.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Client SDKs:&lt;/strong> Both the foundational &amp;ldquo;Base SDKs&amp;rdquo; and the orchestration-specific &amp;ldquo;Integrated SDKs&amp;rdquo;.&lt;/li>
&lt;/ul>
&lt;h2 id="what-constitutes-a-breaking-change-major-version-bump">What Constitutes a Breaking Change (Major Version Bump)&lt;/h2>
&lt;p>A major version bump (e.g., v1.x.x to v2.0.0) is required for the following modifications:&lt;/p></description></item></channel></rss>