Gemini CLI MCP Tool

AIstdio
Repositorio

An MCP server that lets AI assistants delegate work to the Google Gemini CLI, taking advantage of Gemini's very large context window for whole-file and codebase analysis. Exposes tools to ask Gemini questions with file references, brainstorm ideas, and stream long responses in chunks, so a client model can offload large-context reasoning to Gemini without leaving the current session.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "gemini-cli": {
      "command": "npx",
      "args": [
        "-y",
        "gemini-mcp-tool"
      ]
    }
  }
}

Herramientas (3)

ask-gemini

Send a prompt to the Gemini CLI, optionally including file references, and return the response.

{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "Optional Gemini model to use"
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to send to Gemini, may include @file references"
    }
  }
}

brainstorm

Ask Gemini to generate and expand ideas around a given topic or problem.

{
  "type": "object",
  "required": [
    "topic"
  ],
  "properties": {
    "topic": {
      "type": "string",
      "description": "The topic or problem to brainstorm about"
    }
  }
}

ping

Health check that verifies the Gemini CLI is reachable.

{
  "type": "object",
  "properties": {}
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
jamubc (@jamubc)
Repositorio
https://github.com/jamubc/gemini-mcp-tool
Licencia
MIT
Estrellas
0
Última actualización
21 de julio de 2026