Cli Gemini
FreeNot checkedMCP server wrapping Gemini CLI for Model Context Protocol integration
About
MCP server wrapping Gemini CLI for Model Context Protocol integration
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
Installing Cli Gemini
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/rlaksana/mcp-cli-geminiFAQ
Is Cli Gemini MCP free?
Yes, Cli Gemini MCP is free — one-click install via Unyly at no cost.
Does Cli Gemini need an API key?
No, Cli Gemini runs without API keys or environment variables.
Is Cli Gemini hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Cli Gemini in Claude Desktop, Claude Code or Cursor?
Open Cli Gemini on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Cli Gemini with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
