Skip to main content
Glama

geminicli-mcp

Сервер MCP без сохранения состояния, оборачивающий консольный интерфейс Gemini CLI.

  • транспорт stdio, порождение процесса для каждого клиента

  • два инструмента: gemini_prompt, gemini_prompt_with_context

  • без сессий, без working_dir, без принудительного ограничения времени ожидания

  • выполняется в cwd процесса сервера

Установка

npm install
npm run build

Бинарный файл доступен как geminicli-mcp (см. package.json#bin).

Related MCP server: gemini-cli-mcp

Инструменты

gemini_prompt

поле

тип

обязательно

примечания

prompt

string

да

текст запроса

model

string

нет

например, gemini-2.5-pro

Возвращает текстовый ответ CLI.

gemini_prompt_with_context

поле

тип

обязательно

примечания

prompt

string

да

текст запроса

context

string

да

добавляется перед запросом внутри <context>

model

string

нет

например, gemini-2.5-pro

Возвращает текстовый ответ CLI.

Переменные окружения

  • GEMINI_CLI_BIN — переопределение пути к бинарному файлу gemini.

  • Окружение дочернего процесса очищается с помощью NO_COLOR=1 и TERM=dumb.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    An MCP server that wraps the Gemini CLI to provide tools for executing prompts, managing chat sessions, and accessing CLI extensions. It supports both local stdio and remote SSE transports for flexible integration with MCP clients.
    1
  • A
    license
    A
    quality
    D
    maintenance
    A secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command injection.
    2
    15
    5
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Wraps the Gemini CLI as an MCP server, enabling AI tools to perform Gemini queries, interactive sessions, and extension management via a unified tool.
    1
    1

View all related MCP servers

Related MCP Connectors

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for generating rough-draft project plans from natural-language prompts.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/trevoraspencer/geminicli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server