Skip to main content
Glama

geminicli-mcp

ヘッドレスGemini CLIをラップするステートレスなMCPサーバー。

  • stdioトランスポート、クライアントごとにspawn

  • 2つのツール: 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=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