gemini-mcp
Verified Safeby holocode-ai
Overview
The server provides a Model Context Protocol (MCP) interface to Google Gemini AI services, enabling multimodal generation including image creation, image editing, and video production.
Installation
GOOGLE_API_KEY="your_google_api_key_here" docker-compose up -dEnvironment Variables
- GOOGLE_API_KEY
- GOOGLE_PROJECT_ID
- GOOGLE_LOCATION
- OUTPUT_DIR
- TRANSPORT
- PORT
- SERVICE_TOKENS
- S3_ENDPOINT
- S3_BUCKET
- S3_REGION
- S3_ACCESS_KEY_ID
- S3_SECRET_ACCESS_KEY
- S3_USE_SSL
- S3_PRESIGN_TTL
- S3_OBJECT_TTL
- S3_CLEANUP_INTERVAL
Security Notes
The server demonstrates good security practices by using environment variables for sensitive API keys and S3 credentials. HTTP mode includes configurable Bearer token authentication, with explicit warnings logged if authentication is disabled. The file upload mechanism for local files ('upload_media' CLI via HTTP) uses secure, one-time use tokens generated with `crypto/rand`, which prevents replay attacks. Input path resolution for image/video tools correctly handles S3 object keys by downloading to temporary files (with cleanup) or verifies absolute local paths, mitigating direct path traversal vulnerabilities. No use of `eval` or similar dangerous dynamic code execution patterns was found.
Similar Servers
gemini-mcp-server
An MCP server providing a suite of 7 AI-powered tools (Image Gen/Edit, Chat, Audio Transcribe, Code Execute, Video/Image Analysis) powered by Google Gemini, featuring a self-learning "Smart Tool Intelligence" system for prompt enhancement and user preference adaptation.
nanobanana-api-mcp
An MCP server providing image generation and editing capabilities via the Google Gemini API, integrable with various AI coding assistants and IDEs.
GeminiMCP
Integrate Google's Gemini API for AI-powered tasks and search with Model Control Protocol (MCP) clients, focusing on developer-centric features like code analysis and context handling.
mcp-gemini-prompt-enhancer
A Model Context Protocol (MCP) server that provides a prompt optimization service for Large Language Models (LLMs) using Google Gemini, with advanced prompt engineering support and automatic PDF asset management.