gemini-cli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_CLI_PATH | No | Path to the Gemini executable | gemini |
| GEMINI_MODEL_FLAG | No | The flag used to specify the model | --model |
| GEMINI_PROMPT_FLAG | No | The flag used for passing prompts | -p |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| executeImageTaskA | Uses the nanobanana extension to generate images and returns saved image paths plus execution metadata. |
| inspectGeminiCliA | Lists the currently available Gemini CLI commands, extensions, skills, configured MCP servers, and an optional model-reported tool summary. |
| executeTaskC | AI-friendly task interface. Accepts a task description and returns a direct, meaningful final answer plus execution metadata. |
| executePromptB | Runs a non-interactive prompt through the locally installed Gemini CLI and returns the final result plus execution metadata. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
executeTask and executePrompt overlap heavily: both accept text input and return results plus metadata, with only vague wording about 'task' versus 'prompt' to distinguish them. executeImageTask and inspectGeminiCli are clearly distinct, but the two execution tools create real selection ambiguity.
Three tools follow an execute* pattern and one uses inspect*, all in consistent camelCase. The pattern is readable and predictable, with the minor deviation being 'inspectGeminiCli' referring to a product rather than a generic action object.
Four tools is well-scoped for a Gemini CLI wrapper: prompt execution, task execution, image generation, and introspection. Each tool earns its place without unnecessary bloat.
The set covers the primary workflows of running prompts, executing tasks, generating images, and inspecting the CLI environment. Minor gaps exist around configuration or extension management, but the core use cases are well covered.