Gemini CLI
by jamubc · Added 26d ago
Install
npx -y gemini-mcp-toolAbout
This MCP server provides integration with Google's Gemini CLI, enabling AI assistants to leverage Gemini's massive token window for analyzing large files and codebases using the @ syntax for file references. Built using TypeScript with the Model Context Protocol SDK, it offers tools for general Gemini queries, sandbox-mode code execution for safe testing, and structured response handling with behavioral flags that control AI interaction patterns including context suppression and output formatting. The implementation features proper argument handling for the Gemini CLI, progress monitoring for long-running operations, slash command support for direct user interaction, and specialized sandbox capabilities for executing potentially risky code in an isolated environment, making it valuable for large-scale code analysis, safe script testing, and building AI assistants that need access to Gemini's advanced reasoning capabilities without manual CLI usage.