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
Devvit
A companion server for building applications on Reddit's developer platform.
BlenderMCP
Connects Blender to Claude AI via the Model Context Protocol (MCP), enabling direct interaction and control for prompt-assisted 3D modeling, scene creation, and manipulation.
NmapMCP
Integrates the Nmap network scanning tool with MCP, enabling network scanning capabilities within MCP-compatible environments.
Ref
Up-to-date documentation for your coding agent. Covers 1000s of public repos and sites. Built by ref.tools
Chainlink Feeds
Provides real-time access to Chainlink's decentralized on-chain price feeds.
MCP Gateway
A feature-rich gateway and proxy that federates MCP and REST services, unifying discovery, authentication, rate-limiting, and observability into a single endpoint for AI clients.
MicroShift Test Analyzer
Analyzes MicroShift test failures from Google Sheets to correlate them with specific MicroShift versions.
Textin MCP Server
Extracts text and performs OCR on various documents like IDs and invoices, with support for Markdown conversion.
Projet MCP Server-Client
An implementation of the Model Context Protocol (MCP) for communication between AI models and external tools, featuring server and client examples in Python and Spring Boot.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.