Back to Home
missdeer icon

gemini-mcp-rs

Verified Safe

by 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

Run Command
npx @missdeer/gemini-mcp-rs

Environment 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

Stats

Interest Score38
Security Score8
Cost ClassLow
Stars6
Forks1
Last Update2026-01-18

Tags

MCPGeminiRustAIToolingAgent