MCP Gemini Server
@amitsh06
MCP Gemini Server について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-amitsh06": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Gemini Server?
MCP Gemini Server is an implementation of the Model Context Protocol (MCP) that enables AI assistants like Claude to interact with Google's Gemini API. It allows AI assistants to request text generation, text analysis, and maintain chat conversations through the Gemini API.
How to use MCP Gemini Server?
Install Python 3.7+ and obtain a Google AI API key. Clone the repository, create a virtual environment, install dependencies, and set your API key in a .env file as GEMINI_API_KEY. Start the server with python server.py, then send POST requests to the /mcp endpoint with a JSON payload containing the action and parameters.
Key features of MCP Gemini Server
- Implements MCP protocol for secure message exchange.
- Generates text via Gemini with configurable temperature and max tokens.
- Analyzes text for sentiment, summary, keywords, or general analysis.
- Supports multi-turn chat conversations with Gemini.
- Uses .env file for secure API key storage.
- Provides health check and model listing endpoints.
Use cases of MCP Gemini Server
- AI assistants generating creative content like poems or stories.
- Analyzing sentiment of user-provided text.
- Conducting interactive Q&A sessions with context.
- Summarizing documents or extracting keywords.
- Enabling Claude to leverage Gemini's text capabilities.
FAQ from MCP Gemini Server
What actions does MCP Gemini Server support?
It supports three actions: generate_text, analyze_text, and chat.
What parameters are required for text generation?
You must provide a prompt. Optional parameters include temperature (0.0 to 1.0) and max_tokens.
What analysis types are available?
The analysis_type parameter can be 'sentiment', 'summary', 'keywords', or 'general'.
How do I start the server?
Run python server.py after installing dependencies and setting your GEMINI_API_KEY in a .env file.
What HTTP endpoints does the server expose?
It exposes GET /health, GET /list-models, and POST /mcp as the main endpoint for MCP requests.
「AI とエージェント」の他のコンテンツ
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
コメント