gemini-mcp-rs
Verified Safeby missdeer
Overview
A high-performance Rust MCP server that enables AI-driven tasks by wrapping the Gemini CLI, facilitating integration with MCP-compatible clients like Claude Code.
Installation
npx @missdeer/gemini-mcp-rsEnvironment Variables
- GEMINI_BIN
- GEMINI_DEFAULT_TIMEOUT
- GEMINI_FORCE_MODEL
- GITHUB_TOKEN
Security Notes
The server wraps the Gemini CLI, with robust input validation, timeout enforcement, and configurable sandbox mode. It uses `Command::new` for process spawning, correctly quoting arguments to prevent shell injection. The `run.js` script handles binary downloads via HTTPS from GitHub Releases, including redirect handling and timeouts, and uses `spawn` for extraction (tar/powershell). There are checks for unbounded output from the CLI and a locking mechanism for concurrent downloads. The primary implicit risk is reliance on the security of the underlying Gemini CLI and the trust placed in the official GitHub repository for binary downloads. No `eval` or blatant malicious patterns were found.
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.
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.
mcp-framework
A Rust framework for building AI agents with built-in Model Context Protocol (MCP) support, multi-LLM integration, and a web-based inspector for debugging.