gemini-mcp-pro
Verified Safeby marmyx77
Overview
A full-featured Model Context Protocol (MCP) server for Google Gemini AI, enabling multimodal capabilities, web search, RAG, advanced reasoning, and comprehensive code analysis within MCP-compatible clients like Claude Code.
Installation
python3 ~/.claude-mcp-servers/gemini-mcp-pro/run.pyEnvironment Variables
- GEMINI_API_KEY
Security Notes
The project demonstrates a very strong focus on security, incorporating extensive measures such as path sandboxing (`validate_path`, `secure_read_file`, `secure_write_file`) to prevent directory traversal and TOCTOU race conditions. It uses `SafeFileWriter` for atomic, backed-up, and permission-preserving file operations with cross-platform file locking. The `SecretsSanitizer` effectively masks sensitive data in logs and outputs, utilizing ReDoS-safe regex patterns with timeout protection. LLM output for code generation is securely parsed with `defusedxml` and includes validation for actions and generated paths to prevent injection attacks. DoS protection is implemented via file size limits (5MB total for codebase analysis, 1MB for sanitization inputs). Pydantic schemas enforce robust input validation, and the Docker deployment employs hardening techniques like a read-only filesystem and non-root user execution. SQLite conversation storage has restrictive file permissions. The `ToolRegistry` prevents loading plugins from world-writable directories.
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.
geminimcp
Integrates Google's Gemini CLI with Claude Code as an MCP server for AI-assisted programming, particularly strong in frontend design.
consult-llm-mcp
An MCP server that allows AI agents like Claude Code to consult stronger, more capable AI models (e.g., GPT-5.2, Gemini 3.0 Pro) for complex code analysis, debugging, and architectural advice.
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.