Back to Home
googleapis icon

genai-toolbox

Verified Safe

by googleapis

Overview

Provides an open-source MCP server to simplify the development and deployment of Gen AI tools that interact with various databases, handling complexities like connection pooling and authentication.

Installation

Run Command
npx @toolbox-sdk/server --tools-file tools.yaml

Environment Variables

  • BIGQUERY_PROJECT
  • POSTGRES_HOST
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • LOOKER_CLIENT_ID
  • LOOKER_CLIENT_SECRET
  • SQLITE_DATABASE
  • NEO4J_URI
  • NEO4J_USERNAME
  • NEO4J_PASSWORD

Security Notes

The server incorporates robust security features such as OIDC-based authentication, CORS, and DNS rebinding attack prevention. However, a critical security consideration lies in the 'template parameters' available for SQL-based tools. While standard parameterized queries inherently prevent SQL injection, 'template parameters' are designed to allow direct modification of SQL statements, including identifiers, column names, and table names. The documentation explicitly notes this makes them 'more vulnerable to SQL injections'. Developers are advised to prefer standard parameters or, if using template parameters, to diligently implement `allowedValues`, `escape`, or `minValue`/`maxValue` for validation. Hardcoded secrets are discouraged by the use of environment variables for configuration, which should be managed securely (e.g., via Secret Manager in cloud deployments).

Similar Servers

Stats

Interest Score100
Security Score6
Cost ClassLow
Stars12501
Forks1133
Last Update2026-01-19

Tags

MCP ServerDatabase ToolsGen AI IntegrationObservabilityAuthentication