1. Conduid
  2. AI
  3. CLI Gemini
MCP server · AI

CLI Gemini

MCP server wrapping Gemini CLI for Model Context Protocol integration

34Low

Scored 6 months ago · breakdown

About CLI Gemini

CLI Gemini is an MCP server in the AI category: mCP server wrapping Gemini CLI for Model Context Protocol integration.

Install

From source
git clone https://github.com/rlaksana/mcp-cli-gemini

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about CLI Gemini

Powered by Claude · Grounded in docs

I know everything about CLI Gemini. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP CLI Gemini

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

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 CLI
  • model (optional): Model to use (e.g., "gemini-pro", "gemini-1.5-flash")
  • sandbox (optional): Run in sandbox mode for code execution
  • yolo (optional): Auto-approve all actions
  • interactive (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

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About CLI Gemini

How do I install CLI Gemini?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is CLI Gemini safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is CLI Gemini still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.