GeminiCLI
Verified Safeby EPS-AI-SOLUTIONS
Overview
Integrate Ollama and Gemini CLI for advanced LLM operations, including multi-agent task execution, intelligent routing, prompt optimization, and caching, accessible via CLI and a Tauri-based GUI.
Installation
pnpm startEnvironment Variables
- OLLAMA_HOST
- DEFAULT_MODEL
- FAST_MODEL
- CODER_MODEL
- CACHE_ENCRYPTION_KEY
- HYDRA_YOLO
- HYDRA_RISK_BLOCKING
- GOOGLE_API_KEY
- GEMINI_API_KEY
- CACHE_ENABLED
- CACHE_TTL
- LOG_LEVEL
- NODE_ENV
Security Notes
The server includes a `run_shell_command` tool, which is an inherently high-risk capability. However, the project demonstrates strong security awareness by implementing a robust `CommandSanitizer` (with `DANGEROUS_PATTERNS`, `BLOCKED_COMMANDS`), strict working directory validation, filtering of dangerous environment variables, and comprehensive audit logging. The `CACHE_ENCRYPTION_KEY` is crucial for securing cached data at rest; if not set, cache entries are stored in plain text. Enabling `HYDRA_YOLO` or disabling `HYDRA_RISK_BLOCKING` could significantly reduce safety, but default configurations prioritize security. Overall, strong built-in mitigations are present against common shell injection and data exposure risks.
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.
claude-prompts-mcp
Enhances AI assistant behavior through structured prompt management, multi-step chains, quality gates, and autonomous verification loops, primarily for development tasks.
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.