MCP server
by orzcls
Gemini CLI (Windows Fixed): Enhanced Windows CLI tool with PowerShell, multi-model support, sandboxed code, and advanced
A Windows-compatible MCP server that integrates with Google's Gemini CLI through PowerShell, fixing encoding and compatibility issues for AI assistants on Windows systems.
Gemini CLI (Windows Fixed) is a community-built MCP server published by orzcls that provides AI assistants with tools and capabilities via the Model Context Protocol. Gemini CLI (Windows Fixed): Enhanced Windows CLI tool with PowerShell, multi-model support, sandboxed code, and advanced It is categorized under ai ml, developer tools.
You can install Gemini CLI (Windows Fixed) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Gemini CLI (Windows Fixed) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Gemini CLI (Windows Fixed) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Useful MCP listing: Gemini CLI (Windows Fixed) is the kind of server we cite when onboarding engineers to host + tool permissions.
Gemini CLI (Windows Fixed) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
We evaluated Gemini CLI (Windows Fixed) against two servers with overlapping tools; this profile had the clearer scope statement.
We wired Gemini CLI (Windows Fixed) into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Gemini CLI (Windows Fixed) is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Useful MCP listing: Gemini CLI (Windows Fixed) is the kind of server we cite when onboarding engineers to host + tool permissions.
Gemini CLI (Windows Fixed) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
According to our notes, Gemini CLI (Windows Fixed) benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Gemini CLI (Windows Fixed) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
showing 1-10 of 42
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.
powershellPath parameter allowing users to customize PowerShell executable pathspawn powershell.exe ENOENT issueargs variable issue in executeCommandWithPipedInput function@filename syntaxThis Windows-fixed version resolves:
Before using this tool, ensure you have:
node --version # Should be v16+
npm install -g @google/generative-ai-cli
# Verify installation
gemini --version
# 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
# Install latest version
npm install -g gemini-mcp-tool-windows-fixed@1.0.21
# Run the tool
gemini-mcp-tool-windows-fixed
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
# 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>
If you already have it configured in Claude Desktop:
claude mcp add-from-claude-desktop
%APPDATA%\Trae\User\mcp.json{
"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"
}
}
}
%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool-windows-fixed@1.0.21"],
"env": {
"GEMINI_API_KEY": "YOUR_ACTUAL_API_KEY_HERE"
}
}
}
}
Replace YOUR_ACTUAL_API_KEY_HERE in the configuration above with your actual API key.
# 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
Claude Desktop:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/claude/claude_desktop_config.jsonTrae AI:
%APPDATA%\Trae\User\mcp.jsonThis MCP server provides the following tools for AI assistants:
ask-geminiInteract with Google Gemini for analysis and questions.
Parameters:
prompt (required): The analysis request. Use @ syntax for file referencesmodel (optional): Gemini model to use (default: gemini-2.5-pro)sandbox (optional): Enable sandbox mode for safe code executionchangeMode (optional): Enable structured change modechunkIndex (optional): Chunk index for continuationchunkCacheKey (optional): Cache key for continuationbrainstormGenerate creative ideas using various brainstorming frameworks.
Parameters:
prompt (required): Brainstorming challenge or questionmodel (optional): Gemini model to usemethodology (optional): Framework (divergent, convergent, scamper, design-thinking, lateral, auto)domain (optional): Domain context (software, business, creative, etc.)constraints (optional): Known limitations or requirementsexistingContext (optional): Background informationideaCount (optional): Number of ideas to generate (default: 12)includeAnalysis (optional): Include feasibility analysis (default: true)fetch-chunkRetrieve cached chunks from changeMode responses.
Parameters:
cacheKey (required): Cache key from initial responsechunkIndex (required): Chunk index to retrieve (1-based)timeout-testTest timeout prevention mechanisms.
Parameters:
duration (required): Duration in milliseconds (minimum: 10ms)pingTest connection to the server.
Parameters:
prompt (optional): Message to echo backHelpDisplay help information about available tools.
Once configured, you can use the following tools through your MCP client:
With File References (using @ syntax):
General Questions (without files):
Using Gemini CLI's Sandbox Mode (-s): <mcreference link="https://github.com/jamubc/gemini-mcp-tool" index="2">2</mcreference> The sandbox mode allows you to safely test code changes, run scripts, or execute potentially risky operations in an isolated environment.
You can use these commands directly in Claude Code's interface (compatibility with other clients has not been tested):
prompt (required): The analysis prompt. Use @ syntax to include files (e.g., `/analyze prompt:@src/ summaPrerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.