
Gemini MCP Server
โ 5from blesscat
An MCP server for interacting with Google's Gemini models through the Gemini CLI.
๐ฅ๐ฅโ VerifiedFreeQuick setup
Gemini MCP Server
An MCP (Model Context Protocol) server that provides integration with the Gemini CLI tool.
Development
npm run devThis will start the server with file watching for development.
Copy & paste โ that's it
npm installPrerequisites
- Node.js 18+
- Gemini CLI tool installed and configured
Installation
npm installUsage
Running the MCP Server
npm startAvailable 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"]
}
}
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.