/ Diretório / Playground / GenAI Toolbox for Databases
● Oficial googleapis ⚡ Instantâneo

GenAI Toolbox for Databases

por googleapis · googleapis/genai-toolbox

Open source MCP server for databases — Postgres, MySQL, Spanner, BigQuery, AlloyDB, and more.

GenAI Toolbox for Databases is a MCP server maintained by googleapis. Open source MCP server for databases — Postgres, MySQL, Spanner, BigQuery, AlloyDB, and more. See README for installation and configuration: https://github.com/googleapis/genai-toolbox

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

genai-toolbox.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "genai-toolbox": {
      "command": "npx",
      "args": [
        "-y",
        "@googleapis/genai-toolbox"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "genai-toolbox": {
      "command": "npx",
      "args": [
        "-y",
        "@googleapis/genai-toolbox"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "genai-toolbox": {
      "command": "npx",
      "args": [
        "-y",
        "@googleapis/genai-toolbox"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "genai-toolbox": {
      "command": "npx",
      "args": [
        "-y",
        "@googleapis/genai-toolbox"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "genai-toolbox",
      "command": "npx",
      "args": [
        "-y",
        "@googleapis/genai-toolbox"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "genai-toolbox": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@googleapis/genai-toolbox"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add genai-toolbox -- npx -y @googleapis/genai-toolbox

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: GenAI Toolbox for Databases

Use GenAI Toolbox for Databases for its primary workflow

👤 Claude Code / MCP client users ⏱ ~20 min intermediate

Quando usar: See repo README for canonical use cases.

Pré-requisitos
  • Repo cloned or package installed — See https://github.com/googleapis/genai-toolbox
Fluxo
  1. Install
    Install GenAI Toolbox for Databases per README.✓ Copiado
    → Tool/skill registered with client
  2. Configure
    Provide credentials/config as instructed.✓ Copiado
    → Successful auth/init
  3. Use
    Run a sample task with GenAI Toolbox for Databases.✓ Copiado
    → Expected output

Resultado: You can drive the documented workflow end-to-end.

Armadilhas
  • Skipping README — Read the repo README and CHANGELOG before shipping to prod.

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
primary see README Primary action free

Custo e limites

O que custa rodar

Cota de API
None of its own; bounded by upstream provider quotas if any
Tokens por chamada
Depends on usage
Monetário
Open source — check repo LICENSE
Dica
Review upstream API costs (if any) before automating.

Segurança

Permissões, segredos, alcance

Escopos mínimos: Whatever the upstream provider requires
Armazenamento de credenciais: Env vars or local config — never commit secrets
Saída de dados: Forwards data per its README
Nunca conceda: Full admin to untrusted prompts

Solução de problemas

Erros comuns e correções

Auth fails

Verify credentials and required scopes match README.

Verificar: Re-read repo README auth section.
Tool not found by client

Ensure MCP client config points to correct command/path.

Verificar: Restart the client after editing config.

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills