Skip to main content
Glama

geminicli-mcp

헤드리스 Gemini CLI를 래핑하는 상태 비저장(stateless) MCP 서버입니다.

  • stdio 전송, 클라이언트당 프로세스 생성(spawn-per-client)

  • 두 가지 도구: 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_BINgemini 바이너리 경로를 재정의합니다.

  • 자식 프로세스 환경은 NO_COLOR=1TERM=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