gemini-cli-openrouter-mcp
Verified Safeby danialiscool
Overview
Interact with 200+ AI models via OpenRouter directly from the Gemini CLI, providing a standardized interface for model exploration and prompting.
Installation
npx ts-node --esm openrouter-mcp.tsEnvironment Variables
- OPENROUTER_API_KEY
Security Notes
The server demonstrates good security practices: API keys are handled securely via environment variables and Gemini CLI's native keychain integration, robust input validation (`MAX_PROMPT_LENGTH`) is applied, and network calls include resilient error handling with timeouts, retries, and rate limit awareness (429 status code handling). No 'eval' or malicious patterns were found. Caching is handled locally with error recovery for corrupted files.
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-cli-desktop
A cross-platform desktop and web UI for interacting with AI models (Gemini CLI, Qwen Code, LLxprt Code) through ACP and MCP, featuring tool confirmation, code diffing, chat history, and file browsing.
adk-docs-ext
Provides up-to-date documentation for the Agent Development Kit (ADK) to the Gemini CLI, allowing the Gemini model to answer ADK-related questions accurately.
gemini-mcp-rs
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.