Gemini MCP 服务器
模型上下文协议 (MCP) 服务器实现使 Claude Desktop 能够与 Google 的 Gemini 2.5 Pro Experimental AI 模型进行交互。
特征
全面支持 MCP 协议
Google Gemini 2.5 Pro 实验模型访问
安全 API 密钥处理
Google 搜索集成(可选)
代币使用情况报告
TypeScript 实现
可用工具
MCP 服务器提供以下工具:
generateWithGemini - 使用 Google Gemini 2.5 Pro Experimental 生成内容
参数:
prompt
(字符串,必需):发送给 Gemini 的提示temperature
(数字,可选):温度设置(0.0 至 1.0)maxTokens
(数字,可选):最大输出令牌数safeMode
(布尔值,可选):为敏感主题启用安全模式useSearch
(布尔值,可选):启用 Google 搜索接地工具
getModelInfo - 获取有关正在使用的 Gemini 模型的信息
常见问题
连接问题
检查您是否拥有有效的 API 密钥
安全
API 密钥仅通过环境变量处理
没有记录或存储任何敏感数据
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议服务器使 Claude Desktop 能够与 Google 的 Gemini 2.5 Pro Experimental AI 模型进行交互,并具有 Google 搜索集成和令牌使用情况报告等功能。
Related MCP Servers
- -securityAlicense-qualityModel Context Protocol (MCP) server implementation that enables Claude Desktop to interact with Google's Gemini AI models.Last updated -224MIT License
- -securityFlicense-qualityA server implementing the Model Context Protocol that enables AI assistants like Claude to interact with Google's Gemini API for text generation, text analysis, and chat conversations.Last updated -
- -securityFlicense-qualityA Model Context Protocol server that gives Claude access to Google's Gemini 2.5 Pro for extended thinking, code analysis, and problem-solving with a massive context window.Last updated -7,293
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to collaborate with Google's Gemini AI models, providing tools for question answering, code review, brainstorming, test generation, and explanations.Last updated -MIT License