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.
相关服务器
Alpha Vantage MCP Server
赞助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Metal MCP Server
Search Metal Framework documentation and generate code.
OpenAPI Schema
Exposes OpenAPI schema information to Large Language Models (LLMs). The server loads OpenAPI schema files specified via command line.
Bifrost VSCode Dev Tools
Exposes VSCode dev tools features to MCP clients, with support for project-specific configurations.
Shell Command MCP Server
Execute pre-configured and secure shell commands via a Go-based MCP server.
Clojure MCP
An MCP server providing a complete toolset for Clojure development, requiring a running nREPL server.
YApi
Interact with the YApi platform using natural language for automated interface management.
SeedDream 3.0 FAL
Generate images using Bytedance's SeedDream 3.0 model via the FAL AI platform. Requires a FAL AI API key.
Gemini Imagen 3.0
Generate high-quality images using Google's Imagen 3.0 model via the Gemini API.
TMUX
Lets agents create sessions, split panes, run commands, and capture output with TMUX
MCP Prompt Collector
Tools for logging, analyzing, and improving Claude Desktop prompts to enhance prompt engineering skills.