bsmi021_mcp-gemini-server
The MCP Gemini Server is designed to integrate Google's Gemini model capabilities into MCP-compatible environments, providing text generation, function calls, and chat management. It requires Node.js and a Google AI Studio API key for full functionality.
MCP Gemini Server
Overview
The MCP Gemini Server is a dedicated MCP server that integrates with the @google/genai
SDK to provide access to Google's Gemini model capabilities via MCP tools like Cline. It simplifies integration by offering a consistent, tool-based interface.
Features
- Core and streaming text generation.
- Function calling to execute client-defined functions.
- Stateful chat management.
- File handling capabilities (requires Google AI Studio API key).
- Caching support for optimizing prompts.
Prerequisites
- Node.js (v18 or later).
- API Key from Google AI Studio.
Installation
Install via Smithery or manually by cloning the project, installing dependencies, building the project, and configuring your MCP client.
Configuration
Utilizes environment variables for API key and optional default model configuration.
Tools
Offers tools for text generation, function calling, stateful chat, file handling, and caching.