Gemini MCP Server
An MCP server for interacting with Google's Gemini models through the Gemini CLI.
Gemini MCP Server
An MCP (Model Context Protocol) server that provides integration with the Gemini CLI tool.
Prerequisites
- Node.js 18+
- Gemini CLI tool installed and configured
Installation
npm install
Usage
Running the MCP Server
npm start
Available Tools
-
gemini_chat - Send a message to Gemini and get a response
- Parameters:
message(required),model(optional, default: gemini-pro)
- Parameters:
-
gemini_generate - Generate content with Gemini using a specific prompt
- Parameters:
prompt(required),model(optional),temperature(optional, 0.0-1.0)
- Parameters:
-
gemini_list_models - List available Gemini models
- No parameters required
Configuration
This MCP server assumes the Gemini CLI is available in your system PATH. Make sure you have:
- Installed the Gemini CLI tool
- Configured your API credentials
- Verified the CLI works by running
gemini --help
Integration with Claude Desktop
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"gemini": {
"command": "node",
"args": ["/path/to/gemini-mcp/index.js"]
}
}
}
Development
npm run dev
This will start the server with file watching for development.
Related Servers
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Codacy
Access the Codacy API to analyze code quality, coverage, and security for your repositories.
MCP Invoice Express
An MCP server for integrating with the InvoiceExpress API.
MCP Rust CLI server template
A Rust template for creating MCP CLI servers, with support for JSON-based prompts, resources, and tools.
UseGrant MCP Server
Interact with the UseGrant API for programmatic access control and permissions management.
Godot RAG
Provides Godot documentation to a RAG model using a vector database.
PureScript MCP Server
An MCP server offering PureScript development tools for AI assistants. Requires Node.js and the PureScript compiler for full functionality.
Gemini Image Generation
Generate images using Google's Gemini API.
ApiCrate API
A hosted API /MCP platform providing developer-friendly JSON endpoints for user-agent parsing, postal code search with spatial queries, country/subdivision lookup, cryptographic hashing, IP geolocation, email risk scoring, and more.
Volatility3 MCP Server
Perform advanced memory forensics analysis using Volatility3 via a conversational interface. Requires user-specified memory dump files.
MCP Vaultwarden Connector
Provides a bridge for scripts and AI agents to interact with a self-hosted Vaultwarden instance.