
Gemini
STDIOGemini CLI集成的MCP服务器
Gemini CLI集成的MCP服务器
An MCP (Model Context Protocol) server that provides integration with the Gemini CLI tool.
npm install
npm start
gemini_chat - Send a message to Gemini and get a response
message
(required), model
(optional, default: gemini-pro)gemini_generate - Generate content with Gemini using a specific prompt
prompt
(required), model
(optional), temperature
(optional, 0.0-1.0)gemini_list_models - List available Gemini models
This MCP server assumes the Gemini CLI is available in your system PATH. Make sure you have:
gemini --help
Add this to your Claude Desktop configuration:
{ "mcpServers": { "gemini": { "command": "node", "args": ["/path/to/gemini-mcp/index.js"] } } }
npm run dev
This will start the server with file watching for development.