gemini-mcp-tool MCP工具 是 AI Skill Hub 本期精选MCP工具之一。已获得 2.2k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
将Google Gemini CLI集成为MCP服务器的开源工具,使Claude等AI助手能直接调用Gemini能力。支持代码分析、文件处理等功能,适合需要多模型协作的开发者和AI应用构建者。
gemini-mcp-tool MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
将Google Gemini CLI集成为MCP服务器的开源工具,使Claude等AI助手能直接调用Gemini能力。支持代码分析、文件处理等功能,适合需要多模型协作的开发者和AI应用构建者。
gemini-mcp-tool MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/jamubc/gemini-mcp-tool
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"gemini-mcp-tool-mcp--": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 gemini-mcp-tool MCP工具 执行以下任务... Claude: [自动调用 gemini-mcp-tool MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"gemini-mcp-tool_mcp__": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
</div>
📚 View Full Documentation - Search me!, Examples, FAQ, Troubleshooting, Best Practices
This is a simple Model Context Protocol (MCP) server that allows AI assistants to interact with the Gemini CLI. It enables the AI to leverage the power of Gemini's massive token window for large analysis, especially with large files and codebases using the @ syntax for direction.
<a href="https://glama.ai/mcp/servers/@jamubc/gemini-mcp-tool"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@jamubc/gemini-mcp-tool/badge" alt="Gemini Tool MCP server" /> </a>
<details> <summary>🚀 <strong>Important: Gemini CLI is retired. This tool now defaults to Antigravity CLI (agy)</strong></summary>
On 2026-06-18, Google retired the Gemini CLI for free, Google AI Pro, and Google AI Ultra users (and individual Gemini Code Assist / GitHub-org users). Its successor is the Antigravity CLI (agy). See Google's announcement.
From 2026-06-18 this tool selects the agy backend automatically. If you are on an affected tier, just install agy:
curl -fsSL https://antigravity.google/cli/install.sh | bash # macOS / Linux
Then run agy once to sign in. Nothing else to change.
Enterprise / Standard-license or paid-API-key user? Your Gemini CLI access is unaffected by the retirement. To keep using it, set one env var on the MCP server:
GEMINI_MCP_BACKEND=gemini
| Variable | Purpose |
|---|---|
GEMINI_MCP_BACKEND | gemini or agy/antigravity. Unset uses the date-aware default (agy from 2026-06-18). |
AGY_CLI_PATH | Full path to the agy binary if it isn't on the server's PATH. |
GEMINI_MCP_TIMEOUT | Overall CLI run timeout in minutes (default 45). |
The agy backend is experimental: print mode is Gemini 3.5 Flash-only, replies come from agy's stdout (transcript recovery only as a fallback), and tool execution isn't sandboxed in -p. The tool emits a notice when a requested model/sandbox can't be honored, and surfaces agy's own errors (quota, auth) verbatim. Full analysis: docs/migration/antigravity-cli.md.
</details>
Before using this tool, ensure you have:
claude mcp add gemini-cli -- npx -y gemini-mcp-tool
<details> <summary>For Windows users</summary>
Use -- y instead of -y:
claude mcp add gemini-cli -- npx -- y gemini-mcp-tool
</details>
Type /mcp inside Claude Code to verify the gemini-cli MCP is active.
---
If you installed globally, use this configuration instead:
{
"mcpServers": {
"gemini-cli": {
"command": "gemini-mcp"
}
}
}
Configuration File Locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/claude/claude_desktop_config.jsonAfter updating the configuration, restart your terminal session.
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
}
}
/gemini-cli and commands will populate in Claude Code's interface.Register the MCP server with your MCP client:
ask gemini to analyze @src/main.js and explain what it doesuse gemini to summarize @. the current directoryanalyze @package.json and tell me about dependenciesIf you already have it configured in Claude Desktop:
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
claude mcp add-from-claude-desktop
ask gemini to search for the latest tech newsuse gemini to explain div centeringask gemini about best practices for React development related to @file_im_confused_aboutGemini MCP 工具是用于管理 Google Gemini CLI 的工具,提供了方便的命令行接口和配置选项。
在使用此工具之前,请确保您已安装并配置了 Node.js (v16.0.0 或更高版本) 和 Google Gemini CLI。
安装 Gemini MCP 工具有两种方式:一是使用一行命令 `claude mcp add gemini-cli -- npx -y gemini-mcp-tool`,二是全局安装并配置 `claude_desktop_config.json` 文件。
使用 Gemini MCP 工具的推荐方式是通过 NPX,需要在 Claude Desktop 配置文件中添加配置项 `mcpServers` 和 `command`。
配置 Gemini MCP 工具需要注册 MCP 服务器并配置 MCP 客户端,具体配置项包括 `mcpServers` 和 `command`。
Gemini MCP 工具提供了多种 API 接口,包括使用文件引用(@语法)和不使用文件引用两种方式,例如 `ask gemini to analyze @src/main.js` 和 `use gemini to search for the latest tech news`。
Gemini MCP 工具的常见问题包括如何使用 Gemini CLI、如何配置 MCP 服务器和客户端、以及如何使用 API 接口等。
创新的MCP工具,实现了Gemini与Claude等AI的互联互通,技术方案清晰,社区活跃度高,填补了多模型协作空白。
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,gemini-mcp-tool MCP工具 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | gemini-mcp-tool |
| 原始描述 | 开源MCP工具:MCP server that enables AI assistants to interact with Google Gemini CLI, levera。⭐2.2k · TypeScript |
| Topics | MCP服务器Gemini集成AI协作CLI工具代码分析 |
| GitHub | https://github.com/jamubc/gemini-mcp-tool |
| License | NOASSERTION |
| 语言 | TypeScript |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端