gemini_mcp_onekey
Verified Safeby aiagenta2z
Overview
Provides an MCP server wrapper for Google Gemini API, enabling image generation with various Gemini models.
Installation
python src/gemini_mcp_onekey/server.pyEnvironment Variables
- GOOGLE_API_KEY
Security Notes
Uses environment variables for API keys. File output paths for generated images are constructed using `os.path.normpath` and `os.path.join`. While `output_folder` is intended for a user's personal directory and assumed to be controlled securely by the client, untrusted input to this parameter could potentially lead to path traversal if the client does not sanitize input. No 'eval' or other direct code execution vulnerabilities found. Direct API calls are made to Google's official Gemini API endpoints.
Similar Servers
gemini-mcp-tool
A Model Context Protocol (MCP) server that enables AI assistants to interact with the Google Gemini CLI for comprehensive code and file analysis, structured edit suggestions, and creative brainstorming.
bifrost
A high-performance AI gateway with a unified interface for multiple providers, offering real-time monitoring, configuration management, and comprehensive observability for AI infrastructure.
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.
cross-llm-mcp
This MCP server provides a unified interface for calling and orchestrating multiple Large Language Models (LLMs) from various providers, offering user preferences for model selection, tag-based routing, and a comprehensive prompt logging system.