Skip to main content
Glama

Gemini CLI MCP Server

by orzcls

ask-gemini

Analyze files, execute scripts, and request AI insights using model selection, sandbox mode, and structured edits. Supports file inclusion (@ syntax) and safe code testing in an isolated environment.

Instructions

model selection [-m], sandbox [-s], and changeMode:boolean for providing edits

Input Schema

NameRequiredDescriptionDefault
changeModeNoEnable structured change mode - formats prompts to prevent tool errors and returns structured edit suggestions that Claude can apply directly
chunkCacheKeyNoOptional cache key for continuation
chunkIndexNoWhich chunk to return (1-based)
modelNoOptional model to use (e.g., 'gemini-2.5-flash'). If not specified, uses the default model (gemini-2.5-pro).
powershellPathNoOptional custom PowerShell executable path (e.g., 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' or 'pwsh'). If not specified, auto-detects available PowerShell.
promptYesAnalysis request. Use @ syntax to include files (e.g., '@largefile.js explain what this does') or ask general questions
sandboxNoUse sandbox mode (-s flag) to safely test code changes, execute scripts, or run potentially risky operations in an isolated environment

Input Schema (JSON Schema)

{ "properties": { "changeMode": { "default": false, "description": "Enable structured change mode - formats prompts to prevent tool errors and returns structured edit suggestions that Claude can apply directly", "type": "boolean" }, "chunkCacheKey": { "description": "Optional cache key for continuation", "type": "string" }, "chunkIndex": { "description": "Which chunk to return (1-based)", "type": [ "number", "string" ] }, "model": { "description": "Optional model to use (e.g., 'gemini-2.5-flash'). If not specified, uses the default model (gemini-2.5-pro).", "type": "string" }, "powershellPath": { "description": "Optional custom PowerShell executable path (e.g., 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe' or 'pwsh'). If not specified, auto-detects available PowerShell.", "type": "string" }, "prompt": { "description": "Analysis request. Use @ syntax to include files (e.g., '@largefile.js explain what this does') or ask general questions", "minLength": 1, "type": "string" }, "sandbox": { "default": false, "description": "Use sandbox mode (-s flag) to safely test code changes, execute scripts, or run potentially risky operations in an isolated environment", "type": "boolean" } }, "required": [ "prompt" ], "type": "object" }
Install Server

Other Tools from Gemini CLI MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/orzcls/gemini-mcp-tool-windows-fixed'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server