ToolTrust
D55/100
Smithery

gemini

mcpsmithery

@Smithery

Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.

By Smithery | 23 findings | Scanned 4/19/2026 | tooltrust-scanner/v0.3.8

7 High2 Medium6 Low8 Info

Risk Summary

Block in Production

Excessive Permissions + Dep Visibility risk is significant. Avoid using this in production agents.

Potential impact: The agent may gain overly broad access to files, network, databases, or execution capabilities.

Recommended action: This tool should stay disabled in production agents until the flagged risks are fixed and the scan is clean.

{
  "mcpServers": {
    "gemini": {
      "disabled": true
    }
  }
}

Security Findings (23)

  • HighAS-010

    🔑Insecure Secret Handling ×2

    input parameter "max_output_tokens" appears to accept a secret or credential

    GEMINI_GENERATE_CONTENTGEMINI_GENERATE_IMAGE

    Fix: Avoid accepting raw credentials as input parameters. Use secret managers (e.g. 1Password CLI, AWS Secrets Manager) and ensure credentials are never logged or stored in agent traces.

  • HighAS-002

    ⚠️Excessive Permissions ×5

    tool declares network permission

    GEMINI_GENERATE_IMAGEGEMINI_GENERATE_VIDEOSGEMINI_GET_VIDEOS_OPERATIONGEMINI_WAIT_FOR_VIDEO

    tool declares exec permission

    GEMINI_GENERATE_IMAGE

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • MediumAS-002

    ⚠️Excessive Permissions ×2

    tool declares fs permission

    GEMINI_GENERATE_IMAGEGEMINI_WAIT_FOR_VIDEO

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-002

    ⚠️Excessive Permissions

    GEMINI_COUNT_TOKENS:tool declares http permission

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-011

    ℹ️Missing Rate-Limit / Timeout ×5

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    GEMINI_COUNT_TOKENSGEMINI_GENERATE_IMAGEGEMINI_GENERATE_VIDEOSGEMINI_GET_VIDEOS_OPERATIONGEMINI_WAIT_FOR_VIDEO

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

  • InfoAS-014

    ℹ️Dependency Inventory Unavailable ×8

    Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.

    GEMINI_COUNT_TOKENSGEMINI_EMBED_CONTENTGEMINI_GENERATE_CONTENTGEMINI_GENERATE_IMAGEGEMINI_GENERATE_VIDEOSGEMINI_GET_VIDEOS_OPERATIONGEMINI_LIST_MODELSGEMINI_WAIT_FOR_VIDEO

    Fix: Review and remediate the identified issue.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y gemini"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade D](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-d.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)