PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serverscommunicationgemini-mcp-tool的windows版本
返回「communication」

gemini-mcp-tool的windows版本

modelscope·orzcls/gemini-mcp-tool-windows

communication0下载HostedModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

🚀 Gemini MCP Tool - Windows Fixed Version

这个 MCP 能让 AI 与Google Gemini CLI 进行交互。

通过利用 Gemini 的强大分析能力,这个工具可以处理大型文件和代码库,尤其适合需要大量上下文理解的场景。 npm version License: MIT

Latest Version v1.0.21 - Fixed cross-terminal compatibility issues and fetch-chunk format errors

A Windows-compatible Model Context Protocol (MCP) server that enables AI assistants to interact with Google's Gemini CLI. This is a fixed version specifically designed to work seamlessly on Windows environments with PowerShell support.

Note: This is an enhanced version of the original gemini-mcp-tool with Windows-specific fixes and improvements.

🆕 Latest Updates (v1.0.21)

  • 🔧 Fixed Cross-Terminal Compatibility - Resolved Node.js path not found issues in different terminal environments
  • 📦 Fixed fetch-chunk Format Error - Fixed MCP protocol format mismatch in chunked responses
  • 🛡️ Enhanced PATH Environment Variable Handling - Automatically adds common Node.js installation paths
  • ✅ Full Compatibility with All Terminals - Supports PowerShell, CMD, VS Code Terminal, Trae AI, CherryStudio, etc.
  • 🚀 Improved Error Handling - Better error messages and debug output

v1.0.3 Updates

  • 🆕 PowerShell Path Parameter Support - Added optional powershellPath parameter allowing users to customize PowerShell executable path
  • ✅ Fixed PowerShell Execution Error - Resolved spawn powershell.exe ENOENT issue
  • ✅ Improved Windows Compatibility - Automatic detection of available PowerShell versions
  • ✅ Fixed Undefined Variable Error - Fixed args variable issue in executeCommandWithPipedInput function
  • ✅ Enhanced Error Handling - Better error messages and debug output
  • ✅ Backward Compatibility - Existing configurations require no modification, automatically uses default detection logic

✨ Features

  • 🪟 Windows Compatible: Full PowerShell support with Windows-specific path handling
  • 📊 Large Context Window: Leverage Gemini's massive token window for analyzing entire codebases
  • 📁 File Analysis: Analyze files using @filename syntax
  • 🔒 Sandbox Mode: Safe code execution environment
  • 🔗 MCP Integration: Seamless integration with MCP-compatible AI assistants (Trae AI, Claude Desktop)
  • ⚡ NPX Ready: Easy installation and usage with NPX
  • 🔧 Environment Variable Support: Flexible API key configuration

This Windows-fixed version resolves:

  • PowerShell parameter passing issues
  • Character encoding problems with Chinese/Unicode text
  • Command line argument escaping on Windows
  • Environment variable handling

📋 Prerequisites

Before using this tool, ensure you have:

  1. Node.js (v16.0.0 or higher)
    node --version  # Should be v16+
    
  2. Google Gemini CLI installed and configured
    npm install -g @google/generative-ai-cli
    
    # Verify installation
    gemini --version
    
  3. API Key: Get your API key from Google AI Studio

📦 Installation

Quick Start with NPX (Recommended)

# Use latest version (recommended)
npx gemini-mcp-tool-windows-fixed@1.0.21

# Or use latest version tag
npx -y gemini-mcp-tool-windows-fixed@latest

Global Installation

# Install latest version
npm install -g gemini-mcp-tool-windows-fixed@1.0.21

# Run the tool
gemini-mcp-tool-windows-fixed

Updating Existing Installation

If you previously installed an older version:

# Uninstall old version and install latest
npm uninstall -g gemini-mcp-tool-windows-fixed
npm cache clean --force
npm install -g gemini-mcp-tool-windows-fixed@1.0.21

⚙️ MCP Client Configuration

Claude Code (One-Line Setup)

# One-command setup for Claude Code
claude mcp add gemini-cli -- npx -y gemini-mcp-tool-windows-fixed@1.0.21

Verify Installation: Type /mcp inside Claude Code to verify the gemini-cli MCP is active. <mcreference link="https://github.com/jamubc/gemini-mcp-tool" index="1">1</mcreference>

Alternative: Import from Claude Desktop

If you already have it configured in Claude Desktop:

  1. Add to your Claude Desktop config (see below)
  2. Import to Claude Code:
    claude mcp add-from-claude-desktop
    

