Gemini CLI MCP Tool

AIstdio
Репозиторий

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.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

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

Инструменты (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": {}
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
jamubc (@jamubc)
Репозиторий
https://github.com/jamubc/gemini-mcp-tool
Лицензия
MIT
Звёзды
0
Последнее обновление
21 июля 2026 г.