bsmi021_mcp-gemini-server
If you are the rightful owner of bsmi021_mcp-gemini-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP Gemini Server is a dedicated MCP server that wraps the @google/genai SDK, exposing Google's Gemini model capabilities as standard MCP tools.
The MCP Gemini Server is designed to simplify the integration of Google's Gemini models by providing a consistent, tool-based interface managed via the MCP standard. It allows other LLMs or MCP-compatible systems to leverage Gemini's features as a backend workhorse. The server supports core text generation, function calling, stateful chat, file handling, and caching, making it a versatile tool for developers looking to integrate advanced AI capabilities into their applications. The server requires Node.js and an API Key from Google AI Studio, with specific features only available with Google AI Studio API keys.
Features
- Core Generation: Standard and streaming text generation using Gemini models.
- Function Calling: Allows Gemini models to request execution of client-defined functions.
- Stateful Chat: Manages conversational context across multiple turns.
- File Handling: Upload, list, retrieve, and delete files using the Gemini API.
- Caching: Create, list, retrieve, update, and delete cached content to optimize prompts.
Tools
gemini_generateContent
Generates non-streaming text content from a prompt.
gemini_generateContentStream
Generates text content via streaming.
gemini_functionCall
Sends a prompt and function declarations to the model.
gemini_startChat
Initiates a new stateful chat session.
gemini_sendMessage
Sends a message within an existing chat session.
gemini_sendFunctionResult
Sends the result of a function execution back to a chat session.
gemini_uploadFile
Uploads a file from a local path.
gemini_listFiles
Lists previously uploaded files.
gemini_getFile
Retrieves metadata for a specific uploaded file.
gemini_deleteFile
Deletes an uploaded file.
gemini_createCache
Creates cached content for compatible models.
gemini_listCaches
Lists existing cached content.
gemini_getCache
Retrieves metadata for specific cached content.
gemini_updateCache
Updates metadata for cached content.
gemini_deleteCache
Deletes cached content.