Trae AI (Recommended)

  1. Open: %APPDATA%\Trae\User\mcp.json
  2. Add this configuration:
{
  "mcpServers": {
    "gemini-cli": {
      "name": "gemini-cli",
      "description": "Windows-compatible Gemini MCP Tool",
      "baseUrl": "",
      "command": "npx",
      "args": [
        "-y",
        "gemini-mcp-tool-windows-fixed@1.0.21"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_ACTUAL_API_KEY_HERE"
      },
      "isActive": true,
      "providerUrl": "https://github.com/orzcls/gemini-mcp-tool-windows-fixed"
    }
  }
}

Claude Desktop

  1. Open: %APPDATA%\Claude\claude_desktop_config.json
  2. Add this configuration:
{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": ["-y", "gemini-mcp-tool-windows-fixed@1.0.21"],
      "env": {
        "GEMINI_API_KEY": "YOUR_ACTUAL_API_KEY_HERE"
      }
    }
  }
}

🔑 API Key Configuration

Option 1: MCP Configuration (Recommended)

Replace YOUR_ACTUAL_API_KEY_HERE in the configuration above with your actual API key.

Option 2: Environment Variable

# Temporary (current session)
$env:GEMINI_API_KEY = "your-actual-api-key"

# Permanent (user level)
[Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "your-actual-api-key", "User")

# Verify
echo $env:GEMINI_API_KEY

Configuration File Locations

**…

相关 MCP Servers(来自「communication」)

【稳定版】12306MCP火车票服务

一个为大型语言模型(LLM)设计的、高可用的12306余票查询工具服务,现已搭载智能会话管理引擎。 12306-MCP-Server 将复杂的12306余票查询接口封装为符合 Model Context Protocol (MCP) 规范的工具集,允许AI Agent通过自然语言无缝查询实时火车票、中转换乘和经停站信息。 从 v1.0.0 版本开始,项目引入了全新的智能会话管理系统,通过会话池、动态User-Agent轮换和自动错误恢复机制,将服务的稳定性与反屏蔽能力提升至全新高度。

Alphar/Railway-Real-Time-MCP-Server

福昕Cloud-API

福昕PDF服务API提供了一个基于云的REST API,允许通过HTTP客户端处理PDF文件。它提供了丰富的功能,适合集成到各种应用程序中。 📌 主要特性: PDF创建与转换 从Word、Excel和PowerPoint等格式创建PDF文件。 将PDF文件转换为其他格式,包括HTML、Word和图像。 PDF合并与拆分 将多个PDF文件合并成一个文档。 将单个PDF文件拆分成多个文档。 PDF压缩与优化 通过图像压缩、文档展平和线性化来减小文件大小。 PDF安全 支持密码保护、权限控制和高级加密以确保文档安全。 如何快速与MCP(多功能云平台)集成? 📖 集成文档: 服务API集成指南: https://cloudapi.fuxinsoft.cn/zh-CN/docs/services/guide MCP初学者教程: https://cloudapi.fuxinsoft.cn/zh-CN/docs/services/mcp…

@Foxit/mcp-server-foxit-cloudapi

快递100 MCP Server

快递100 MCP Server提供快递信息查询、快递运费预估比价、快递时效查询(含发货前时效查询与在途动态时效查询)等功能。

kuaidi100/kuaidi100-mcp

墨刀AI-MCP

基于Model Context Protocol的原型生成功能服务,专注于HTML代码生成、设计描述生成和HTML导入功能。

mockingbot/modao-proto-mcp

数学精灵计算器

暂无描述。

stormcloud/math_genie_calc

思维导图 MCP

一个用于生成思维导图的 MCP (Model Context Protocol) 服务器。 看起来您的请求中没有提供具体的英文技术文档内容以供翻译。如果您能分享更多详细信息或具体段落,我将能够帮助您将其准确地翻译成中文,同时保留代码块、链接、格式结构和专业术语的准确性。请提供需要翻译的具体文本。

WEIAIb/mind-map-mcp

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/orzcls-gemini-mcp-tool-windows/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

2. **[Google Gemini CLI](https://github.com/google-gemini/gemini-cli)** installed and **configured** ```powershell npm install -g @google/generative-ai-cli # Verify installation gemini --version

基本信息

分类
communication / developer-tools / search
运行方式
Yes
许可证
MIT License
详情文件
orzcls-gemini-mcp-tool-windows.md