MCP Gemini Server

Created By
MCP-Mirrora year ago
Mirror of
Overview

What is MCP Gemini Server?

MCP Gemini Server is a dedicated server that wraps the @google/genai SDK, exposing Google's Gemini model capabilities as standard MCP tools. It allows other LLMs or MCP-compatible systems to leverage Gemini's features as a backend workhorse.

How to use MCP Gemini Server?

To use the MCP Gemini Server, you need to install it via Smithery or manually set it up by cloning the project, installing dependencies, building the project, and configuring your MCP client with the server settings.

Key features of MCP Gemini Server?

  • Core text generation capabilities (standard and streaming).
  • Function calling to execute client-defined functions.
  • Stateful chat management across multiple turns.
  • File handling for uploading, listing, retrieving, and deleting files.
  • Caching to optimize prompts and manage cached content.

Use cases of MCP Gemini Server?

  1. Integrating Gemini's text generation capabilities into applications.
  2. Managing conversational AI interactions with stateful chat.
  3. Handling files and caching for efficient data management in AI applications.

FAQ from MCP Gemini Server?

  • What are the prerequisites for using MCP Gemini Server?
    You need Node.js (v18 or later) and an API Key from Google AI Studio.

  • Is there support for Vertex AI credentials?
    No, the server does not support Vertex AI authentication; it only works with Google AI Studio API keys.

  • How do I handle errors?
    The server returns structured errors using the MCP standard McpError type, which includes error codes and messages for troubleshooting.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
MCP-Mirror
Star
0
Language
TypeScript
License
-

Recommend Servers

View All
Payai X402 Tools

2 hours ago
Tavily Mcp
@tavily-ai

JavaScript
a year ago