Cli Gemini
БесплатноНе проверенWraps the Gemini CLI as an MCP server, enabling AI tools to perform Gemini queries, interactive sessions, and extension management via a unified tool.
Описание
Wraps the Gemini CLI as an MCP server, enabling AI tools to perform Gemini queries, interactive sessions, and extension management via a unified tool.
README
MCP server that wraps Gemini CLI for use with other AI tools via the Model Context Protocol.
Features
Single unified gemini tool that supports:
- One-shot queries to Gemini CLI
- Interactive mode session commands
- Extension management
Prerequisites
- Gemini CLI installed and configured
- Node.js 18+
Installation
npm install
npm run build
Usage
Add to Claude Desktop
Edit your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Add the server:
{
"mcpServers": {
"gemini-cli": {
"command": "node",
"args": ["D:\\WORKSPACE\\tools-node\\mcp-cli-gemini\\dist\\index.js"]
}
}
}
Add to Other MCP Clients
Use stdio transport with:
node dist/index.js
Available Tools
gemini
Unified tool for all Gemini CLI operations.
Parameters:
query(required): Query to send to Gemini CLImodel(optional): Model to use (e.g., "gemini-pro", "gemini-1.5-flash")sandbox(optional): Run in sandbox mode for code executionyolo(optional): Auto-approve all actionsinteractive(optional): Run in interactive mode (returns command for manual execution)extensions(optional): Extension command: "list" or "info:extensionName"
Examples:
Basic query:
{
"query": "Explain how async/await works in JavaScript",
"model": "gemini-1.5-flash"
}
Interactive mode:
{
"query": "Let's discuss design patterns",
"interactive": true
}
List extensions:
{
"query": "",
"extensions": "list"
}
Get extension info:
{
"query": "",
"extensions": "info:extension-name"
}
Development
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build
npm run build
# Watch mode
npm run watch
# Lint
npm run lint
# Lint and fix
npm run lint:fix
License
MIT
Установка Cli Gemini
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/rlaksana/mcp-cli-geminiFAQ
Cli Gemini MCP бесплатный?
Да, Cli Gemini MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Cli Gemini?
Нет, Cli Gemini работает без API-ключей и переменных окружения.
Cli Gemini — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Cli Gemini в Claude Desktop, Claude Code или Cursor?
Открой Cli Gemini на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Cli Gemini with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
