MCP-Server-with-Gemini-CLI
Verified Safeby sabikahamna
Overview
Provides an API server and a command-line interface for interacting with the Google Gemini AI model.
Installation
npm startEnvironment Variables
- GEMINI_API_KEY
- PORT
Security Notes
The server correctly loads the GEMINI_API_KEY from environment variables and avoids dangerous patterns like 'eval'. However, the '/chat' endpoint lacks any authentication or authorization, meaning anyone with network access to the server can utilize the Gemini API, potentially leading to unauthorized usage and API billing costs if exposed publicly.
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.
nanobanana-api-mcp
An MCP server providing image generation and editing capabilities via the Google Gemini API, integrable with various AI coding assistants and IDEs.
gemini_mcp_onekey
Provides an MCP server wrapper for Google Gemini API, enabling image generation with various Gemini models.
mcp
Integrate Google Gemini API features (text generation, chat, image analysis, web search, embeddings, image/video generation) into a Model Context Protocol (MCP) server for local or remote AI client applications.