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-cli
Provides an A2A (Agent-to-Agent) server for the Gemini CLI, enabling external agents to interact with and utilize the CLI's capabilities for executing tasks and accessing tools.
bifrost
A high-performance AI gateway with a unified interface for multiple LLM providers, offering real-time monitoring and configuration.
cross-llm-mcp
Provides unified access to multiple Large Language Model APIs (ChatGPT, Claude, DeepSeek, Gemini, Grok, Kimi, Perplexity, Mistral) for AI coding environments, enabling intelligent model selection, preferences, and prompt logging.
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.