Server data from the Official MCP Registry
MCP server for Google Gemini AI - text, image, video, research, and more
MCP server for Google Gemini AI - text, image, video, research, and more
Valid MCP server (0 strong, 3 medium validity signals). 8 known CVEs in dependencies (2 critical, 4 high severity) Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
7 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-crunchtools-gemini": {
"args": [
"mcp-gemini-crunchtools"
],
"command": "uvx"
}
}
}From the project's GitHub README.
A secure MCP (Model Context Protocol) server for Google Gemini AI - text, image, video, research, and more.
This MCP server is designed to be:
quay.io/crunchtools/mcp-gemini built on Hummingbird Python base image| Component | Name |
|---|---|
| GitHub repo | crunchtools/mcp-gemini |
| Container | quay.io/crunchtools/mcp-gemini |
| Python package (PyPI) | mcp-gemini-crunchtools |
| CLI command | mcp-gemini-crunchtools |
| Module import | mcp_gemini_crunchtools |
The container image is built on the Hummingbird Python base image from Project Hummingbird, which provides:
This means your MCP server runs in a hardened environment with fewer vulnerabilities than typical Python container images.
gemini_query - Query Gemini with optional Google Search groundinggemini_brainstorm - Generate creative ideas on a topicgemini_analyze_code - Analyze code for security, performance, bugsgemini_analyze_text - Analyze text for sentiment, tone, contentgemini_summarize - Summarize content in various formatsgemini_generate_image - Generate images from text prompts (native Gemini)gemini_generate_image_with_input - Edit/modify existing imagesgemini_image_prompt - Craft effective image generation promptsgemini_imagen_generate - Generate images using Google Imagen 4 modelsgemini_start_image_edit - Start a multi-turn image editing sessiongemini_continue_image_edit - Continue editing in an active sessiongemini_end_image_edit - End an image editing sessiongemini_list_image_sessions - List all active editing sessionsgemini_analyze_image - Analyze and describe local image filesgemini_search - Web search using Gemini with Google Search groundinggemini_analyze_document - Analyze PDFs, DOCX, TXT, etc.gemini_summarize_pdf - Summarize PDF documentsgemini_extract_tables - Extract tables from documentsgemini_analyze_url - Analyze one or more URLsgemini_compare_urls - Compare two URLsgemini_extract_from_url - Extract specific data from a URLgemini_generate_video - Generate videos using Veogemini_check_video - Check video generation statusgemini_youtube - Analyze YouTube videosgemini_youtube_summary - Summarize YouTube videosgemini_speak - Convert text to speechgemini_dialogue - Generate multi-voice dialogue audiogemini_list_voices - List available voicesgemini_deep_research - Perform multi-step web researchgemini_check_research - Check research operation statusgemini_research_followup - Ask follow-up questionsgemini_create_cache - Create content cache for repeated queriesgemini_query_cache - Query cached contentgemini_list_caches - List all active cachesgemini_delete_cache - Delete a cachegemini_structured - Get structured JSON outputgemini_extract - Extract structured data from textgemini_count_tokens - Count tokens in contentgemini_run_code - Execute Python code via GeminiTotal: 39 tools
uvx mcp-gemini-crunchtools
pip install mcp-gemini-crunchtools
# Create a shared output directory (required before first run)
mkdir -p ~/.local/share/mcp-uploads-downloads
podman run -v ~/.local/share/mcp-uploads-downloads:/output:z \
-e GEMINI_API_KEY=your_key \
-e GEMINI_OUTPUT_DIR=/output \
quay.io/crunchtools/mcp-gemini
SELinux note: Use
:z(lowercase, shared) instead of:Z(uppercase, private). MCP servers run as long-lived stdio processes. With:Z, files copied into the directory after container start won't have the container's private MCS label and will be invisible inside the container. The:zflag sets a sharedcontainer_file_tcontext that all containers and the host can read/write.Tip: Use the same shared directory (
~/.local/share/mcp-uploads-downloads/) across multiple MCP container servers (e.g., mcp-gemini and mcp-wordpress) so generated images are immediately available for WordPress upload without copying.
Navigate to Google AI Studio
Create API Key
Copy Your API Key
AI... (e.g., AIzaSy...)claude mcp add mcp-gemini-crunchtools \
--env GEMINI_API_KEY=your_api_key_here \
-- uvx mcp-gemini-crunchtools
Or for the container version:
# Create a shared output directory (required before first run)
mkdir -p ~/.local/share/mcp-uploads-downloads
claude mcp add mcp-gemini-crunchtools \
--env GEMINI_API_KEY=your_api_key_here \
--env GEMINI_OUTPUT_DIR=/output \
-- podman run -i --rm \
-v ~/.local/share/mcp-uploads-downloads:/output:z \
-e GEMINI_API_KEY \
-e GEMINI_OUTPUT_DIR=/output \
quay.io/crunchtools/mcp-gemini
For generated images, audio, and videos when running without a container:
claude mcp add mcp-gemini-crunchtools \
--env GEMINI_API_KEY=your_api_key_here \
--env GEMINI_OUTPUT_DIR=$HOME/.local/share/mcp-uploads-downloads \
-- uvx mcp-gemini-crunchtools
User: What are the latest developments in quantum computing?
Assistant: [calls gemini_query with use_google_search=true]
User: Generate a photorealistic image of a sunset over mountains
Assistant: [calls gemini_generate_image with prompt and style]
User: Analyze this research paper at /path/to/paper.pdf
Assistant: [calls gemini_analyze_document with file_path]
User: Summarize this YouTube video: https://youtube.com/watch?v=...
Assistant: [calls gemini_youtube_summary with url]
User: Research the environmental impact of electric vehicles
Assistant: [calls gemini_deep_research then gemini_check_research]
User: Analyze this Python code for security issues
Assistant: [calls gemini_analyze_code with focus="security"]
This server was designed with security as a primary concern. See SECURITY.md for:
API Key Protection
Input Validation
API Hardening
Automated CVE Scanning
git clone https://github.com/crunchtools/mcp-gemini.git
cd mcp-gemini
uv sync
uv run pytest
uv run ruff check src tests
uv run mypy src
podman build -t mcp-gemini .
AGPL-3.0-or-later
Contributions welcome! Please read SECURITY.md before submitting security-related changes.
Be the first to review this server!
by Modelcontextprotocol · AI & ML
Dynamic and reflective problem-solving through structured thought sequences
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.