Gemini MCP Server
Gemini MCP 服务器
模型上下文协议 (MCP) 服务器实现使 Claude Desktop 能够与 Google 的 Gemini 2.5 Pro Experimental AI 模型进行交互。
特征
全面支持 MCP 协议
Google Gemini 2.5 Pro 实验模型访问
安全 API 密钥处理
Google 搜索集成(可选)
代币使用情况报告
TypeScript 实现
Related MCP server: MCP Gemini Server
可用工具
MCP 服务器提供以下工具:
generateWithGemini - 使用 Google Gemini 2.5 Pro Experimental 生成内容
参数:
prompt(字符串,必需):发送给 Gemini 的提示temperature(数字,可选):温度设置(0.0 至 1.0)maxTokens(数字,可选):最大输出令牌数safeMode(布尔值,可选):为敏感主题启用安全模式useSearch(布尔值,可选):启用 Google 搜索接地工具
getModelInfo - 获取有关正在使用的 Gemini 模型的信息
常见问题
连接问题
检查您是否拥有有效的 API 密钥
安全
API 密钥仅通过环境变量处理
没有记录或存储任何敏感数据
Available Tools
2 toolsgenerateWithGeminiC
Generate content with Gemini 2.5 Pro Experimental (beta API)
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt to send to Gemini | |
| temperature | No | Temperature (0.0 to 1.0) | |
| maxTokens | No | Maximum output tokens | |
| safeMode | No | Enable safe mode for sensitive topics | |
| useSearch | No | Enable Google Search grounding tool |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'beta API' which hints at potential instability, but doesn't describe rate limits, authentication requirements, cost implications, response format, or error behavior. For a generative AI tool with no annotation coverage, this leaves significant gaps in understanding how it behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that gets straight to the point. It's appropriately sized for a tool with good schema documentation, though it could potentially be more front-loaded with key usage information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a generative AI tool with no annotations and no output schema, the description is insufficient. It doesn't explain what the tool returns, error conditions, rate limits, or important behavioral characteristics. The 'beta API' mention provides some context but doesn't compensate for the lack of structured information about this complex tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema. According to guidelines, when schema coverage is high (>80%), the baseline is 3 even with no param info in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the action ('Generate content') and specifies the model ('Gemini 2.5 Pro Experimental'), but it's somewhat vague about what type of content is generated (text, code, etc.) and doesn't clearly differentiate from the sibling tool 'getModelInfo'. The description provides basic purpose but lacks specificity about the resource or output.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus the sibling 'getModelInfo' or any alternatives. It mentions it's a 'beta API' which implies potential instability, but doesn't give explicit when/when-not instructions or prerequisites for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
getModelInfoB
Get information about the Gemini model being used
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While 'Get information' implies a read-only operation, it doesn't specify what kind of information is returned, whether there are rate limits, authentication requirements, or any other behavioral characteristics. The description is minimal and lacks operational context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that gets straight to the point with no wasted words. It's appropriately sized for a simple tool with no parameters and effectively communicates the core purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool with no output schema, the description is minimally adequate but lacks important context. It doesn't explain what information about the model is returned, the format of the response, or how this information might be useful to an agent. The absence of annotations means the description should provide more operational guidance.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters with 100% schema description coverage, so the baseline is 4. The description appropriately doesn't discuss parameters since none exist, which is correct for this tool configuration.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get information') and the target resource ('Gemini model being used'), making the purpose immediately understandable. However, it doesn't distinguish this from its sibling tool 'generateWithGemini' which likely generates content rather than retrieving model metadata.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There's no mention of when this information would be needed, what context it applies to, or how it differs from the sibling 'generateWithGemini' tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
- First observed
generateWithGemini - First observed
getModelInfo
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: generateWithGemini is for content generation, while getModelInfo is for retrieving model metadata. There is no overlap in functionality, making it impossible to confuse them.
Both tools use camelCase naming, which is consistent. However, generateWithGemini uses a verb+preposition+noun pattern, while getModelInfo uses verb+noun, creating a minor deviation in structure.
With only 2 tools, the server feels thin for a Gemini API server, as it lacks operations like listing models, managing conversations, or handling multimodal inputs. The count is borderline for the apparent scope of interacting with a generative AI model.
The tool surface is severely incomplete for a Gemini API server. It only covers content generation and model info, missing essential operations such as chat/completion management, file uploads for multimodal inputs, or configuration settings, which will likely cause agent failures in complex workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseAqualityFmaintenanceModel Context Protocol (MCP) server implementation that enables Claude Desktop to interact with Google's Gemini AI models.622 npm261MIT
- FlicenseNot gradedqualityDmaintenanceA 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.-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server implementation for the Google Gemini language model. This server allows Claude Desktop users to access the powerful reasoning capabilities of Gemini-2.0-flash-thinking-exp-01-21 model.1MIT
- FlicenseNot gradedqualityDmaintenanceA 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.11,775-