cleanup: previews/PR-2260
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>About on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/about/</link><description>Recent content in About on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/about/index.xml" rel="self" type="application/rss+xml"/><item><title>FAQ</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/about/faq/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/about/faq/</guid><description><h2 id="how-can-i-deploy-or-run-toolbox">How can I deploy or run Toolbox?</h2>
|
||||
<p>MCP Toolbox for Databases is open-source and can be run or deployed to a
|
||||
multitude of environments. For convenience, we release <a href="https://github.com/googleapis/genai-toolbox/releases/">compiled binaries and
|
||||
docker images</a> (but you can always compile yourself as well!).</p>
|
||||
<p>For detailed instructions, check out these resources:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart/">Quickstart: How to Run Locally</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_toolbox/">Deploy to Cloud Run</a></li>
|
||||
</ul>
|
||||
<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?</h2>
|
||||
<p>Nope! While some of the sources Toolbox connects to may require GCP credentials,
|
||||
Toolbox doesn&rsquo;t require them and can connect to a bunch of different resources
|
||||
that don&rsquo;t.</p></description></item></channel></rss>
|
||||
@@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/categories/</link><description>Recent content in Categories on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Concepts on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/concepts/</link><description>Recent content in Concepts on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/concepts/index.xml" rel="self" type="application/rss+xml"/><item><title>Telemetry</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/concepts/telemetry/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/concepts/telemetry/</guid><description><h2 id="about">About</h2>
|
||||
<p>Telemetry data such as logs, metrics, and traces will help developers understand
|
||||
the internal state of the system. This page walks though different types of
|
||||
telemetry and observability available in Toolbox.</p>
|
||||
<p>Toolbox exports telemetry data of logs via standard out/err, and traces/metrics
|
||||
through <a href="https://opentelemetry.io/">OpenTelemetry</a>. Additional flags can be
|
||||
passed to Toolbox to enable different logging behavior, or to export metrics
|
||||
through a specific <a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/concepts/telemetry/#exporter">exporter</a>.</p>
|
||||
<h2 id="logging">Logging</h2>
|
||||
<p>The following flags can be used to customize Toolbox logging:</p></description></item></channel></rss>
|
||||
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 24 KiB |
@@ -1,4 +0,0 @@
|
||||
/* PrismJS 1.28.0
|
||||
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard */
|
||||
code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}
|
||||
div.code-toolbar{position:relative}div.code-toolbar>.toolbar{position:absolute;z-index:10;top:.3em;right:.2em;transition:opacity .3s ease-in-out;opacity:0}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{color:#bbb;font-size:.8em;padding:0 .5em;background:#f5f2f0;background:rgba(224,224,224,.2);box-shadow:0 2px 0 0 rgba(0,0,0,.2);border-radius:.5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;text-decoration:none}
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 980 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
@@ -1,429 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Getting Started on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/</link><description>Recent content in Getting Started on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Python Quickstart (Local)</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart/</guid><description><p><a href="https://colab.research.google.com/github/googleapis/genai-toolbox/blob/main/docs/en/getting-started/colab_quickstart.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a></p>
|
||||
<h2 id="before-you-begin">Before you begin</h2>
|
||||
<p>This guide assumes you have already done the following:</p>
|
||||
<ol>
|
||||
<li>Installed <a href="https://wiki.python.org/moin/BeginnersGuide/Download">Python 3.10+</a> (including <a href="https://pip.pypa.io/en/stable/installation/">pip</a> and
|
||||
your preferred virtual environment tool for managing dependencies e.g.
|
||||
<a href="https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments">venv</a>).</li>
|
||||
<li>Installed <a href="https://www.postgresql.org/download/">PostgreSQL 16+ and the <code>psql</code> client</a>.</li>
|
||||
</ol>
|
||||
<h3 id="cloud-setup-optional">Cloud Setup (Optional)</h3>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>If you plan to use <strong>Google Cloud’s Vertex AI</strong> with your agent (e.g., using
|
||||
<code>vertexai=True</code> or a Google GenAI model), follow these one-time setup steps for
|
||||
local development:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/sdk/docs/install">Install the Google Cloud CLI</a></p></description></item><item><title>JS Quickstart (Local)</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart_js/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart_js/</guid><description><h2 id="before-you-begin">Before you begin</h2>
|
||||
<p>This guide assumes you have already done the following:</p>
|
||||
<ol>
|
||||
<li>Installed <a href="https://nodejs.org/">Node.js (v18 or higher)</a>.</li>
|
||||
<li>Installed <a href="https://www.postgresql.org/download/">PostgreSQL 16+ and the <code>psql</code> client</a>.</li>
|
||||
</ol>
|
||||
<h3 id="cloud-setup-optional">Cloud Setup (Optional)</h3>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>If you plan to use <strong>Google Cloud’s Vertex AI</strong> with your agent (e.g., using
|
||||
<code>vertexai=True</code> or a Google GenAI model), follow these one-time setup steps for
|
||||
local development:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/sdk/docs/install">Install the Google Cloud CLI</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/docs/authentication/set-up-adc-local-dev-environment">Set up Application Default Credentials
|
||||
(ADC)</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Set your project and enable Vertex AI</p></description></item><item><title>Go Quickstart (Local)</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart_go/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart_go/</guid><description><h2 id="before-you-begin">Before you begin</h2>
|
||||
<p>This guide assumes you have already done the following:</p>
|
||||
<ol>
|
||||
<li>Installed <a href="https://go.dev/doc/install">Go (v1.24.2 or higher)</a>.</li>
|
||||
<li>Installed <a href="https://www.postgresql.org/download/">PostgreSQL 16+ and the <code>psql</code> client</a>.</li>
|
||||
</ol>
|
||||
<h3 id="cloud-setup-optional">Cloud Setup (Optional)</h3>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>If you plan to use <strong>Google Cloud’s Vertex AI</strong> with your agent (e.g., using
|
||||
<code>vertexai=True</code> or a Google GenAI model), follow these one-time setup steps for
|
||||
local development:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/sdk/docs/install">Install the Google Cloud CLI</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/docs/authentication/set-up-adc-local-dev-environment">Set up Application Default Credentials
|
||||
(ADC)</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Set your project and enable Vertex AI</p></description></item><item><title>Prompts using Gemini CLI</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/prompts_quickstart_gemini_cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/prompts_quickstart_gemini_cli/</guid><description><h2 id="before-you-begin">Before you begin</h2>
|
||||
<p>This guide assumes you have already done the following:</p>
|
||||
<ol>
|
||||
<li>Installed <a href="https://www.postgresql.org/download/">PostgreSQL 16+ and the <code>psql</code> client</a>.</li>
|
||||
</ol>
|
||||
<h2 id="step-1-set-up-your-database">Step 1: Set up your database</h2>
|
||||
<p>In this section, we will create a database, insert some data that needs to be
|
||||
accessed by our agent, and create a database user for Toolbox to connect with.</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Connect to postgres using the <code>psql</code> command:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">psql -h 127.0.0.1 -U postgres
|
||||
</span></span></code></pre></div><p>Here, <code>postgres</code> denotes the default postgres superuser.</p></description></item><item><title>Configuration</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/configure/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/configure/</guid><description><p>The primary way to configure Toolbox is through the <code>tools.yaml</code> file. If you
|
||||
have multiple files, you can tell toolbox which to load with the <code>--tools-file tools.yaml</code> flag.</p>
|
||||
<p>You can find more detailed reference documentation to all resource types in the
|
||||
<a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/">Resources</a>.</p>
|
||||
<h3 id="using-environment-variables">Using Environment Variables</h3>
|
||||
<p>To avoid hardcoding certain secret fields like passwords, usernames, API keys
|
||||
etc., you could use environment variables instead with the format <code>${ENV_NAME}</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="w"> </span><span class="nt">user</span><span class="p">:</span><span class="w"> </span><span class="l">${USER_NAME}</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">password</span><span class="p">:</span><span class="w"> </span><span class="l">${PASSWORD}</span><span class="w">
|
||||
</span></span></span></code></pre></div><p>A default value can be specified like <code>${ENV_NAME:default}</code>.</p></description></item></channel></rss>
|
||||
|
Before Width: | Height: | Size: 241 KiB |
@@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Introduction on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/introduction/</link><description>Recent content in Introduction on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/introduction/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
||||
@@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Quickstart (MCP) on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/mcp_quickstart/</link><description>Recent content in Quickstart (MCP) on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/mcp_quickstart/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
||||
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 24 KiB |
@@ -1,365 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Connect from your IDE on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/</link><description>Recent content in Connect from your IDE on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/index.xml" rel="self" type="application/rss+xml"/><item><title>AlloyDB Admin API using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/alloydb_pg_admin_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/alloydb_pg_admin_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/alloydb/docs/connect-ide-using-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/alloydb/docs/connect-ide-using-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>AlloyDB using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/alloydb_pg_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/alloydb_pg_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/alloydb/docs/connect-ide-using-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/alloydb/docs/connect-ide-using-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>BigQuery using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/bigquery_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/bigquery_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/bigquery/docs/pre-built-tools-with-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/bigquery/docs/pre-built-tools-with-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>Cloud SQL for MySQL using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/sql/docs/mysql/pre-built-tools-with-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/sql/docs/mysql/pre-built-tools-with-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>Cloud SQL for Postgres using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/sql/docs/postgres/pre-built-tools-with-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/sql/docs/postgres/pre-built-tools-with-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>Cloud SQL for SQL Server using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/sql/docs/sqlserver/pre-built-tools-with-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/sql/docs/sqlserver/pre-built-tools-with-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>Firestore using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/firestore_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/firestore_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/firestore/native/docs/connect-ide-using-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/firestore/native/docs/connect-ide-using-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>Looker using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/</guid><description><p><a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> is
|
||||
an open protocol for connecting Large Language Models (LLMs) to data sources
|
||||
like Postgres. This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a>
|
||||
to expose your developer assistant tools to a Looker instance:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Gemini-CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/#connect-with-antigravity">Antigravity</a></li>
|
||||
</ul>
|
||||
<h2 id="set-up-looker">Set up Looker</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Get a Looker Client ID and Client Secret. Follow the directions
|
||||
<a href="https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk">here</a>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Have the base URL of your Looker instance available. It is likely
|
||||
something like <code>https://looker.example.com</code>. In some cases the API is
|
||||
listening at a different port, and you will need to use
|
||||
<code>https://looker.example.com:19999</code> instead.</p></description></item><item><title>MySQL using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/</guid><description><p><a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> is
|
||||
an open protocol for connecting Large Language Models (LLMs) to data sources
|
||||
like MySQL. This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a> to
|
||||
expose your developer assistant tools to a MySQL instance:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="set-up-the-database">Set up the database</h2>
|
||||
<ol>
|
||||
<li><a href="https://dev.mysql.com/downloads/installer/">Create or select a MySQL instance.</a></li>
|
||||
</ol>
|
||||
<h2 id="install-mcp-toolbox">Install MCP Toolbox</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Download the latest version of Toolbox as a binary. Select the <a href="https://github.com/googleapis/genai-toolbox/releases">correct
|
||||
binary</a> corresponding
|
||||
to your OS and CPU architecture. You are required to use Toolbox version
|
||||
V0.10.0+:</p></description></item><item><title>Neo4j using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/</guid><description><p><a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> is
|
||||
an open protocol for connecting Large Language Models (LLMs) to data sources
|
||||
like Neo4j. This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a> to
|
||||
expose your developer assistant tools to a Neo4j instance:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="set-up-the-database">Set up the database</h2>
|
||||
<ol>
|
||||
<li><a href="https://neo4j.com/cloud/platform/aura-graph-database/">Create or select a Neo4j
|
||||
instance.</a></li>
|
||||
</ol>
|
||||
<h2 id="install-mcp-toolbox">Install MCP Toolbox</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Download the latest version of Toolbox as a binary. Select the <a href="https://github.com/googleapis/genai-toolbox/releases">correct
|
||||
binary</a> corresponding
|
||||
to your OS and CPU architecture. You are required to use Toolbox version
|
||||
v0.15.0+:</p></description></item><item><title>PostgreSQL using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/</guid><description><p><a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> is
|
||||
an open protocol for connecting Large Language Models (LLMs) to data sources
|
||||
like Postgres. This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a>
|
||||
to expose your developer assistant tools to a Postgres instance:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<style type="text/css">
|
||||
|
||||
.notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #6be;
|
||||
--content-color: #444;
|
||||
--content-background-color: #e7f2fa;
|
||||
}
|
||||
|
||||
.notice.info {
|
||||
--title-background-color: #fb7;
|
||||
--content-background-color: #fec;
|
||||
}
|
||||
|
||||
.notice.tip {
|
||||
--title-background-color: #5a5;
|
||||
--content-background-color: #efe;
|
||||
}
|
||||
|
||||
.notice.warning {
|
||||
--title-background-color: #c33;
|
||||
--content-background-color: #fee;
|
||||
}
|
||||
|
||||
|
||||
@media (prefers-color-scheme:dark) {
|
||||
.notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #069;
|
||||
--content-color: #ddd;
|
||||
--content-background-color: #023;
|
||||
}
|
||||
|
||||
.notice.info {
|
||||
--title-background-color: #a50;
|
||||
--content-background-color: #420;
|
||||
}
|
||||
|
||||
.notice.tip {
|
||||
--title-background-color: #363;
|
||||
--content-background-color: #121;
|
||||
}
|
||||
|
||||
.notice.warning {
|
||||
--title-background-color: #800;
|
||||
--content-background-color: #400;
|
||||
}
|
||||
}
|
||||
|
||||
body.dark .notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #069;
|
||||
--content-color: #ddd;
|
||||
--content-background-color: #023;
|
||||
}
|
||||
|
||||
body.dark .notice.info {
|
||||
--title-background-color: #a50;
|
||||
--content-background-color: #420;
|
||||
}
|
||||
|
||||
body.dark .notice.tip {
|
||||
--title-background-color: #363;
|
||||
--content-background-color: #121;
|
||||
}
|
||||
|
||||
body.dark .notice.warning {
|
||||
--title-background-color: #800;
|
||||
--content-background-color: #400;
|
||||
}
|
||||
|
||||
|
||||
.notice {
|
||||
padding: 18px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 24px;
|
||||
border-radius: 4px;
|
||||
color: var(--content-color);
|
||||
background: var(--content-background-color);
|
||||
}
|
||||
|
||||
.notice p:last-child {
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
|
||||
.notice-title {
|
||||
margin: -18px -18px 12px;
|
||||
padding: 4px 18px;
|
||||
border-radius: 4px 4px 0 0;
|
||||
font-weight: 700;
|
||||
color: var(--title-color);
|
||||
background: var(--title-background-color);
|
||||
}
|
||||
|
||||
|
||||
.icon-notice {
|
||||
display: inline-flex;
|
||||
align-self: center;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.icon-notice img,
|
||||
.icon-notice svg {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.icon-notice img,
|
||||
.icon-notice.baseline svg {
|
||||
top: .125em;
|
||||
position: relative;
|
||||
}
|
||||
</style><div class="notice tip" >
|
||||
<p class="notice-title">
|
||||
<span class="icon-notice baseline">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="300.5 134 300 300">
|
||||
<path d="M551.281 252.36c0-3.32-1.172-6.641-3.515-8.985l-17.774-17.578c-2.344-2.344-5.469-3.711-8.789-3.711-3.32 0-6.445 1.367-8.789 3.71l-79.687 79.493-44.141-44.14c-2.344-2.344-5.469-3.712-8.79-3.712-3.32 0-6.444 1.368-8.788 3.711l-17.774 17.579c-2.343 2.343-3.515 5.664-3.515 8.984 0 3.32 1.172 6.445 3.515 8.789l70.704 70.703c2.343 2.344 5.664 3.711 8.789 3.711 3.32 0 6.64-1.367 8.984-3.71l106.055-106.056c2.343-2.343 3.515-5.468 3.515-8.789ZM600.5 284c0 82.813-67.188 150-150 150-82.813 0-150-67.188-150-150 0-82.813 67.188-150 150-150 82.813 0 150 67.188 150 150Z"/>
|
||||
</svg>
|
||||
|
||||
</span>Tip</p></description></item><item><title>Spanner using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/spanner_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/spanner_mcp/</guid><description><html>
|
||||
<head>
|
||||
<link rel="canonical" href="https://cloud.google.com/spanner/docs/pre-built-tools-with-mcp-toolbox"/>
|
||||
<meta http-equiv="refresh" content="0;url=https://cloud.google.com/spanner/docs/pre-built-tools-with-mcp-toolbox"/>
|
||||
</head>
|
||||
</html></description></item><item><title>SQL Server using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/</guid><description><p><a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> is
|
||||
an open protocol for connecting Large Language Models (LLMs) to data sources
|
||||
like SQL Server. This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for
|
||||
Databases</a> to expose your developer assistant tools to a SQL Server
|
||||
instance:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="set-up-the-database">Set up the database</h2>
|
||||
<ol>
|
||||
<li><a href="https://www.microsoft.com/en-us/sql-server/sql-server-downloads">Create or select a SQL Server
|
||||
instance.</a></li>
|
||||
</ol>
|
||||
<h2 id="install-mcp-toolbox">Install MCP Toolbox</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Download the latest version of Toolbox as a binary. Select the <a href="https://github.com/googleapis/genai-toolbox/releases">correct
|
||||
binary</a> corresponding
|
||||
to your OS and CPU architecture. You are required to use Toolbox version
|
||||
V0.10.0+:</p></description></item><item><title>SQLite using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/</guid><description><p><a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> is
|
||||
an open protocol for connecting Large Language Models (LLMs) to data sources
|
||||
like SQLite. This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a>
|
||||
to expose your developer assistant tools to a SQLite instance:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="set-up-the-database">Set up the database</h2>
|
||||
<ol>
|
||||
<li><a href="https://www.sqlite.org/download.html">Create or select a SQLite database file.</a></li>
|
||||
</ol>
|
||||
<h2 id="install-mcp-toolbox">Install MCP Toolbox</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Download the latest version of Toolbox as a binary. Select the <a href="https://github.com/googleapis/genai-toolbox/releases">correct
|
||||
binary</a> corresponding
|
||||
to your OS and CPU architecture. You are required to use Toolbox version
|
||||
V0.10.0+:</p></description></item><item><title>Cloud SQL for PostgreSQL Admin using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/</guid><description><p>This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a> to expose your
|
||||
developer assistant tools to create and manage Cloud SQL for PostgreSQL
|
||||
instance, database and users:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="before-you-begin">Before you begin</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>In the Google Cloud console, on the <a href="https://console.cloud.google.com/projectselector2/home/dashboard">project selector
|
||||
page</a>,
|
||||
select or create a Google Cloud project.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project">Make sure that billing is enabled for your Google Cloud
|
||||
project</a>.</p></description></item><item><title>Cloud SQL for MySQL Admin using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/</guid><description><p>This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a> to expose your
|
||||
developer assistant tools to create and manage Cloud SQL for MySQL instance,
|
||||
database and users:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="before-you-begin">Before you begin</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>In the Google Cloud console, on the <a href="https://console.cloud.google.com/projectselector2/home/dashboard">project selector
|
||||
page</a>,
|
||||
select or create a Google Cloud project.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project">Make sure that billing is enabled for your Google Cloud
|
||||
project</a>.</p></description></item><item><title>Cloud SQL for SQL Server Admin using MCP</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/</guid><description><p>This guide covers how to use <a href="https://github.com/googleapis/genai-toolbox">MCP Toolbox for Databases</a> to expose your
|
||||
developer assistant tools to create and manage Cloud SQL for SQL Server
|
||||
instance, database and users:</p>
|
||||
<ul>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Cursor</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Windsurf</a> (Codium)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Visual Studio Code</a> (Copilot)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Cline</a> (VS Code extension)</li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Claude desktop</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Claude code</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Gemini CLI</a></li>
|
||||
<li><a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/#configure-your-mcp-client">Gemini Code Assist</a></li>
|
||||
</ul>
|
||||
<h2 id="before-you-begin">Before you begin</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>In the Google Cloud console, on the <a href="https://console.cloud.google.com/projectselector2/home/dashboard">project selector
|
||||
page</a>,
|
||||
select or create a Google Cloud project.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project">Make sure that billing is enabled for your Google Cloud
|
||||
project</a>.</p></description></item></channel></rss>
|
||||
@@ -1,2 +0,0 @@
|
||||
<!doctype html><html lang=en><head><title>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/</title>
|
||||
<link rel=canonical href=https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/"></head></html>
|
||||
@@ -1,288 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How-to on MCP Toolbox for Databases</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/</link><description>Recent content in How-to on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/index.xml" rel="self" type="application/rss+xml"/><item><title>Connect via MCP Client</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect_via_mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect_via_mcp/</guid><description><h2 id="toolbox-sdks-vs-model-context-protocol-mcp">Toolbox SDKs vs Model Context Protocol (MCP)</h2>
|
||||
<p>Toolbox now supports connections via both the native Toolbox SDKs and via <a href="https://modelcontextprotocol.io/">Model
|
||||
Context Protocol (MCP)</a>. However, Toolbox has
|
||||
several features which are not supported in the MCP specification (such as
|
||||
Authenticated Parameters and Authorized invocation).</p>
|
||||
<p>We recommend using the native SDKs over MCP clients to leverage these features.
|
||||
The native SDKs can be combined with MCP clients in many cases.</p>
|
||||
<h3 id="protocol-versions">Protocol Versions</h3>
|
||||
<p>Toolbox currently supports the following versions of MCP specification:</p></description></item><item><title>Toolbox UI</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/toolbox-ui/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/toolbox-ui/</guid><description><p>Toolbox UI is a built-in web interface that allows users to visually inspect and
|
||||
test out configured resources such as tools and toolsets.</p>
|
||||
<h2 id="launching-toolbox-ui">Launching Toolbox UI</h2>
|
||||
<p>To launch Toolbox&rsquo;s interactive UI, use the <code>--ui</code> flag.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl">./toolbox --ui
|
||||
</span></span></code></pre></div><p>Toolbox UI will be served from the same host and port as the Toolbox Server,
|
||||
with the <code>/ui</code> suffix. Once Toolbox is launched, the following INFO log with
|
||||
Toolbox UI&rsquo;s url will be shown:</p></description></item><item><title>Connect via Gemini CLI Extensions</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect_via_geminicli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect_via_geminicli/</guid><description><h2 id="gemini-cli-extensions">Gemini CLI Extensions</h2>
|
||||
<p><a href="https://google-gemini.github.io/gemini-cli/">Gemini CLI</a> is an open-source AI agent designed to assist with
|
||||
development workflows by assisting with coding, debugging, data exploration, and
|
||||
content creation. Its mission is to provide an agentic interface for interacting
|
||||
with database and analytics services and popular open-source databases.</p>
|
||||
<h3 id="how-extensions-work">How extensions work</h3>
|
||||
<p>Gemini CLI is highly extensible, allowing for the addition of new tools and
|
||||
capabilities through extensions. You can load the extensions from a GitHub URL,
|
||||
a local directory, or a configurable registry. They provide new tools, slash
|
||||
commands, and prompts to assist with your workflow.</p></description></item><item><title>Deploy to Cloud Run</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_toolbox/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_toolbox/</guid><description><h2 id="before-you-begin">Before you begin</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/sdk/docs/install">Install</a> the Google Cloud CLI.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Set the PROJECT_ID environment variable:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">PROJECT_ID</span><span class="o">=</span><span class="s2">&#34;my-project-id&#34;</span>
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Initialize gcloud CLI:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">gcloud init
|
||||
</span></span><span class="line"><span class="cl">gcloud config <span class="nb">set</span> project <span class="nv">$PROJECT_ID</span>
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Make sure you&rsquo;ve set up and initialized your database.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>You must have the following APIs enabled:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">gcloud services <span class="nb">enable</span> run.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> cloudbuild.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> artifactregistry.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> iam.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> secretmanager.googleapis.com
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>To create an IAM account, you must have the following IAM permissions (or
|
||||
roles):</p>
|
||||
<ul>
|
||||
<li>Create Service Account role (roles/iam.serviceAccountCreator)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>To create a secret, you must have the following roles:</p></description></item><item><title>Deploy ADK Agent and MCP Toolbox</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_adk_agent/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_adk_agent/</guid><description><h2 id="before-you-begin">Before you begin</h2>
|
||||
<p>This guide assumes you have already done the following:</p>
|
||||
<ol>
|
||||
<li>Completed the <a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart/">Python Quickstart
|
||||
(Local)</a> and have a working ADK
|
||||
agent running locally.</li>
|
||||
<li>Installed the <a href="https://cloud.google.com/sdk/docs/install">Google Cloud CLI</a>.</li>
|
||||
<li>A Google Cloud project with billing enabled.</li>
|
||||
</ol>
|
||||
<h2 id="step-1-deploy-mcp-toolbox-to-cloud-run">Step 1: Deploy MCP Toolbox to Cloud Run</h2>
|
||||
<p>Before deploying your agent, your MCP Toolbox server needs to be accessible from
|
||||
the cloud. We will deploy MCP Toolbox to Cloud Run.</p>
|
||||
<p>Follow the <a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_toolbox/">Deploy to Cloud Run</a> guide to deploy your MCP
|
||||
Toolbox instance.</p></description></item><item><title>Deploy to Kubernetes</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_gke/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_gke/</guid><description><h2 id="before-you-begin">Before you begin</h2>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Set the PROJECT_ID environment variable:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">export</span> <span class="nv">PROJECT_ID</span><span class="o">=</span><span class="s2">&#34;my-project-id&#34;</span>
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p><a href="https://cloud.google.com/sdk/docs/install">Install the <code>gcloud</code> CLI</a>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Initialize gcloud CLI:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">gcloud init
|
||||
</span></span><span class="line"><span class="cl">gcloud config <span class="nb">set</span> project <span class="nv">$PROJECT_ID</span>
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>You must have the following APIs enabled:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">gcloud services <span class="nb">enable</span> artifactregistry.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> cloudbuild.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> container.googleapis.com <span class="se">\
|
||||
</span></span></span><span class="line"><span class="cl"><span class="se"></span> iam.googleapis.com
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p><code>kubectl</code> is used to manage Kubernetes, the cluster orchestration system used
|
||||
by GKE. Verify if you have <code>kubectl</code> installed:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">kubectl version --client
|
||||
</span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>If needed, install <code>kubectl</code> component using the Google Cloud CLI:</p></description></item><item><title>Deploy using Docker Compose</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_docker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_docker/</guid><description><!-- Contributor: Sujith R Pillai <sujithrpillai@gmail.com> -->
|
||||
<h2 id="before-you-begin">Before you begin</h2>
|
||||
<ol>
|
||||
<li><a href="https://docs.docker.com/compose/install/">Install Docker Compose.</a></li>
|
||||
</ol>
|
||||
<h2 id="configure-toolsyaml-file">Configure <code>tools.yaml</code> file</h2>
|
||||
<p>Create a <code>tools.yaml</code> file that contains your configuration for Toolbox. For
|
||||
details, see the
|
||||
<a href="https://github.com/googleapis/genai-toolbox/blob/main/README.md#configuration">configuration</a>
|
||||
section.</p>
|
||||
<h2 id="deploy-using-docker-compose">Deploy using Docker Compose</h2>
|
||||
<ol>
|
||||
<li>Create a <code>docker-compose.yml</code> file, customizing as needed:</li>
|
||||
</ol>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">services</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">toolbox</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="c"># TODO: It is recommended to pin to a specific image version instead of latest.</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:latest</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">hostname</span><span class="p">:</span><span class="w"> </span><span class="l">toolbox</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">platform</span><span class="p">:</span><span class="w"> </span><span class="l">linux/amd64</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ports</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s2">&#34;5000:5000&#34;</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">./config:/config</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">command</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w"> </span><span class="s2">&#34;toolbox&#34;</span><span class="p">,</span><span class="w"> </span><span class="s2">&#34;--tools-file&#34;</span><span class="p">,</span><span class="w"> </span><span class="s2">&#34;/config/tools.yaml&#34;</span><span class="p">,</span><span class="w"> </span><span class="s2">&#34;--address&#34;</span><span class="p">,</span><span class="w"> </span><span class="s2">&#34;0.0.0.0&#34;</span><span class="p">]</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">depends_on</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">db</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">condition</span><span class="p">:</span><span class="w"> </span><span class="l">service_healthy</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">tool-network</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">db</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="c"># TODO: It is recommended to pin to a specific image version instead of latest.</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">postgres</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">hostname</span><span class="p">:</span><span class="w"> </span><span class="l">db</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">environment</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">POSTGRES_USER</span><span class="p">:</span><span class="w"> </span><span class="l">toolbox_user</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">POSTGRES_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">my-password</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">POSTGRES_DB</span><span class="p">:</span><span class="w"> </span><span class="l">toolbox_db</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ports</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s2">&#34;5432:5432&#34;</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">./db:/var/lib/postgresql/data</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="c"># This file can be used to bootstrap your schema if needed.</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="c"># See &#34;initialization scripts&#34; on https://hub.docker.com/_/postgres/ for more info</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">./config/init.sql:/docker-entrypoint-initdb.d/init.sql</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">healthcheck</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">test</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&#34;CMD-SHELL&#34;</span><span class="p">,</span><span class="w"> </span><span class="s2">&#34;pg_isready -U toolbox_user -d toolbox_db&#34;</span><span class="p">]</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">interval</span><span class="p">:</span><span class="w"> </span><span class="l">10s</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">timeout</span><span class="p">:</span><span class="w"> </span><span class="l">5s</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">retries</span><span class="p">:</span><span class="w"> </span><span class="m">5</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">tool-network</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">networks</span><span class="p">:</span><span class="w">
|
||||
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">tool-network</span><span class="p">:</span><span class="w">
|
||||
</span></span></span></code></pre></div><pre><code><style type="text/css">
|
||||
|
||||
.notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #6be;
|
||||
--content-color: #444;
|
||||
--content-background-color: #e7f2fa;
|
||||
}
|
||||
|
||||
.notice.info {
|
||||
--title-background-color: #fb7;
|
||||
--content-background-color: #fec;
|
||||
}
|
||||
|
||||
.notice.tip {
|
||||
--title-background-color: #5a5;
|
||||
--content-background-color: #efe;
|
||||
}
|
||||
|
||||
.notice.warning {
|
||||
--title-background-color: #c33;
|
||||
--content-background-color: #fee;
|
||||
}
|
||||
|
||||
|
||||
@media (prefers-color-scheme:dark) {
|
||||
.notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #069;
|
||||
--content-color: #ddd;
|
||||
--content-background-color: #023;
|
||||
}
|
||||
|
||||
.notice.info {
|
||||
--title-background-color: #a50;
|
||||
--content-background-color: #420;
|
||||
}
|
||||
|
||||
.notice.tip {
|
||||
--title-background-color: #363;
|
||||
--content-background-color: #121;
|
||||
}
|
||||
|
||||
.notice.warning {
|
||||
--title-background-color: #800;
|
||||
--content-background-color: #400;
|
||||
}
|
||||
}
|
||||
|
||||
body.dark .notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #069;
|
||||
--content-color: #ddd;
|
||||
--content-background-color: #023;
|
||||
}
|
||||
|
||||
body.dark .notice.info {
|
||||
--title-background-color: #a50;
|
||||
--content-background-color: #420;
|
||||
}
|
||||
|
||||
body.dark .notice.tip {
|
||||
--title-background-color: #363;
|
||||
--content-background-color: #121;
|
||||
}
|
||||
|
||||
body.dark .notice.warning {
|
||||
--title-background-color: #800;
|
||||
--content-background-color: #400;
|
||||
}
|
||||
|
||||
|
||||
.notice {
|
||||
padding: 18px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 24px;
|
||||
border-radius: 4px;
|
||||
color: var(--content-color);
|
||||
background: var(--content-background-color);
|
||||
}
|
||||
|
||||
.notice p:last-child {
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
|
||||
.notice-title {
|
||||
margin: -18px -18px 12px;
|
||||
padding: 4px 18px;
|
||||
border-radius: 4px 4px 0 0;
|
||||
font-weight: 700;
|
||||
color: var(--title-color);
|
||||
background: var(--title-background-color);
|
||||
}
|
||||
|
||||
|
||||
.icon-notice {
|
||||
display: inline-flex;
|
||||
align-self: center;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.icon-notice img,
|
||||
.icon-notice svg {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.icon-notice img,
|
||||
.icon-notice.baseline svg {
|
||||
top: .125em;
|
||||
position: relative;
|
||||
}
|
||||
</style><div class="notice tip" >
|
||||
<p class="notice-title">
|
||||
<span class="icon-notice baseline">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="300.5 134 300 300">
|
||||
<path d="M551.281 252.36c0-3.32-1.172-6.641-3.515-8.985l-17.774-17.578c-2.344-2.344-5.469-3.711-8.789-3.711-3.32 0-6.445 1.367-8.789 3.71l-79.687 79.493-44.141-44.14c-2.344-2.344-5.469-3.712-8.79-3.712-3.32 0-6.444 1.368-8.788 3.711l-17.774 17.579c-2.343 2.343-3.515 5.664-3.515 8.984 0 3.32 1.172 6.445 3.515 8.789l70.704 70.703c2.343 2.344 5.664 3.711 8.789 3.711 3.32 0 6.64-1.367 8.984-3.71l106.055-106.056c2.343-2.343 3.515-5.468 3.515-8.789ZM600.5 284c0 82.813-67.188 150-150 150-82.813 0-150-67.188-150-150 0-82.813 67.188-150 150-150 82.813 0 150 67.188 150 150Z"/>
|
||||
</svg>
|
||||
|
||||
</span>Tip</p></description></item><item><title>Export Telemetry</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/export_telemetry/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/export_telemetry/</guid><description><h2 id="about">About</h2>
|
||||
<p>The <a href="https://opentelemetry.io/docs/collector/">OpenTelemetry Collector</a> offers a vendor-agnostic
|
||||
implementation of how to receive, process and export telemetry data. It removes
|
||||
the need to run, operate, and maintain multiple agents/collectors.</p>
|
||||
<h2 id="configure-the-collector">Configure the Collector</h2>
|
||||
<p>To configure the collector, you will have to provide a configuration file. The
|
||||
configuration file consists of four classes of pipeline component that access
|
||||
telemetry data.</p>
|
||||
<ul>
|
||||
<li><code>Receivers</code></li>
|
||||
<li><code>Processors</code></li>
|
||||
<li><code>Exporters</code></li>
|
||||
<li><code>Connectors</code></li>
|
||||
</ul>
|
||||
<p>Example of setting up the classes of pipeline components (in this example, we
|
||||
don&rsquo;t use connectors):</p></description></item></channel></rss>
|
||||
|
Before Width: | Height: | Size: 36 MiB |
|
Before Width: | Height: | Size: 298 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 5.4 MiB |
|
Before Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 136 KiB |
@@ -1,46 +0,0 @@
|
||||
let codeListings = document.querySelectorAll('.highlight > pre');
|
||||
|
||||
for (let index = 0; index < codeListings.length; index++) {
|
||||
const codeSample = codeListings[index].querySelector('code');
|
||||
const copyButton = document.createElement('button');
|
||||
const buttonAttributes = {
|
||||
type: 'button',
|
||||
title: 'Copy to clipboard',
|
||||
'data-bs-toggle': 'tooltip',
|
||||
'data-bs-placement': 'top',
|
||||
'data-bs-container': 'body',
|
||||
};
|
||||
|
||||
Object.keys(buttonAttributes).forEach((key) => {
|
||||
copyButton.setAttribute(key, buttonAttributes[key]);
|
||||
});
|
||||
|
||||
copyButton.classList.add(
|
||||
'fas',
|
||||
'fa-copy',
|
||||
'btn',
|
||||
'btn-sm',
|
||||
'td-click-to-copy'
|
||||
);
|
||||
const tooltip = new bootstrap.Tooltip(copyButton);
|
||||
|
||||
copyButton.onclick = () => {
|
||||
copyCode(codeSample);
|
||||
copyButton.setAttribute('data-bs-original-title', 'Copied!');
|
||||
tooltip.show();
|
||||
};
|
||||
|
||||
copyButton.onmouseout = () => {
|
||||
copyButton.setAttribute('data-bs-original-title', 'Copy to clipboard');
|
||||
tooltip.hide();
|
||||
};
|
||||
|
||||
const buttonDiv = document.createElement('div');
|
||||
buttonDiv.classList.add('click-to-copy');
|
||||
buttonDiv.append(copyButton);
|
||||
codeListings[index].insertBefore(buttonDiv, codeSample);
|
||||
}
|
||||
|
||||
const copyCode = (codeSample) => {
|
||||
navigator.clipboard.writeText(codeSample.textContent.trim() + '\n');
|
||||
};
|
||||
@@ -1,116 +0,0 @@
|
||||
// Storage key names and data attribute name:
|
||||
const td_persistStorageKeyNameBase = 'td-tp-persist';
|
||||
const td_persistCounterStorageKeyName = `${td_persistStorageKeyNameBase}-count`;
|
||||
const td_persistDataAttrName = `data-${td_persistStorageKeyNameBase}`;
|
||||
|
||||
// Utilities
|
||||
|
||||
const _tdPersistCssSelector = (attrValue) =>
|
||||
attrValue
|
||||
? `[${td_persistDataAttrName}="${attrValue}"]`
|
||||
: `[${td_persistDataAttrName}]`;
|
||||
|
||||
const _tdStoragePersistKey = (tabKey) =>
|
||||
td_persistStorageKeyNameBase + ':' + (tabKey || '');
|
||||
|
||||
const _tdSupportsLocalStorage = () => typeof Storage !== 'undefined';
|
||||
|
||||
// Helpers
|
||||
|
||||
function tdPersistKey(key, value) {
|
||||
// @requires: tdSupportsLocalStorage();
|
||||
|
||||
try {
|
||||
if (value) {
|
||||
localStorage.setItem(key, value);
|
||||
} else {
|
||||
localStorage.removeItem(key);
|
||||
}
|
||||
} catch (error) {
|
||||
const action = value ? 'add' : 'remove';
|
||||
console.error(
|
||||
`Docsy tabpane: unable to ${action} localStorage key '${key}': `,
|
||||
error
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Retrieve, increment, and store tab-select event count, then returns it.
|
||||
function tdGetTabSelectEventCountAndInc() {
|
||||
// @requires: tdSupportsLocalStorage();
|
||||
|
||||
const storedCount = localStorage.getItem(td_persistCounterStorageKeyName);
|
||||
let numTabSelectEvents = parseInt(storedCount) || 0;
|
||||
numTabSelectEvents++;
|
||||
tdPersistKey(td_persistCounterStorageKeyName, numTabSelectEvents.toString());
|
||||
return numTabSelectEvents;
|
||||
}
|
||||
|
||||
// Main functions
|
||||
|
||||
function tdActivateTabsWithKey(key) {
|
||||
if (!key) return;
|
||||
|
||||
document.querySelectorAll(_tdPersistCssSelector(key)).forEach((element) => {
|
||||
new bootstrap.Tab(element).show();
|
||||
});
|
||||
}
|
||||
|
||||
function tdPersistActiveTab(activeTabKey) {
|
||||
if (!_tdSupportsLocalStorage()) return;
|
||||
|
||||
tdPersistKey(
|
||||
_tdStoragePersistKey(activeTabKey),
|
||||
tdGetTabSelectEventCountAndInc()
|
||||
);
|
||||
tdActivateTabsWithKey(activeTabKey);
|
||||
}
|
||||
|
||||
// Handlers
|
||||
|
||||
function tdGetAndActivatePersistedTabs(tabs) {
|
||||
// Get unique persistence keys of tabs in this page
|
||||
var keyOfTabsInThisPage = [
|
||||
...new Set(
|
||||
Array.from(tabs).map((el) => el.getAttribute(td_persistDataAttrName))
|
||||
),
|
||||
];
|
||||
|
||||
// Create a list of active tabs with their age:
|
||||
let key_ageList = keyOfTabsInThisPage
|
||||
// Map to [tab-key, last-activated-age]
|
||||
.map((k) => [
|
||||
k,
|
||||
parseInt(localStorage.getItem(_tdStoragePersistKey(k))) || 0,
|
||||
])
|
||||
// Exclude tabs that have never been activated
|
||||
.filter(([k, v]) => v)
|
||||
// Sort from oldest selected to most recently selected
|
||||
.sort((a, b) => a[1] - b[1]);
|
||||
|
||||
// Activate tabs from the oldest to the newest
|
||||
key_ageList.forEach(([key]) => {
|
||||
tdActivateTabsWithKey(key);
|
||||
});
|
||||
|
||||
return key_ageList;
|
||||
}
|
||||
|
||||
function tdRegisterTabClickHandler(tabs) {
|
||||
tabs.forEach((tab) => {
|
||||
tab.addEventListener('click', () => {
|
||||
const activeTabKey = tab.getAttribute(td_persistDataAttrName);
|
||||
tdPersistActiveTab(activeTabKey);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Register listeners and activate tabs
|
||||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
if (!_tdSupportsLocalStorage()) return;
|
||||
|
||||
var allTabsInThisPage = document.querySelectorAll(_tdPersistCssSelector());
|
||||
tdRegisterTabClickHandler(allTabsInThisPage);
|
||||
tdGetAndActivatePersistedTabs(allTabsInThisPage);
|
||||
});
|
||||
@@ -1,405 +0,0 @@
|
||||
/* W3.JS 1.04 April 2019 by w3schools.com */
|
||||
"use strict";
|
||||
var w3 = {};
|
||||
w3.hide = function (sel) {
|
||||
w3.hideElements(w3.getElements(sel));
|
||||
};
|
||||
w3.hideElements = function (elements) {
|
||||
var i, l = elements.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
w3.hideElement(elements[i]);
|
||||
}
|
||||
};
|
||||
w3.hideElement = function (element) {
|
||||
w3.styleElement(element, "display", "none");
|
||||
};
|
||||
w3.show = function (sel, a) {
|
||||
var elements = w3.getElements(sel);
|
||||
if (a) {w3.hideElements(elements);}
|
||||
w3.showElements(elements);
|
||||
};
|
||||
w3.showElements = function (elements) {
|
||||
var i, l = elements.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
w3.showElement(elements[i]);
|
||||
}
|
||||
};
|
||||
w3.showElement = function (element) {
|
||||
w3.styleElement(element, "display", "block");
|
||||
};
|
||||
w3.addStyle = function (sel, prop, val) {
|
||||
w3.styleElements(w3.getElements(sel), prop, val);
|
||||
};
|
||||
w3.styleElements = function (elements, prop, val) {
|
||||
var i, l = elements.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
w3.styleElement(elements[i], prop, val);
|
||||
}
|
||||
};
|
||||
w3.styleElement = function (element, prop, val) {
|
||||
element.style.setProperty(prop, val);
|
||||
};
|
||||
w3.toggleShow = function (sel) {
|
||||
var i, x = w3.getElements(sel), l = x.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
if (x[i].style.display == "none") {
|
||||
w3.styleElement(x[i], "display", "block");
|
||||
} else {
|
||||
w3.styleElement(x[i], "display", "none");
|
||||
}
|
||||
}
|
||||
};
|
||||
w3.addClass = function (sel, name) {
|
||||
w3.addClassElements(w3.getElements(sel), name);
|
||||
};
|
||||
w3.addClassElements = function (elements, name) {
|
||||
var i, l = elements.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
w3.addClassElement(elements[i], name);
|
||||
}
|
||||
};
|
||||
w3.addClassElement = function (element, name) {
|
||||
var i, arr1, arr2;
|
||||
arr1 = element.className.split(" ");
|
||||
arr2 = name.split(" ");
|
||||
for (i = 0; i < arr2.length; i++) {
|
||||
if (arr1.indexOf(arr2[i]) == -1) {element.className += " " + arr2[i];}
|
||||
}
|
||||
};
|
||||
w3.removeClass = function (sel, name) {
|
||||
w3.removeClassElements(w3.getElements(sel), name);
|
||||
};
|
||||
w3.removeClassElements = function (elements, name) {
|
||||
var i, l = elements.length, arr1, arr2, j;
|
||||
for (i = 0; i < l; i++) {
|
||||
w3.removeClassElement(elements[i], name);
|
||||
}
|
||||
};
|
||||
w3.removeClassElement = function (element, name) {
|
||||
var i, arr1, arr2;
|
||||
arr1 = element.className.split(" ");
|
||||
arr2 = name.split(" ");
|
||||
for (i = 0; i < arr2.length; i++) {
|
||||
while (arr1.indexOf(arr2[i]) > -1) {
|
||||
arr1.splice(arr1.indexOf(arr2[i]), 1);
|
||||
}
|
||||
}
|
||||
element.className = arr1.join(" ");
|
||||
};
|
||||
w3.toggleClass = function (sel, c1, c2) {
|
||||
w3.toggleClassElements(w3.getElements(sel), c1, c2);
|
||||
};
|
||||
w3.toggleClassElements = function (elements, c1, c2) {
|
||||
var i, l = elements.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
w3.toggleClassElement(elements[i], c1, c2);
|
||||
}
|
||||
};
|
||||
w3.toggleClassElement = function (element, c1, c2) {
|
||||
var t1, t2, t1Arr, t2Arr, j, arr, allPresent;
|
||||
t1 = (c1 || "");
|
||||
t2 = (c2 || "");
|
||||
t1Arr = t1.split(" ");
|
||||
t2Arr = t2.split(" ");
|
||||
arr = element.className.split(" ");
|
||||
if (t2Arr.length == 0) {
|
||||
allPresent = true;
|
||||
for (j = 0; j < t1Arr.length; j++) {
|
||||
if (arr.indexOf(t1Arr[j]) == -1) {allPresent = false;}
|
||||
}
|
||||
if (allPresent) {
|
||||
w3.removeClassElement(element, t1);
|
||||
} else {
|
||||
w3.addClassElement(element, t1);
|
||||
}
|
||||
} else {
|
||||
allPresent = true;
|
||||
for (j = 0; j < t1Arr.length; j++) {
|
||||
if (arr.indexOf(t1Arr[j]) == -1) {allPresent = false;}
|
||||
}
|
||||
if (allPresent) {
|
||||
w3.removeClassElement(element, t1);
|
||||
w3.addClassElement(element, t2);
|
||||
} else {
|
||||
w3.removeClassElement(element, t2);
|
||||
w3.addClassElement(element, t1);
|
||||
}
|
||||
}
|
||||
};
|
||||
w3.getElements = function (id) {
|
||||
if (typeof id == "object") {
|
||||
return [id];
|
||||
} else {
|
||||
return document.querySelectorAll(id);
|
||||
}
|
||||
};
|
||||
w3.filterHTML = function(id, sel, filter) {
|
||||
var a, b, c, i, ii, iii, hit;
|
||||
a = w3.getElements(id);
|
||||
for (i = 0; i < a.length; i++) {
|
||||
b = a[i].querySelectorAll(sel);
|
||||
for (ii = 0; ii < b.length; ii++) {
|
||||
hit = 0;
|
||||
if (b[ii].innerText.toUpperCase().indexOf(filter.toUpperCase()) > -1) {
|
||||
hit = 1;
|
||||
}
|
||||
c = b[ii].getElementsByTagName("*");
|
||||
for (iii = 0; iii < c.length; iii++) {
|
||||
if (c[iii].innerText.toUpperCase().indexOf(filter.toUpperCase()) > -1) {
|
||||
hit = 1;
|
||||
}
|
||||
}
|
||||
if (hit == 1) {
|
||||
b[ii].style.display = "";
|
||||
} else {
|
||||
b[ii].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
w3.sortHTML = function(id, sel, sortvalue) {
|
||||
var a, b, i, ii, y, bytt, v1, v2, cc, j;
|
||||
a = w3.getElements(id);
|
||||
for (i = 0; i < a.length; i++) {
|
||||
for (j = 0; j < 2; j++) {
|
||||
cc = 0;
|
||||
y = 1;
|
||||
while (y == 1) {
|
||||
y = 0;
|
||||
b = a[i].querySelectorAll(sel);
|
||||
for (ii = 0; ii < (b.length - 1); ii++) {
|
||||
bytt = 0;
|
||||
if (sortvalue) {
|
||||
v1 = b[ii].querySelector(sortvalue).innerText;
|
||||
v2 = b[ii + 1].querySelector(sortvalue).innerText;
|
||||
} else {
|
||||
v1 = b[ii].innerText;
|
||||
v2 = b[ii + 1].innerText;
|
||||
}
|
||||
v1 = v1.toLowerCase();
|
||||
v2 = v2.toLowerCase();
|
||||
if ((j == 0 && (v1 > v2)) || (j == 1 && (v1 < v2))) {
|
||||
bytt = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (bytt == 1) {
|
||||
b[ii].parentNode.insertBefore(b[ii + 1], b[ii]);
|
||||
y = 1;
|
||||
cc++;
|
||||
}
|
||||
}
|
||||
if (cc > 0) {break;}
|
||||
}
|
||||
}
|
||||
};
|
||||
w3.slideshow = function (sel, ms, func) {
|
||||
var i, ss, x = w3.getElements(sel), l = x.length;
|
||||
ss = {};
|
||||
ss.current = 1;
|
||||
ss.x = x;
|
||||
ss.ondisplaychange = func;
|
||||
if (!isNaN(ms) || ms == 0) {
|
||||
ss.milliseconds = ms;
|
||||
} else {
|
||||
ss.milliseconds = 1000;
|
||||
}
|
||||
ss.start = function() {
|
||||
ss.display(ss.current)
|
||||
if (ss.ondisplaychange) {ss.ondisplaychange();}
|
||||
if (ss.milliseconds > 0) {
|
||||
window.clearTimeout(ss.timeout);
|
||||
ss.timeout = window.setTimeout(ss.next, ss.milliseconds);
|
||||
}
|
||||
};
|
||||
ss.next = function() {
|
||||
ss.current += 1;
|
||||
if (ss.current > ss.x.length) {ss.current = 1;}
|
||||
ss.start();
|
||||
};
|
||||
ss.previous = function() {
|
||||
ss.current -= 1;
|
||||
if (ss.current < 1) {ss.current = ss.x.length;}
|
||||
ss.start();
|
||||
};
|
||||
ss.display = function (n) {
|
||||
w3.styleElements(ss.x, "display", "none");
|
||||
w3.styleElement(ss.x[n - 1], "display", "block");
|
||||
}
|
||||
ss.start();
|
||||
return ss;
|
||||
};
|
||||
w3.includeHTML = function(cb) {
|
||||
var z, i, elmnt, file, xhttp;
|
||||
z = document.getElementsByTagName("*");
|
||||
for (i = 0; i < z.length; i++) {
|
||||
elmnt = z[i];
|
||||
file = elmnt.getAttribute("w3-include-html");
|
||||
if (file) {
|
||||
xhttp = new XMLHttpRequest();
|
||||
xhttp.onreadystatechange = function() {
|
||||
if (this.readyState == 4) {
|
||||
if (this.status == 200) {elmnt.innerHTML = this.responseText;}
|
||||
if (this.status == 404) {
|
||||
if (elmnt.getAttribute("w3-include-html-default")) {
|
||||
elmnt.innerHTML = elmnt.getAttribute("w3-include-html-default");
|
||||
}
|
||||
else { elmnt.innerHTML = "Page not found."; }
|
||||
}
|
||||
elmnt.removeAttribute("w3-include-html");
|
||||
w3.includeHTML(cb);
|
||||
}
|
||||
}
|
||||
xhttp.open("GET", file, true);
|
||||
xhttp.send();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (cb) cb();
|
||||
};
|
||||
w3.getHttpData = function (file, func) {
|
||||
w3.http(file, function () {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
func(this.responseText);
|
||||
}
|
||||
});
|
||||
};
|
||||
w3.getHttpObject = function (file, func) {
|
||||
w3.http(file, function () {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
func(JSON.parse(this.responseText));
|
||||
}
|
||||
});
|
||||
};
|
||||
w3.displayHttp = function (id, file) {
|
||||
w3.http(file, function () {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
w3.displayObject(id, JSON.parse(this.responseText));
|
||||
}
|
||||
});
|
||||
};
|
||||
w3.http = function (target, readyfunc, xml, method) {
|
||||
var httpObj;
|
||||
if (!method) {method = "GET"; }
|
||||
if (window.XMLHttpRequest) {
|
||||
httpObj = new XMLHttpRequest();
|
||||
} else if (window.ActiveXObject) {
|
||||
httpObj = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
if (httpObj) {
|
||||
if (readyfunc) {httpObj.onreadystatechange = readyfunc;}
|
||||
httpObj.open(method, target, true);
|
||||
httpObj.send(xml);
|
||||
}
|
||||
};
|
||||
w3.getElementsByAttribute = function (x, att) {
|
||||
var arr = [], arrCount = -1, i, l, y = x.getElementsByTagName("*"), z = att.toUpperCase();
|
||||
l = y.length;
|
||||
for (i = -1; i < l; i += 1) {
|
||||
if (i == -1) {y[i] = x;}
|
||||
if (y[i].getAttribute(z) !== null) {arrCount += 1; arr[arrCount] = y[i];}
|
||||
}
|
||||
return arr;
|
||||
};
|
||||
w3.dataObject = {},
|
||||
w3.displayObject = function (id, data) {
|
||||
var htmlObj, htmlTemplate, html, arr = [], a, l, rowClone, x, j, i, ii, cc, repeat, repeatObj, repeatX = "";
|
||||
htmlObj = document.getElementById(id);
|
||||
htmlTemplate = init_template(id, htmlObj);
|
||||
html = htmlTemplate.cloneNode(true);
|
||||
arr = w3.getElementsByAttribute(html, "w3-repeat");
|
||||
l = arr.length;
|
||||
for (j = (l - 1); j >= 0; j -= 1) {
|
||||
cc = arr[j].getAttribute("w3-repeat").split(" ");
|
||||
if (cc.length == 1) {
|
||||
repeat = cc[0];
|
||||
} else {
|
||||
repeatX = cc[0];
|
||||
repeat = cc[2];
|
||||
}
|
||||
arr[j].removeAttribute("w3-repeat");
|
||||
repeatObj = data[repeat];
|
||||
if (repeatObj && typeof repeatObj == "object" && repeatObj.length != "undefined") {
|
||||
i = 0;
|
||||
for (x in repeatObj) {
|
||||
i += 1;
|
||||
rowClone = arr[j];
|
||||
rowClone = w3_replace_curly(rowClone, "element", repeatX, repeatObj[x]);
|
||||
a = rowClone.attributes;
|
||||
for (ii = 0; ii < a.length; ii += 1) {
|
||||
a[ii].value = w3_replace_curly(a[ii], "attribute", repeatX, repeatObj[x]).value;
|
||||
}
|
||||
(i === repeatObj.length) ? arr[j].parentNode.replaceChild(rowClone, arr[j]) : arr[j].parentNode.insertBefore(rowClone, arr[j]);
|
||||
}
|
||||
} else {
|
||||
console.log("w3-repeat must be an array. " + repeat + " is not an array.");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
html = w3_replace_curly(html, "element");
|
||||
htmlObj.parentNode.replaceChild(html, htmlObj);
|
||||
function init_template(id, obj) {
|
||||
var template;
|
||||
template = obj.cloneNode(true);
|
||||
if (w3.dataObject.hasOwnProperty(id)) {return w3.dataObject[id];}
|
||||
w3.dataObject[id] = template;
|
||||
return template;
|
||||
}
|
||||
function w3_replace_curly(elmnt, typ, repeatX, x) {
|
||||
var value, rowClone, pos1, pos2, originalHTML, lookFor, lookForARR = [], i, cc, r;
|
||||
rowClone = elmnt.cloneNode(true);
|
||||
pos1 = 0;
|
||||
while (pos1 > -1) {
|
||||
originalHTML = (typ == "attribute") ? rowClone.value : rowClone.innerHTML;
|
||||
pos1 = originalHTML.indexOf("{{", pos1);
|
||||
if (pos1 === -1) {break;}
|
||||
pos2 = originalHTML.indexOf("}}", pos1 + 1);
|
||||
lookFor = originalHTML.substring(pos1 + 2, pos2);
|
||||
lookForARR = lookFor.split("||");
|
||||
value = undefined;
|
||||
for (i = 0; i < lookForARR.length; i += 1) {
|
||||
lookForARR[i] = lookForARR[i].replace(/^\s+|\s+$/gm, ''); //trim
|
||||
if (x) {value = x[lookForARR[i]];}
|
||||
if (value == undefined && data) {value = data[lookForARR[i]];}
|
||||
if (value == undefined) {
|
||||
cc = lookForARR[i].split(".");
|
||||
if (cc[0] == repeatX) {value = x[cc[1]]; }
|
||||
}
|
||||
if (value == undefined) {
|
||||
if (lookForARR[i] == repeatX) {value = x;}
|
||||
}
|
||||
if (value == undefined) {
|
||||
if (lookForARR[i].substr(0, 1) == '"') {
|
||||
value = lookForARR[i].replace(/"/g, "");
|
||||
} else if (lookForARR[i].substr(0,1) == "'") {
|
||||
value = lookForARR[i].replace(/'/g, "");
|
||||
}
|
||||
}
|
||||
if (value != undefined) {break;}
|
||||
}
|
||||
if (value != undefined) {
|
||||
r = "{{" + lookFor + "}}";
|
||||
if (typ == "attribute") {
|
||||
rowClone.value = rowClone.value.replace(r, value);
|
||||
} else {
|
||||
w3_replace_html(rowClone, r, value);
|
||||
}
|
||||
}
|
||||
pos1 = pos1 + 1;
|
||||
}
|
||||
return rowClone;
|
||||
}
|
||||
function w3_replace_html(a, r, result) {
|
||||
var b, l, i, a, x, j;
|
||||
if (a.hasAttributes()) {
|
||||
b = a.attributes;
|
||||
l = b.length;
|
||||
for (i = 0; i < l; i += 1) {
|
||||
if (b[i].value.indexOf(r) > -1) {b[i].value = b[i].value.replace(r, result);}
|
||||
}
|
||||
}
|
||||
x = a.getElementsByTagName("*");
|
||||
l = x.length;
|
||||
a.innerHTML = a.innerHTML.replace(r, result);
|
||||
}
|
||||
};
|
||||
@@ -1,163 +0,0 @@
|
||||
# MCP Toolbox for Databases
|
||||
|
||||
> MCP Toolbox for Databases is an open source MCP server for databases. It enables you to develop tools easier, faster, and more securely by handling the complexities such as connection pooling, authentication, and more.
|
||||
|
||||
## Docs
|
||||
|
||||
### Getting Started
|
||||
|
||||
How to get started with Toolbox.
|
||||
- [Introduction](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/introduction/): An introduction to MCP Toolbox for Databases.
|
||||
- [Python Quickstart (Local)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart/): How to get started running Toolbox locally with [Python](https://github.com/googleapis/mcp-toolbox-sdk-python), PostgreSQL, and [Agent Development Kit](https://google.github.io/adk-docs/), [LangGraph](https://www.langchain.com/langgraph), [LlamaIndex](https://www.llamaindex.ai/) or [GoogleGenAI](https://pypi.org/project/google-genai/).
|
||||
- [JS Quickstart (Local)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart_js/): How to get started running Toolbox locally with [JavaScript](https://github.com/googleapis/mcp-toolbox-sdk-js), PostgreSQL, and orchestration frameworks such as [LangChain](https://js.langchain.com/docs/introduction/), [GenkitJS](https://genkit.dev/docs/get-started/), [LlamaIndex](https://ts.llamaindex.ai/) and [GoogleGenAI](https://github.com/googleapis/js-genai).
|
||||
- [Go Quickstart (Local)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/local_quickstart_go/): How to get started running Toolbox locally with [Go](https://github.com/googleapis/mcp-toolbox-sdk-go), PostgreSQL, and orchestration frameworks such as [LangChain Go](https://tmc.github.io/langchaingo/docs/), [GenkitGo](https://genkit.dev/go/docs/get-started-go/), [Go GenAI](https://github.com/googleapis/go-genai) and [OpenAI Go](https://github.com/openai/openai-go).
|
||||
- [Prompts using Gemini CLI](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/prompts_quickstart_gemini_cli/): How to get started using Toolbox prompts locally with PostgreSQL and [Gemini CLI](https://pypi.org/project/gemini-cli/).
|
||||
- [Quickstart (MCP)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/mcp_quickstart/): How to get started running Toolbox locally with MCP Inspector.
|
||||
- [Configuration](https://googleapis.github.io/genai-toolbox/previews/PR-2260/getting-started/configure/): How to configure Toolbox's tools.yaml file.
|
||||
|
||||
### Concepts
|
||||
|
||||
Some core concepts in Toolbox
|
||||
- [Telemetry](https://googleapis.github.io/genai-toolbox/previews/PR-2260/concepts/telemetry/): An overview of telemetry and observability in Toolbox.
|
||||
|
||||
### How-to
|
||||
|
||||
List of guides detailing how to do different things with Toolbox.
|
||||
- [Connect from your IDE](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/): List of guides detailing how to connect your AI tools (IDEs) to Toolbox using MCP.
|
||||
- [AlloyDB Admin API using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/alloydb_pg_admin_mcp/): Create your AlloyDB database with MCP Toolbox.
|
||||
- [AlloyDB using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/alloydb_pg_mcp/): Connect your IDE to AlloyDB using Toolbox.
|
||||
- [BigQuery using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/bigquery_mcp/): Connect your IDE to BigQuery using Toolbox.
|
||||
- [Cloud SQL for MySQL using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_mcp/): Connect your IDE to Cloud SQL for MySQL using Toolbox.
|
||||
- [Cloud SQL for Postgres using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_mcp/): Connect your IDE to Cloud SQL for Postgres using Toolbox.
|
||||
- [Cloud SQL for SQL Server using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_mcp/): Connect your IDE to Cloud SQL for SQL Server using Toolbox.
|
||||
- [Firestore using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/firestore_mcp/): Connect your IDE to Firestore using Toolbox.
|
||||
- [Looker using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/looker_mcp/): Connect your IDE to Looker using Toolbox.
|
||||
- [MySQL using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mysql_mcp/): Connect your IDE to MySQL using Toolbox. - [Neo4j using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/neo4j_mcp/): Connect your IDE to Neo4j using Toolbox. - [PostgreSQL using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/postgres_mcp/): Connect your IDE to PostgreSQL using Toolbox.
|
||||
- [Spanner using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/spanner_mcp/): Connect your IDE to Spanner using Toolbox.
|
||||
- [SQL Server using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/mssql_mcp/): Connect your IDE to SQL Server using Toolbox. - [SQLite using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/sqlite_mcp/): Connect your IDE to SQLite using Toolbox. - [Cloud SQL for PostgreSQL Admin using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_pg_admin_mcp/): Create and manage Cloud SQL for PostgreSQL (Admin) using Toolbox.
|
||||
- [Cloud SQL for MySQL Admin using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mysql_admin_mcp/): Create and manage Cloud SQL for MySQL (Admin) using Toolbox.
|
||||
- [Cloud SQL for SQL Server Admin using MCP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/cloud_sql_mssql_admin_mcp/): Create and manage Cloud SQL for SQL Server (Admin) using Toolbox.
|
||||
- [Connect via MCP Client](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect_via_mcp/): How to connect to Toolbox from a MCP Client.
|
||||
- [Toolbox UI](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/toolbox-ui/): How to effectively use Toolbox UI.
|
||||
- [Connect via Gemini CLI Extensions](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect_via_geminicli/): Connect to Toolbox via Gemini CLI Extensions.- [Deploy to Cloud Run](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_toolbox/): How to set up and configure Toolbox to run on Cloud Run.
|
||||
- [Deploy ADK Agent and MCP Toolbox](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_adk_agent/): How to deploy your ADK Agent to Vertex AI Agent Engine and connect it to an MCP Toolbox deployed on Cloud Run.
|
||||
- [Deploy to Kubernetes](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_gke/): How to set up and configure Toolbox to deploy on Kubernetes with Google Kubernetes Engine (GKE).
|
||||
- [Deploy using Docker Compose](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/deploy_docker/): How to deploy Toolbox using Docker Compose.
|
||||
- [Export Telemetry](https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/export_telemetry/): How to set up and configure Toolbox to use the Otel Collector.
|
||||
|
||||
### Resources
|
||||
|
||||
List of reference documentation for resources in Toolbox.
|
||||
- [AuthServices](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/authservices/): AuthServices represent services that handle authentication and authorization.
|
||||
- [Google Sign-In](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/authservices/google/): Use Google Sign-In for Oauth 2.0 flow and token lifecycle.
|
||||
- [Sources](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/): Sources represent your different data sources that a tool can interact with.
|
||||
- [AlloyDB for PostgreSQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/alloydb-pg/): AlloyDB for PostgreSQL is a fully-managed, PostgreSQL-compatible database for demanding transactional workloads.
|
||||
- [AlloyDB Admin](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/alloydb-admin/): The "alloydb-admin" source provides a client for the AlloyDB API.
|
||||
- [BigQuery](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/bigquery/): BigQuery is Google Cloud's fully managed, petabyte-scale, and cost-effective analytics data warehouse that lets you run analytics over vast amounts of data in near real time. With BigQuery, there's no infrastructure to set up or manage, letting you focus on finding meaningful insights using GoogleSQL and taking advantage of flexible pricing models across on-demand and flat-rate options.
|
||||
- [Bigtable](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/bigtable/): Bigtable is a low-latency NoSQL database service for machine learning, operational analytics, and user-facing operations. It's a wide-column, key-value store that can scale to billions of rows and thousands of columns. With Bigtable, you can replicate your data to regions across the world for high availability and data resiliency.
|
||||
- [Cassandra](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cassandra/): Apache Cassandra is a NoSQL distributed database known for its horizontal scalability, distributed architecture, and flexible schema definition.
|
||||
- [ClickHouse](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/clickhouse/): ClickHouse is an open-source, OLTP database.
|
||||
- [Cloud Healthcare API](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-healthcare/): The Cloud Healthcare API provides a managed solution for storing and accessing healthcare data in Google Cloud, providing a critical bridge between existing care systems and applications hosted on Google Cloud.
|
||||
- [Cloud Monitoring](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-monitoring/): A "cloud-monitoring" source provides a client for the Cloud Monitoring API.
|
||||
- [Cloud SQL for MySQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-sql-mysql/): Cloud SQL for MySQL is a fully-managed database service for MySQL.
|
||||
- [Cloud SQL for PostgreSQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-sql-pg/): Cloud SQL for PostgreSQL is a fully-managed database service for Postgres.
|
||||
- [Cloud SQL for SQL Server](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-sql-mssql/): Cloud SQL for SQL Server is a fully-managed database service for SQL Server.
|
||||
- [Cloud SQL Admin](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-sql-admin/): A "cloud-sql-admin" source provides a client for the Cloud SQL Admin API.
|
||||
- [Couchbase](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/couchbase/): A "couchbase" source connects to a Couchbase database.
|
||||
- [Dataplex](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/dataplex/): Dataplex Universal Catalog is a unified, intelligent governance solution for data and AI assets in Google Cloud. Dataplex Universal Catalog powers AI, analytics, and business intelligence at scale.
|
||||
- [Dgraph](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/dgraph/): Dgraph is fully open-source, built-for-scale graph database for Gen AI workloads
|
||||
- [Elasticsearch](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/elasticsearch/): Elasticsearch is a distributed, free and open search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured.
|
||||
- [Firebird](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/firebird/): Firebird is a powerful, cross-platform, and open-source relational database.
|
||||
- [Firestore](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/firestore/): Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development. It's a fully managed, serverless database that supports mobile, web, and server development.
|
||||
- [Gemini Data Analytics](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/cloud-gda/): A "cloud-gemini-data-analytics" source provides a client for the Gemini Data Analytics API.
|
||||
- [HTTP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/http/): The HTTP source enables the Toolbox to retrieve data from a remote server using HTTP requests.
|
||||
- [Looker](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/looker/): Looker is a business intelligence tool that also provides a semantic layer.
|
||||
- [MariaDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/mariadb/): MariaDB is an open-source relational database compatible with MySQL.
|
||||
- [MindsDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/mindsdb/): MindsDB is an AI federated database that enables SQL queries across hundreds of datasources and ML models.
|
||||
- [MongoDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/mongodb/): MongoDB is a no-sql data platform that can not only serve general purpose data requirements also perform VectorSearch where both operational data and embeddings used of search can reside in same document.
|
||||
- [MySQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/mysql/): MySQL is a relational database management system that stores and manages data.
|
||||
- [Neo4j](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/neo4j/): Neo4j is a powerful, open source graph database system
|
||||
- [OceanBase](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/oceanbase/): OceanBase is a distributed relational database that provides high availability, scalability, and compatibility with MySQL.
|
||||
- [Oracle](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/oracle/): Oracle Database is a widely-used relational database management system.
|
||||
- [PostgreSQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/postgres/): PostgreSQL is a powerful, open source object-relational database.
|
||||
- [Redis](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/redis/): Redis is a in-memory data structure store.
|
||||
- [Serverless for Apache Spark](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/serverless-spark/): Google Cloud Serverless for Apache Spark lets you run Spark workloads without requiring you to provision and manage your own Spark cluster.
|
||||
- [SingleStore](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/singlestore/): SingleStore is the cloud-native database built with speed and scale to power data-intensive applications.
|
||||
- [Spanner](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/spanner/): Spanner is a fully managed database service from Google Cloud that combines relational, key-value, graph, and search capabilities.
|
||||
- [SQL Server](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/mssql/): SQL Server is a relational database management system (RDBMS).
|
||||
- [SQLite](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/sqlite/): SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
|
||||
- [TiDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/tidb/): TiDB is a distributed SQL database that combines the best of traditional RDBMS and NoSQL databases.
|
||||
- [Trino](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/trino/): Trino is a distributed SQL query engine for big data analytics.
|
||||
- [Valkey](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/valkey/): Valkey is an open-source, in-memory data structure store, forked from Redis.
|
||||
- [YugabyteDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/sources/yugabytedb/): YugabyteDB is a high-performance, distributed SQL database.
|
||||
- [EmbeddingModels](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/embeddingmodels/): EmbeddingModels represent services that transform text into vector embeddings for semantic search.
|
||||
- [Gemini Embedding](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/embeddingmodels/gemini/): Use Google's Gemini models to generate high-performance text embeddings for vector databases.
|
||||
- [Tools](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/): Tools define actions an agent can take -- such as reading and writing to a source.
|
||||
- [AlloyDB AI NL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/alloydbainl/): AlloyDB AI NL Tool.
|
||||
- [AlloyDB for PostgreSQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/alloydb/): Tools for AlloyDB for PostgreSQL.
|
||||
- [BigQuery](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/bigquery/): Tools that work with BigQuery Sources.
|
||||
- [Bigtable](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/bigtable/): Tools that work with Bigtable Sources.
|
||||
- [Cassandra](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/cassandra/): Tools that work with Cassandra Sources.
|
||||
- [ClickHouse](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/clickhouse/): Tools for interacting with ClickHouse databases and tables.
|
||||
- [Cloud Healthcare API](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/cloudhealthcare/): Tools that work with Cloud Healthcare Sources.
|
||||
- [Cloud Monitoring](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/cloudmonitoring/): Tools that work with Cloud Monitoring source.
|
||||
- [Cloud SQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/cloudsql/): Tools that work with Cloud SQL.
|
||||
- [Couchbase](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/couchbase/): Tools that work with Couchbase Sources.
|
||||
- [Dataform](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/dataform/): Tools that work with Dataform.
|
||||
- [Dataplex](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/dataplex/): Tools that work with Dataplex Sources.
|
||||
- [Dgraph](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/dgraph/): Tools that work with Dgraph Sources.
|
||||
- [Elasticsearch](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/elasticsearch/): Tools that work with Elasticsearch Sources.
|
||||
- [Firebird](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/firebird/): Tools that work with Firebird Sources.
|
||||
- [Firestore](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/firestore/): Tools that work with Firestore Sources.
|
||||
- [Gemini Data Analytics](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/cloudgda/): Tools for Gemini Data Analytics.
|
||||
- [HTTP](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/http/): Tools that work with HTTP Sources.
|
||||
- [Looker](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/looker/): Tools that work with Looker Sources.
|
||||
- [MindsDB Tools](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/mindsdb/): MindsDB tools that enable SQL queries across hundreds of datasources and ML models.
|
||||
- [MongoDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/mongodb/): Tools that work with the MongoDB Source.
|
||||
- [MySQL](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/mysql/): Tools that work with MySQL Sources, such as Cloud SQL for MySQL.
|
||||
- [Neo4j](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/neo4j/): Tools that work with Neo4j Sources.
|
||||
- [OceanBase](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/oceanbase/): Tools that work with OceanBase Sources.
|
||||
- [Oracle](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/oracle/): Tools that work with Oracle Sources.
|
||||
- [Postgres](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/postgres/): Tools that work with Postgres Sources, such as Cloud SQL for Postgres and AlloyDB.
|
||||
- [Redis](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/redis/): Tools that work with Redis Sources.
|
||||
- [Serverless for Apache Spark](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/serverless-spark/): Tools that work with Google Cloud Serverless for Apache Spark Sources.
|
||||
- [SingleStore](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/singlestore/): Tools that work with SingleStore Sources
|
||||
- [Spanner](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/spanner/): Tools that work with Spanner Sources.
|
||||
- [SQL Server](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/mssql/): Tools that work with SQL Server Sources, such as CloudSQL for SQL Server.
|
||||
- [SQLite](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/sqlite/): Tools that work with SQLite Sources.
|
||||
- [TiDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/tidb/): Tools that work with TiDB Sources, such as TiDB Cloud and self-hosted TiDB.
|
||||
- [Trino](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/trino/): Tools that work with Trino Sources, such as distributed SQL query engine.
|
||||
- [Utility tools](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/utility/): Tools that provide utility.
|
||||
- [Valkey](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/valkey/): Tools that work with Valkey Sources.
|
||||
- [YugabyteDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/tools/yuagbytedb/): Tools that work with Valkey Sources.
|
||||
- [Prompts](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/prompts/): Prompts allow servers to provide structured messages and instructions for interacting with language models.
|
||||
- [Custom](https://googleapis.github.io/genai-toolbox/previews/PR-2260/resources/prompts/custom/): Custom prompts defined by the user.
|
||||
|
||||
### Samples
|
||||
|
||||
Samples and guides for using Toolbox.
|
||||
- [AlloyDB](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/alloydb/): How to get started with Toolbox using AlloyDB.
|
||||
- [Quickstart (MCP with AlloyDB)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/alloydb/mcp_quickstart/): How to get started running Toolbox with MCP Inspector and AlloyDB as the source.
|
||||
- [Getting started with alloydb-ai-nl tool](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/alloydb/ai-nl/): An end to end tutorial for building an ADK agent using the AlloyDB AI NL tool.
|
||||
- [BigQuery](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/bigquery/): How to get started with Toolbox using BigQuery.
|
||||
- [Quickstart (Local with BigQuery)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/bigquery/local_quickstart/): How to get started running Toolbox locally with Python, BigQuery, and LangGraph, LlamaIndex, or ADK.
|
||||
- [Quickstart (MCP with BigQuery)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/bigquery/mcp_quickstart/): How to get started running Toolbox with MCP Inspector and BigQuery as the source.
|
||||
- [Looker](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/looker/): How to get started with Toolbox using Looker.
|
||||
- [Gemini-CLI and OAuth](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/looker/looker_gemini_oauth/): How to connect to Looker from Gemini-CLI with end-user credentials
|
||||
- [Quickstart (MCP with Looker and Gemini-CLI)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/looker/looker_gemini/): How to get started running Toolbox with Gemini-CLI and Looker as the source.
|
||||
- [Quickstart (MCP with Looker)](https://googleapis.github.io/genai-toolbox/previews/PR-2260/samples/looker/looker_mcp_inspector/): How to get started running Toolbox with MCP Inspector and Looker as the source.
|
||||
|
||||
### About
|
||||
|
||||
A list of other information related to Toolbox.
|
||||
- [FAQ](https://googleapis.github.io/genai-toolbox/previews/PR-2260/about/faq/): Frequently asked questions about Toolbox.
|
||||
### SDKs
|
||||
|
||||
Client SDKs to connect to the MCP Toolbox server.
|
||||
- [Go SDK](https://googleapis.github.io/genai-toolbox/previews/PR-2260/sdks/go-sdk/): Go lang client SDK- [JS SDK](https://googleapis.github.io/genai-toolbox/previews/PR-2260/sdks/js-sdk/): Javascript client SDK- [Python SDK](https://googleapis.github.io/genai-toolbox/previews/PR-2260/sdks/python-sdk/): Python client SDK
|
||||
### Reference
|
||||
|
||||
This section contains reference documentation.
|
||||
- [CLI](https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/cli/): This page describes the `toolbox` command-line options.
|
||||
- [Prebuilt Tools](https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/prebuilt-tools/): This page lists all the prebuilt tools available.
|
||||
|
||||
@@ -1,244 +0,0 @@
|
||||
<?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>https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/</link><description>Recent content in Reference on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>CLI</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/cli/</guid><description><h2 id="reference">Reference</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Flag (Short)</th>
|
||||
<th>Flag (Long)</th>
|
||||
<th>Description</th>
|
||||
<th>Default</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>-a</code></td>
|
||||
<td><code>--address</code></td>
|
||||
<td>Address of the interface the server will listen on.</td>
|
||||
<td><code>127.0.0.1</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--disable-reload</code></td>
|
||||
<td>Disables dynamic reloading of tools file.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-h</code></td>
|
||||
<td><code>--help</code></td>
|
||||
<td>help for toolbox</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--log-level</code></td>
|
||||
<td>Specify the minimum level logged. Allowed: &lsquo;DEBUG&rsquo;, &lsquo;INFO&rsquo;, &lsquo;WARN&rsquo;, &lsquo;ERROR&rsquo;.</td>
|
||||
<td><code>info</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--logging-format</code></td>
|
||||
<td>Specify logging format to use. Allowed: &lsquo;standard&rsquo; or &lsquo;JSON&rsquo;.</td>
|
||||
<td><code>standard</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-p</code></td>
|
||||
<td><code>--port</code></td>
|
||||
<td>Port the server will listen on.</td>
|
||||
<td><code>5000</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--prebuilt</code></td>
|
||||
<td>Use a prebuilt tool configuration by source type. See <a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/prebuilt-tools/">Prebuilt Tools Reference</a> for allowed values.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--stdio</code></td>
|
||||
<td>Listens via MCP STDIO instead of acting as a remote HTTP server.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--telemetry-gcp</code></td>
|
||||
<td>Enable exporting directly to Google Cloud Monitoring.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--telemetry-otlp</code></td>
|
||||
<td>Enable exporting using OpenTelemetry Protocol (OTLP) to the specified endpoint (e.g. &lsquo;http://127.0.0.1:4318&rsquo;)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--telemetry-service-name</code></td>
|
||||
<td>Sets the value of the service.name resource attribute for telemetry data.</td>
|
||||
<td><code>toolbox</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--tools-file</code></td>
|
||||
<td>File path specifying the tool configuration. Cannot be used with &ndash;tools-files or &ndash;tools-folder.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--tools-files</code></td>
|
||||
<td>Multiple file paths specifying tool configurations. Files will be merged. Cannot be used with &ndash;tools-file or &ndash;tools-folder.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--tools-folder</code></td>
|
||||
<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 &ndash;tools-file or &ndash;tools-files.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--ui</code></td>
|
||||
<td>Launches the Toolbox UI web server.</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><code>--allowed-origins</code></td>
|
||||
<td>Specifies a list of origins permitted to access this server.</td>
|
||||
<td><code>*</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>-v</code></td>
|
||||
<td><code>--version</code></td>
|
||||
<td>version for toolbox</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="examples">Examples</h2>
|
||||
<h3 id="transport-configuration">Transport Configuration</h3>
|
||||
<p><strong>Server Settings:</strong></p></description></item><item><title>Prebuilt Tools</title><link>https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/prebuilt-tools/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://googleapis.github.io/genai-toolbox/previews/PR-2260/reference/prebuilt-tools/</guid><description><p>Prebuilt tools are reusable, pre-packaged toolsets that are designed to extend
|
||||
the capabilities of agents. These tools are built to be generic and adaptable,
|
||||
allowing developers to interact with and take action on databases.</p>
|
||||
<p>See guides, <a href="https://googleapis.github.io/genai-toolbox/previews/PR-2260/how-to/connect-ide/">Connect from your IDE</a>, for
|
||||
details on how to connect your AI tools (IDEs) to databases via Toolbox and MCP.</p>
|
||||
<style type="text/css">
|
||||
|
||||
.notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #6be;
|
||||
--content-color: #444;
|
||||
--content-background-color: #e7f2fa;
|
||||
}
|
||||
|
||||
.notice.info {
|
||||
--title-background-color: #fb7;
|
||||
--content-background-color: #fec;
|
||||
}
|
||||
|
||||
.notice.tip {
|
||||
--title-background-color: #5a5;
|
||||
--content-background-color: #efe;
|
||||
}
|
||||
|
||||
.notice.warning {
|
||||
--title-background-color: #c33;
|
||||
--content-background-color: #fee;
|
||||
}
|
||||
|
||||
|
||||
@media (prefers-color-scheme:dark) {
|
||||
.notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #069;
|
||||
--content-color: #ddd;
|
||||
--content-background-color: #023;
|
||||
}
|
||||
|
||||
.notice.info {
|
||||
--title-background-color: #a50;
|
||||
--content-background-color: #420;
|
||||
}
|
||||
|
||||
.notice.tip {
|
||||
--title-background-color: #363;
|
||||
--content-background-color: #121;
|
||||
}
|
||||
|
||||
.notice.warning {
|
||||
--title-background-color: #800;
|
||||
--content-background-color: #400;
|
||||
}
|
||||
}
|
||||
|
||||
body.dark .notice {
|
||||
--title-color: #fff;
|
||||
--title-background-color: #069;
|
||||
--content-color: #ddd;
|
||||
--content-background-color: #023;
|
||||
}
|
||||
|
||||
body.dark .notice.info {
|
||||
--title-background-color: #a50;
|
||||
--content-background-color: #420;
|
||||
}
|
||||
|
||||
body.dark .notice.tip {
|
||||
--title-background-color: #363;
|
||||
--content-background-color: #121;
|
||||
}
|
||||
|
||||
body.dark .notice.warning {
|
||||
--title-background-color: #800;
|
||||
--content-background-color: #400;
|
||||
}
|
||||
|
||||
|
||||
.notice {
|
||||
padding: 18px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 24px;
|
||||
border-radius: 4px;
|
||||
color: var(--content-color);
|
||||
background: var(--content-background-color);
|
||||
}
|
||||
|
||||
.notice p:last-child {
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
|
||||
.notice-title {
|
||||
margin: -18px -18px 12px;
|
||||
padding: 4px 18px;
|
||||
border-radius: 4px 4px 0 0;
|
||||
font-weight: 700;
|
||||
color: var(--title-color);
|
||||
background: var(--title-background-color);
|
||||
}
|
||||
|
||||
|
||||
.icon-notice {
|
||||
display: inline-flex;
|
||||
align-self: center;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.icon-notice img,
|
||||
.icon-notice svg {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.icon-notice img,
|
||||
.icon-notice.baseline svg {
|
||||
top: .125em;
|
||||
position: relative;
|
||||
}
|
||||
</style><div class="notice tip" >
|
||||
<p class="notice-title">
|
||||
<span class="icon-notice baseline">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="300.5 134 300 300">
|
||||
<path d="M551.281 252.36c0-3.32-1.172-6.641-3.515-8.985l-17.774-17.578c-2.344-2.344-5.469-3.711-8.789-3.711-3.32 0-6.445 1.367-8.789 3.71l-79.687 79.493-44.141-44.14c-2.344-2.344-5.469-3.712-8.79-3.712-3.32 0-6.444 1.368-8.788 3.711l-17.774 17.579c-2.343 2.343-3.515 5.664-3.515 8.984 0 3.32 1.172 6.445 3.515 8.789l70.704 70.703c2.343 2.344 5.664 3.711 8.789 3.711 3.32 0 6.64-1.367 8.984-3.71l106.055-106.056c2.343-2.343 3.515-5.468 3.515-8.789ZM600.5 284c0 82.813-67.188 150-150 150-82.813 0-150-67.188-150-150 0-82.813 67.188-150 150-150 82.813 0 150 67.188 150 150Z"/>
|
||||
</svg>
|
||||
|
||||
</span>Tip</p></description></item></channel></rss>
|
||||