gemini

v2.10.1
io.github.houtini-ai/gemini Checked 5 days ago Published 1 month ago

Model Context Protocol server for Google Gemini AI with chat, research, and grounding

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gemini_help Gemini MCP Help

Get comprehensive help about Gemini MCP features, settings, and best practices

ParameterTypeDescription
topicstringHelp topic to display

gemini_prompt_assistant Image & Chart Prompt Assistant

Get expert prompt templates and guidance for Gemini image generation. Covers photography (portraits, products, cinematic), chart/diagram design (9 professional design systems including FT, Bloomberg, Tufte, Du Bois), lighting, colour grading, lens simulation, and style aesthetics. For charts: use chart_design with a color_scheme to get a full professional design system prompt.

ParameterTypeDescription
request_type *stringType of assistance needed
chart_typestringChart type for chart-specific guidelines
color_schemestringChart colour scheme / design system (for chart_design, optimize_chart, get_palette)
current_promptstringCurrent prompt to optimize or troubleshoot
desired_outcomestringDescription of what you want to achieve
emphasisstringDesign emphasis / audience priority
use_casestringSpecific use case for template (photography request types)

gemini_chat Gemini Chat

Chat with Google Gemini models. Grounded in Google Search by default, on gemini-4-argon (Gemini 4 Argon). DO NOT SET max_tokens - the server allocates the model's full output ceiling automatically. It is a cap, not consumption, so unused headroom costs nothing; setting a small one makes Gemini 3 thinking burn the whole budget and return empty output that looks like a timeout. [MCP_RECOMMENDED_TIMEOUT_MS: 300000]

ParameterTypeDescription
message *stringThe message to send
groundingbooleanEnable Google Search grounding for real-time information
max_tokensintegerOutput token budget INCLUDING Gemini 3 thinking tokens. OMIT THIS — the server allocates the model's full output ceiling (queried live, 65,536 on current Gemini 3 text models). It is a cap, not cons…
modelstringOmit to use the configured default (gemini-4-argon). Other valid options: gemini-3.1-pro-preview, gemini-3.8-flash (GA, fast), gemini-3.5-flash, gemini-3-pro-preview. Do NOT pass gemini-1.5-* or gemin…
system_promptstringOptional system instruction
temperaturenumberControls randomness (0.0 to 1.0). Ignored on Gemini 3+ (forced to 1.0 per Google docs).
thinking_levelstringThinking depth for Gemini 3 models only. "low" minimises latency for simple tasks. "high" (default for Gemini 3) maximises reasoning depth. "medium"/"minimal" available on Gemini 3 Flash only. Ignored…

gemini_list_models List Gemini Models

List available Gemini models and their descriptions

gemini_deep_research Gemini Deep Research

Conduct deep research on complex topics using iterative multi-step analysis with Gemini. Runs grounded search passes on a fast model, then synthesises them with Gemini 3.1 Pro. Default 2 passes (2-3 minutes); more passes take proportionally longer. [MCP_RECOMMENDED_TIMEOUT_MS: 900000]

ParameterTypeDescription
research_question *stringThe complex research question or topic to investigate deeply
focus_areasarrayOptional: specific areas to focus the research on
max_iterationsintegerNumber of grounded search passes (1-10, default 2). A synthesis step runs after 2+. Claude Desktop: 2-3 fits its 4-minute timeout. Agent SDK / IDEs (VS Code, Cursor, Windsurf) / Cline: 5-7 for deeper…
modelstringOmit to use the defaults: gemini-3.8-flash for the search passes, gemini-3.1-pro-preview for synthesis. Setting this uses one model for both.

describe_image Describe Image (Gemini Flash)

Analyze and describe one or more images using Gemini multimodal understanding. Returns a text description — no image is generated. Default model: gemini-3.8-flash. [MCP_RECOMMENDED_TIMEOUT_MS: 180000]

ParameterTypeDescription
images *arrayOne or more images to describe/analyze
global_media_resolutionstringGlobal image quality for cost optimization. MEDIUM recommended for PDFs (50% savings).
modelstringOmit to use gemini-3.8-flash (GA, fast). Other valid options: gemini-3.1-pro-preview (deeper analysis), gemini-3.5-flash, gemini-3-flash-preview. Do NOT pass gemini-1.5-* or gemini-pro-vision — thos…
promptstringOptional custom analysis prompt (default: general description)

analyze_image Analyze Image

Analyze and extract information from one or more images using Gemini multimodal understanding. Returns a text analysis - no image is generated. Default model: gemini-3.1-pro-preview. DO NOT SET max_tokens - the server allocates the model's full output ceiling automatically; a small cap is spent on Gemini 3 thinking and returns empty output that looks like a timeout. [MCP_RECOMMENDED_TIMEOUT_MS: 300000]

ParameterTypeDescription
images *arrayOne or more images to analyze
prompt *stringWhat to analyze or extract from the image(s)
global_media_resolutionstringGlobal image quality for cost optimization. MEDIUM recommended for PDFs (50% savings).
max_tokensintegerOutput token budget INCLUDING Gemini 3 thinking tokens. OMIT THIS — the server allocates the model's full output ceiling (a cap, not consumption; unused headroom costs nothing). Values below 4096 ar…
modelstringOmit to use gemini-3.1-pro-preview (strongest reasoning). Other valid options: gemini-3.8-flash (fast, GA), gemini-3-pro-preview, gemini-3-flash-preview. Do NOT pass gemini-1.5-* or gemini-pro-vision…

load_image_from_path Load Image from File Path

Read a local image file and return it as base64-encoded data ready to pass to generate_image, edit_image, describe_image, or analyze_image tools. Supports JPEG, PNG, GIF, WebP, BMP.

ParameterTypeDescription
filePath *stringAbsolute or relative path to the image file

