Back to Home
aiagenta2z icon

gemini_mcp_onekey

Verified Safe

by aiagenta2z

Overview

Provides an MCP server wrapper for Google Gemini API, enabling image generation with various Gemini models.

Installation

Run Command
python src/gemini_mcp_onekey/server.py

Environment 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

Stats

Interest Score34
Security Score9
Cost ClassMedium
Avg Tokens100
Stars1
Forks0
Last Update2025-11-28

Tags

Gemini APIImage GenerationMCP ServerAPI WrapperDeepNLP