MCP server intelligence profile

gemini-cli-mcp Server

Enables AI assistants to delegate complex tasks to the local Gemini CLI, returning structured results with execution metadata

Local Onlycainmaila
Awaiting current scanNpm · 1.0.1

The selected current version does not yet have completed public verification. Unknown does not mean clean or vulnerable.

1Distribution channel
4Independently observed tools
0Linked remote endpoints
AvailableVersion intelligence

Detailed security scan evidence is not public for this MCP yet. Public identity, registry metadata, and independently observed protocol inventory remain available.

Install and connect

Installation and connection instructions are shown only when supported by retained package, repository, or endpoint evidence.

Install @cainmaila/gemini-cli-mcp from npm

Version 1.0.1 declares 1 executable entrypoint.

npm install --save-exact @cainmaila/gemini-cli-mcp@1.0.1
npx -y -p @cainmaila/gemini-cli-mcp@1.0.1 @cainmaila/gemini-cli-mcp
MCP client configuration example
{
  "mcpServers": {
    "@cainmaila/gemini-cli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@cainmaila/gemini-cli-mcp@1.0.1",
        "@cainmaila/gemini-cli-mcp"
      ]
    }
  }
}

Identity

Canonical sluggemini-cli-mcp-ed682ce9DeploymentLocal Only
Canonical packagenpm:@cainmaila/gemini-cli-mcpRepositorycainmaila/gemini-cli-mcp
First publishedLatest release
Last security verificationClassification confidence90%
PublicationDraftOfficial distributionNot verified

Distributions

ChannelIdentifierCurrent versionVersionsSource
npm@cainmaila/gemini-cli-mcp1.0.11Repository

Current release

PackageVersionPublished / observedInventorySecurity scan
npm@cainmaila/gemini-cli-mcp1.0.1CurrentSep 5, 20264 toolsSucceeded · 0 resources · 0 promptsEvidence restricted
Enterprise protection

Continuously monitor this MCP for security risk

Independently scan the exact version your agents use, receive alerts when its risk changes, and investigate every finding with retained version evidence.

  • Independent exact-version security scans
  • Continuous release and vulnerability monitoring
  • Risk-change alerts with capability context
  • Historical evidence and API exports
Custom pricingContact salesTailored to your organization, integrations, data needs, and support requirements.

Current version evidence

No public current-version evidence is available yet.

Current protocol inventory

2025-06-18Negotiated protocol
gemini-cli-mcpServer-reported name
1Capability groups
Aug 22, 2026Observed

Tools 4

