Skip to main content
Glama
riotofgeese

Gemini MCP Server

by riotofgeese

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_MODELNoOverride the default modelgemini-3-pro-preview
GEMINI_API_KEYYesYour Google Gemini API key (get it from https://aistudio.google.com/apikey)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
geminiB

Run a Gemini session. Similar to Codex but uses Google Gemini 3 Pro Preview.

Supports configuration parameters matching the Codex Config struct:

  • prompt: The initial user prompt to start the conversation (required)

  • cwd: Working directory context

  • sandbox: Access policy ("read-only", "workspace-write", "danger-full-access")

  • base-instructions: Override default system instructions

  • developer-instructions: Additional developer context

  • model: Optional override for model (default: gemini-3-pro-preview)

gemini-replyA

Continue a Gemini conversation by providing the conversation ID and prompt.

Use this to continue a multi-turn conversation started with the 'gemini' tool.

gemini-imageA

Generate images using Nano Banana (Gemini's native image generation).

Two models available:

  • Nano Banana (default): Fast, cheap (~$0.04/image), good for most use cases

  • Nano Banana Pro: Advanced model with better text rendering, infographics, diagrams

Auto-detection: Says "nano banana pro" or mentions text/infographic/diagram/chart/logo/poster in prompt → automatically uses Pro model.

Parameters:

  • prompt: Text description of the image to generate (required)

  • numberOfImages: How many images to generate (1-4, default: 1)

  • aspectRatio: Image aspect ratio ("1:1", "3:4", "4:3", "9:16", "16:9", default: "1:1")

  • usePro: Force Nano Banana Pro (auto-detected from prompt if not specified)

  • outputPath: Optional path to save images

gemini-video-generateA

Generate a video using Veo 3.1 (Google's video generation model).

This starts an async video generation that takes 1-5 minutes. Returns an operation ID that you can use with gemini-video-check to poll for completion.

Parameters:

  • prompt: Text description of the video to generate (required)

  • aspectRatio: Video aspect ratio ("16:9" or "9:16", default: "16:9")

  • resolution: Video resolution ("720p", default: "720p")

  • firstFrameBase64: Optional base64 PNG image to use as first frame (from gemini-image)

Workflow:

  1. Call gemini-video-generate → returns operationId

  2. Wait 30-60 seconds

  3. Call gemini-video-check with operationId → returns status or video

gemini-video-checkA

Check the status of a video generation operation.

If the video is still processing, returns the current status. If the video is complete, returns the video data.

Parameters:

  • operationId: The operation ID from gemini-video-generate (optional - uses last operation if not provided)

  • outputPath: Optional path to save the video file when complete

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: 'gemini' for text-based conversations, 'gemini-image' for image generation, 'gemini-reply' for continuing conversations, 'gemini-video-generate' for initiating video generation, and 'gemini-video-check' for checking video status. There is no overlap or ambiguity between these functions.

Naming Consistency4/5

The naming follows a consistent 'gemini-' prefix pattern for all tools, with descriptive suffixes like 'image', 'reply', 'video-generate', and 'video-check'. The only minor deviation is the first tool named just 'gemini' instead of 'gemini-chat' or similar, but this is a small inconsistency in an otherwise predictable scheme.

Tool Count5/5

With 5 tools, this server is well-scoped for interacting with Google Gemini models. It covers core functionalities: text generation, image generation, conversation continuation, and video generation with status checking. Each tool earns its place without being overwhelming or sparse.

Completeness4/5

The toolset provides comprehensive coverage for the Gemini domain, including text, image, and video generation with multi-turn conversation support. A minor gap is the lack of a tool for managing or listing past conversations, but the core workflows are fully covered with no dead ends.

Maintenance

ActivityInactive
ResponsivenessNo issues