Integrations
Optional Google Search integration for grounding AI responses in factual information
Provides access to Google Gemini 2.5 Pro Experimental model for content generation with customizable parameters like temperature and token limits
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
模型上下文协议服务器使 Claude Desktop 能够与 Google 的 Gemini 2.5 Pro Experimental AI 模型进行交互,并具有 Google 搜索集成和令牌使用情况报告等功能。