7fe4ea5f3196c1639e55aa79b976a59e326b43e1source_git · trevoraspencer/geminicli-mcp · current release
Observed 2026-08-25T16:39:21.098Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
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
} | — | — · — | — |