Skip to main content
Glama
cainmaila

gemini-cli-mcp

by cainmaila

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_CLI_PATHNoPath to the Gemini executablegemini
GEMINI_MODEL_FLAGNoThe flag used to specify the model--model
GEMINI_PROMPT_FLAGNoThe 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/cainmaila/gemini-cli-mcp'

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