generate_image Generate Image with Gemini

Generate an image using Google Gemini image models (Nano Banana Pro). Returns image with inline preview in Claude Desktop and saves full-resolution to disk. Default model: gemini-3-pro-image (Nano Banana Pro).

ParameterTypeDescription
prompt *stringDescription of the image to generate
aspectRatiostringAspect ratio of the generated image
global_media_resolutionstringGlobal image quality setting for cost optimization (default: HIGH). LOW (280 tokens, 75% savings) - Simple tasks, bulk operations. MEDIUM (560 tokens, 50% savings) - PDFs/documents (OCR saturates at m…
imageSizestringResolution of the generated image (only for image-specific models)
imagesarrayOptional reference images to guide generation
modelstringGemini image model to use (default: gemini-3-pro-image, Nano Banana Pro). Options: gemini-3.1-flash-image (Nano Banana 2 — fast), gemini-3.1-flash-lite-image (fastest/cheapest), gemini-3-pro-image-p…
outputPathstringOptional file path to save the generated image (e.g., ./output/image.png)
use_searchbooleanEnable Google Search grounding for data-driven image generation. Use for: weather forecasts, current events, stock prices, sports scores, statistics. The model will search the web for real-time data t…

edit_image Edit Image with Gemini

Edit one or more images using Google Gemini image models (Nano Banana Pro). Provide images and natural-language instructions for how to modify them. Returns edited image with inline preview and saves full-resolution to disk.

ParameterTypeDescription
images *arrayOne or more images to edit
prompt *stringInstructions for how to edit the image(s)
global_media_resolutionstringGlobal image quality setting (default: HIGH). See generate_image for details.
modelstringGemini image model to use (default: gemini-3-pro-image, Nano Banana Pro). Also: gemini-3.1-flash-image (Nano Banana 2)
outputPathstringOptional file path to save the edited image (e.g., ./output/edited.png)
use_searchbooleanEnable Google Search grounding for data-driven editing

generate_landing_page Generate Landing Page

Generate a complete, self-contained HTML landing page using Gemini. Returns inline preview with responsive viewport controls. No external dependencies; inline CSS and vanilla JS only. [MCP_RECOMMENDED_TIMEOUT_MS: 300000]

ParameterTypeDescription
brief *stringDescription of the product/service and page goals
companyNamestringCompany or product name
modelstringOmit to use gemini-3.1-pro-preview. Other valid options: gemini-3-pro-preview, gemini-3-flash-preview.
outputPathstringOptional file path to save the HTML (e.g. C:/dev/output/landing.html)
primaryColourstringPrimary brand colour (e.g. #3B82F6 or "deep blue")
sectionsarraySections to include (e.g. ["hero", "features", "pricing", "cta"])
stylestringVisual design style

generate_svg Generate SVG Graphic

Generate scalable vector graphics (SVG) using Gemini. Creates clean, production-ready SVG code for diagrams, illustrations, icons, and data visualizations. Returns inline preview with SVG viewer. [MCP_RECOMMENDED_TIMEOUT_MS: 240000]

ParameterTypeDescription
prompt *stringDescription of the SVG graphic to generate
heightnumberSVG height in pixels (default: 600)
modelstringOmit to use gemini-3-flash-preview. Other valid options: gemini-3.8-flash, gemini-3.1-pro-preview, gemini-3-pro-preview.
outputPathstringOptional file path to save the SVG (e.g. C:/output/diagram.svg)
stylestringVisual style: technical (diagrams), artistic (illustrations), minimal (simple), data-viz (charts)
widthnumberSVG width in pixels (default: 800)

generate_video Generate Video

Generate videos using Google Veo 3.1 AI model. Creates realistic 4-8 second videos from text prompts with optional first-frame image and reference images for character/style consistency. Supports native audio generation. Processing time: 2-5 minutes for 1080p videos. Returns video file path with optional thumbnail and HTML preview player. ⚠️ IMPORTANT: Video generation is ASYNC and takes 2-5 minutes. The tool will poll for completion automatically.

ParameterTypeDescription
prompt *stringDetailed description of the video to generate. Be specific about actions, camera movements, lighting, and style. Example: "A close-up shot of a futuristic coffee machine brewing a glowing blue espress…
aspectRatiostringVideo aspect ratio: 16:9 (landscape) or 9:16 (portrait/vertical)
durationSecondsnumberVideo duration in seconds — 4, 6, or 8. Other values in range are rounded to the nearest of those.
firstFrameImageobjectStarting frame image for image-to-video generation. Provide via filePath (local file) or data+mimeType (base64). The video will animate from this image. Supports JPEG, PNG, WebP.
generateAudiobooleanGenerate native synchronized audio effects and dialogue based on the prompt
generateHTMLPlayerbooleanGenerate interactive HTML video player with preview and download options
generateThumbnailbooleanExtract thumbnail from video (requires ffmpeg installed). Thumbnail is saved alongside video.
modelstringVideo generation model (default: veo-3.1-generate-preview)
outputPathstringOptional custom output path for the video file (e.g., C:/videos/output.mp4). If not provided, saves to default output directory with timestamped filename.
referenceImagesarrayUp to 3 reference images for character/style consistency. Each needs a referenceType ("asset" or "style") and an image.
resolutionstringVideo resolution. Higher resolutions take longer to generate and result in larger files.
sampleCountnumberNumber of video samples to generate (1-4). Each sample is a separate generation.
seednumberOptional seed for deterministic output. Use the same seed with the same prompt for consistent results.

gemini_viewer_payload Viewer payload (internal)

Internal helper used by the Gemini MCP App viewers to fetch their display data. Not for model use — it returns nothing useful outside the viewer iframe.

ParameterTypeDescription
ref *stringThe [viewer-ref …] token from a tool result