Back to Home
marmyx77 icon

gemini-mcp-pro

Verified Safe

by 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

Run Command
python3 ~/.claude-mcp-servers/gemini-mcp-pro/run.py

Environment 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

Stats

Interest Score8
Security Score9
Cost ClassHigh
Avg Tokens10000
Stars1
Forks0
Last Update2025-12-15

Tags

AIMultimodalRAGCoding AgentGemini