@el-el-san/gemini-mcp
v1.0.1
Published
MCP server for Google Gemini API integration
Downloads
11
Maintainers
Readme
Gemini MCP Server
Model Context Protocol (MCP) server for Google Gemini API integration.
Installation
Install directly from GitHub using npx:
npx @el-el-san/gemini-mcpOr install globally:
npm install -g @el-el-san/gemini-mcpConfiguration
1. Set Environment Variable
Set your Gemini API key:
export GEMINI_API_KEY="your-gemini-api-key-here"2. MCP Client Configuration
Add to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"gemini": {
"command": "npx",
"args": ["@el-el-san/gemini-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}Available Tools
gemini_chat: Chat with Gemini modelsget_conversation_history: Retrieve conversation historyanalyze_media: Analyze images and videos with Gemini vision
Usage
Once configured, the Gemini tools will be available in your MCP client.
Example Chat
User: Tell me about the weather
Gemini: I can help you with weather information, but I'll need you to specify a location...Example Media Analysis
User: Analyze this image: /path/to/image.jpg
Gemini: This image shows...Requirements
- Node.js 18+
- Gemini API key from Google AI Studio
License
MIT