ToolCategoryAnnotationsRisk
executeImageTaskUses the nanobanana extension to generate images and returns saved image paths plus execution metadata.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "Image generation prompt for the nanobanana extension"
    },
    "count": {
      "description": "Optional number of images to generate",
      "type": "integer",
      "minimum": 1,
      "maximum": 8
    },
    "styles": {
      "description": "Optional style names passed to nanobanana",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "variations": {
      "description": "Optional variation names passed to nanobanana",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "cwd": {
      "description": "Optional working directory for generated image output",
      "type": "string",
      "minLength": 1
    },
    "timeoutMs": {
      "description": "Optional timeout in milliseconds",
      "type": "integer",
      "minimum": 1000,
      "maximum": 600000
    },
    "approvalMode": {
      "description": "Optional Gemini CLI approval mode. Defaults to yolo for nanobanana.",
      "type": "string",
      "enum": [
        "default",
        "auto_edit",
        "yolo",
        "plan"
      ]
    }
  },
  "required": [
    "prompt"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "responseText": {
      "type": "string"
    },
    "imagePaths": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "primaryImagePath": {
      "type": "string"
    },
    "stdout": {
      "type": "string"
    },
    "stderr": {
      "type": "string"
    },
    "exitCode": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "signal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "elapsedMs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "timedOut": {
      "type": "boolean"
    },
    "aborted": {
      "type": "boolean"
    },
    "command": {
      "type": "string"
    },
    "args": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "effectiveApprovalMode": {
      "type": "string",
      "enum": [
        "default",
        "auto_edit",
        "yolo",
        "plan"
      ]
    },
    "workingDirectory": {
      "type": "string"
    },
    "errorMessage": {
      "type": "string"
    }
  },
  "required": [
    "ok",
    "responseText",
    "imagePaths",
    "stdout",
    "stderr",
    "exitCode",
    "signal",
    "elapsedMs",
    "timedOut",
    "aborted",
    "command",
    "args"
  ],
  "additionalProperties": false
}
executePromptRuns a non-interactive prompt through the locally installed Gemini CLI and returns the final result plus execution metadata.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "Prompt to send to the local Gemini CLI"
    },
    "model": {
      "description": "Optional Gemini model name",
      "type": "string",
      "minLength": 1
    },
    "cwd": {
      "description": "Optional working directory for the Gemini CLI process",
      "type": "string",
      "minLength": 1
    },
    "timeoutMs": {
      "description": "Optional timeout in milliseconds",
      "type": "integer",
      "minimum": 1000,
      "maximum": 600000
    },
    "approvalMode": {
      "description": "Optional Gemini CLI approval mode",
      "type": "string",
      "enum": [
        "default",
        "auto_edit",
        "yolo",
        "plan"
      ]
    }
  },
  "required": [
    "prompt"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "finalText": {
      "type": "string"
    },
    "stdout": {
      "type": "string"
    },
    "stderr": {
      "type": "string"
    },
    "exitCode": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "signal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "elapsedMs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "timedOut": {
      "type": "boolean"
    },
    "aborted": {
      "type": "boolean"
    },
    "command": {
      "type": "string"
    },
    "args": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "effectiveApprovalMode": {
      "type": "string",
      "enum": [
        "default",
        "auto_edit",
        "yolo",
        "plan"
      ]
    },
    "workingDirectory": {
      "type": "string"
    },
    "errorMessage": {
      "type": "string"
    }
  },
  "required": [
    "ok",
    "finalText",
    "stdout",
    "stderr",
    "exitCode",
    "signal",
    "elapsedMs",
    "timedOut",
    "aborted",
    "command",
    "args"
  ],
  "additionalProperties": false
}
executeTaskAI-friendly task interface. Accepts a task description and returns a direct, meaningful final answer plus execution metadata.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "task": {
      "type": "string",
      "minLength": 1,
      "description": "Task to delegate to the local Gemini CLI"
    },
    "context": {
      "description": "Optional task context for Gemini",
      "type": "string",
      "minLength": 1
    },
    "expectedOutput": {
      "description": "Optional instructions describing the desired final answer format",
      "type": "string",
      "minLength": 1
    },
    "model": {
      "description": "Optional Gemini model name",
      "type": "string",
      "minLength": 1
    },
    "cwd": {
      "description": "Optional working directory for the Gemini CLI process",
      "type": "string",
      "minLength": 1
    },
    "timeoutMs": {
      "description": "Optional timeout in milliseconds",
      "type": "integer",
      "minimum": 1000,
      "maximum": 600000
    },
    "approvalMode": {
      "description": "Optional Gemini CLI approval mode. If omitted, file-mutating tasks default to auto_edit.",
      "type": "string",
      "enum": [
        "default",
        "auto_edit",
        "yolo",
        "plan"
      ]
    }
  },
  "required": [
    "task"
  ]
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "answer": {
      "type": "string"
    },
    "ok": {
      "type": "boolean"
    },
    "stdout": {
      "type": "string"
    },
    "stderr": {
      "type": "string"
    },
    "exitCode": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "signal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "elapsedMs": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "timedOut": {
      "type": "boolean"
    },
    "aborted": {
      "type": "boolean"
    },
    "command": {
      "type": "string"
    },
    "args": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "effectiveApprovalMode": {
      "type": "string",
      "enum": [
        "default",
        "auto_edit",
        "yolo",
        "plan"
      ]
    },
    "workingDirectory": {
      "type": "string"
    },
    "errorMessage": {
      "type": "string"
    }
  },
  "required": [
    "answer",
    "ok",
    "stdout",
    "stderr",
    "exitCode",
    "signal",
    "elapsedMs",
    "timedOut",
    "aborted",
    "command",
    "args"
  ],
  "additionalProperties": false
}
inspectGeminiCliLists the currently available Gemini CLI commands, extensions, skills, configured MCP servers, and an optional model-reported tool summary.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "includeModelReportedTools": {
      "description": "Whether to ask Gemini itself for a model-reported summary of currently active tools.",
      "type": "boolean"
    },
    "timeoutMs": {
      "description": "Optional timeout in milliseconds for each inspection command",
      "type": "integer",
      "minimum": 1000,
      "maximum": 600000
    }
  }
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "version": {
      "type": "string"
    },
    "commands": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "command": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "command",
          "description"
        ],
        "additionalProperties": false
      }
    },
    "extensions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "enabledUser": {
            "type": "boolean"
          },
          "enabledWorkspace": {
            "type": "boolean"
          },
          "mcpServers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "name",
          "version"
        ],
        "additionalProperties": false
      }
    },
    "skills": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "builtIn": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "location": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "enabled",
          "builtIn"
        ],
        "additionalProperties": false
      }
    },
    "mcpServers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "transport": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "target",
          "transport",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "modelReportedTools": {
      "type": "string"
    },
    "modelReportedSummary": {
      "type": "object",
      "properties": {
        "builtInTools": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "extensions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "skills": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mcpServers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "builtInTools",
        "extensions",
        "skills",
        "mcpServers"
      ],
      "additionalProperties": false
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "raw": {
      "type": "object",
      "properties": {
        "help": {
          "type": "string"
        },
        "extensions": {
          "type": "string"
        },
        "skills": {
          "type": "string"
        },
        "mcpServers": {
          "type": "string"
        },
        "modelReportedTools": {
          "type": "string"
        }
      },
      "required": [
        "help",
        "extensions",
        "skills",
        "mcpServers"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "version",
    "commands",
    "extensions",
    "skills",
    "mcpServers",
    "notes",
    "raw"
  ],
  "additionalProperties": false
}

Resources 0

  • None observed.

Resource templates 0

  • None observed.

Prompts 0

  • None observed.

Remote endpoints

EndpointTransportAuthenticationHealthObserved
No verified remote endpoint is linked.

gemini-cli-mcp Server questions

How do I install gemini-cli-mcp Server?

Install the selected package version with: npm install --save-exact @cainmaila/gemini-cli-mcp@1.0.1

What tools does gemini-cli-mcp Server provide?

gemini-cli-mcp Server exposed 4 tools during independent protocol observation, including executeImageTask, executePrompt, executeTask, inspectGeminiCli.

Is gemini-cli-mcp Server secure?

The selected current version does not yet have completed public verification. Unknown does not mean clean or vulnerable.

Company and product intelligence

These internal links are derived from strong identity fields such as the implementation name, package, repository, vendor, and listing name—not generic description prose.

Associated company landscape

Google intelligence →

Association is based on retained identity fields; it does not by itself prove first-party publication.

Explore related MCP server guides

Curated product and capability guides containing this catalog record.

Official vs Community MCP Servers

Let’s talk about MCP security.

Share your details and our security team will contact you.