GemForge-Gemini-Tools-MCP

Integrations

  • Provides specialized tools for interacting with Google's Gemini AI models, featuring intelligent model selection based on task type, advanced file handling capabilities, and optimized prompts for different use cases such as search, reasoning, code analysis, and file operations.

GemForge(Gemini 工具)

GemForge-Gemini-Tools-MCP :企业级 Gemini 集成,适用于您常用的 MCP 代理。增强 Claude、Roo Code 和 Windsurf 的功能,提供代码库分析、实时搜索、文本/PDF/图像处理等功能。

快速导航

为什么选择 GemForge?

GemForge 是 Google Gemini AI 与 MCP 生态系统之间的重要桥梁:

  • 实时网络访问:使用gemini_search获取突发新闻、市场趋势和当前数据
  • 高级推理:通过gemini_reason逐步思考处理复杂的逻辑问题
  • 代码精通:使用gemini_code分析完整存储库、生成解决方案和调试代码
  • 多文件处理:使用gemini_fileops处理 60 多种文件格式,包括 PDF、图像等
  • 智能模型选择:自动为每个任务路由到最佳的 Gemini 模型
  • 企业级:强大的错误处理、速率限制管理和 API 回退机制

快速入门

单行安装

npx @gemforge/mcp-server@latest init

手动设置

  1. 创建配置文件( claude_desktop_config.json ):
{ "mcpServers": { "GemForge": { "command": "node", "args": ["./dist/index.js"], "env": { "GEMINI_API_KEY": "your_api_key_here" } } } }
  1. 安装并运行:
npm install gemforge-mcp npm start

观看 30 秒设置演示 →

重载可靠性

GemForge 专为生产环境而构建:

  • 支持 60 多种文件类型:处理从代码到文档到图像的所有内容
  • 自动模型回退:即使在速率限制或服务中断期间也能继续运行
  • 企业级错误日志:详细的诊断,用于故障排除
  • API 弹性:指数退避、重试逻辑和无缝模型切换
  • 完整的存储库支持:使用可配置的包含/排除模式分析整个代码库
  • XML内容处理:针对结构化数据的专门处理

关键工具

工具描述关键能力
gemini_search网络连接信息检索实时数据访问
gemini_reason通过逐步逻辑解决复杂问题透明的推理过程
gemini_code深度代码理解和生成完整的存储库分析
gemini_fileops跨 60 多种格式的多文件处理文档比较与转换
{ "toolName": "gemini_search", "toolParams": { "query": "Latest advancements in quantum computing", "enable_thinking": true } }
{ "toolName": "gemini_code", "toolParams": { "question": "Identify improvements and new features", "directory_path": "path/to/project", "repomix_options": "--include \"**/*.js\" --no-gitignore" } }
{ "toolName": "gemini_fileops", "toolParams": { "file_path": ["contract_v1.pdf", "contract_v2.pdf"], "operation": "analyze", "instruction": "Compare these contract versions and extract all significant changes." } }

配置

GemForge 提供灵活的配置选项:

GEMINI_API_KEY=your_api_key_here # Required: Gemini API key GEMINI_PAID_TIER=true # Optional: Set to true if using paid tier (better rate limits) DEFAULT_MODEL_ID=gemini-2.5-pro # Optional: Override default model selection LOG_LEVEL=info # Optional: Set logging verbosity (debug, info, warn, error)
{ "mcpServers": { "GemForge": { "command": "node", "args": ["./dist/index.js"], "env": { "GEMINI_API_KEY": "your_api_key_here" } } } }

GemForge 为每个任务智能选择最佳模型:

  • gemini_search :使用gemini-2.5-flash来提高速度并进行搜索集成
  • gemini_reason :使用gemini-2.5-pro实现深度推理能力
  • gemini_code :使用gemini-2.5-pro来理解复杂的代码
  • gemini_fileops :根据文件大小在gemini-2.0-flash-litegemini-1.5-pro之间进行选择

在任何工具调用中使用model_id参数覆盖或设置DEFAULT_MODEL_ID环境变量。

部署

Smithery.ai

通过Smithery.ai一键部署

Docker

docker run -e GEMINI_API_KEY=your_api_key ghcr.io/pv-bhat/gemforge:latest

自托管

使用我们的MCP.so 目录列表获取集成说明。

GemForge 有何独特之处?

  • 跨生态系统的力量:将谷歌的人工智能与 Claude 和其他 MCP 代理连接起来
  • 多文件分析:比较文档、图像或代码版本
  • 智能路由:根据任务需求自动选择模型
  • 生产就绪:专为企业环境打造

社区与支持

文档

请访问我们的文档网站以获取:

  • 高级使用教程
  • API 参考
  • 故障排除提示

执照

根据 MIT 许可证授权。详情请参阅许可证

致谢

Gemini API提供支持并受到模型上下文协议的启发。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP 服务器为您的代理提供企业级 Gemini 集成,以便在您最喜欢的 MCP 客户端上进行代码库分析、实时搜索、文本/PDF/图像处理等。

  1. 快速导航
    1. 为什么选择 GemForge?
      1. 快速入门
        1. 单行安装
        2. 手动设置
      2. 重载可靠性
        1. 关键工具
          1. 配置
            1. 部署
              1. Smithery.ai
              2. Docker
              3. 自托管
            2. GemForge 有何独特之处?
              1. 社区与支持
                1. 文档
                  1. 执照
                    1. 致谢

                      Related MCP Servers

                      • -
                        security
                        A
                        license
                        -
                        quality
                        The ultimate Gemini API interface for MCP hosts, intelligently selecting models for the task at hand—delivering optimal performance, minimal token cost, and seamless integration.
                        Last updated -
                        6
                        TypeScript
                        MIT License
                      • A
                        security
                        A
                        license
                        A
                        quality
                        A metacognitive pattern interrupt system that helps prevent AI assistants from overcomplicated reasoning paths by providing external validation, simplification guidance, and learning mechanisms.
                        Last updated -
                        3
                        39
                        TypeScript
                        MIT License
                        • Apple
                      • -
                        security
                        -
                        license
                        -
                        quality
                        An MCP server implementation that allows using Google's Gemini AI models (specifically Gemini 1.5 Pro) through Claude or other MCP clients via the Model Context Protocol.
                        Last updated -
                        1
                        JavaScript

                      View all related MCP servers

                      ID: lv5jlwc49z