← geminicli-mcp

geminicli-mcp 7fe4ea5f3196c1639e55aa79b976a59e326b43e1

source_git · trevoraspencer/geminicli-mcp · current release

3
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-25T16:39:21.098Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "tools": {}
}

Tools 3

ToolCategoryAnnotationsRisk
gemini_promptInvoke the headless Gemini CLI with a single prompt. Stateless — each call is an independent turn. Runs in the MCP server's current working directory.
Input schema
{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "Prompt text sent to the Gemini CLI."
    },
    "model": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
      "description": "Optional model identifier (e.g., gemini-2.5-pro)."
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}
— · —
gemini_prompt_structuredInvoke the headless Gemini CLI and parse its response as JSON validated against a caller-provided JSON Schema. Stateless. Fails loudly with an isError result if the response is not valid JSON or does not match the schema.
Input schema
{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "Prompt text sent to the Gemini CLI."
    },
    "schema": {
      "type": "object",
      "description": "JSON Schema (subset) the model's JSON response must conform to."
    },
    "context": {
      "type": "string",
      "description": "Optional context block prepended to the prompt inside <context>."
    },
    "model": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
      "description": "Optional model identifier (e.g., gemini-2.5-pro)."
    }
  },
  "required": [
    "prompt",
    "schema"
  ],
  "additionalProperties": false
}
— · —
gemini_prompt_with_contextInvoke the headless Gemini CLI with a prompt plus a separate context block. Stateless — each call is an independent turn. The context is prepended to the prompt inside a <context> tag. Runs in the MCP server's current working directory.
Input schema
{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "Prompt text sent to the Gemini CLI."
    },
    "context": {
      "type": "string",
      "description": "Context block prepended to the prompt (e.g., file contents, prior notes)."
    },
    "model": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
      "description": "Optional model identifier (e.g., gemini-2.5-pro)."
    }
  },
  "required": [
    "prompt",
    "context"
  ],
  "additionalProperties": false
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.