Gemini CLI MCP Server
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"gemini-cli-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# `gemini-cli-mcp` Python Server This directory contains the Python implementation of the `gemini-cli-mcp` server. It uses FastAPI to expose `gemini-cli` functionalities as MCP-compliant tools. ## 1. Features This server exposes the following `gemini-cli` commands as MCP Tools: * `gemini_ask`: Ask a question to the Gemini model. * `gemini_yolo`: Run a complex prompt with Gemini Agent in auto-execution (`--yolo`) mode. * `gemini_git_commit`: Generate a conventional commit message from staged changes and perform a `git commit`. * `gemini_git_pr`: Automatically commit, push, and create a Pull Request. * `gemini_git_diff`: Summarize code changes using Gemini AI. ## 2. Technology Stack | Category | Technology | | :--------------- | :------------------- | | **Language** | Python 3.12+ | | **Web Framework**| FastAPI | | **Process Exec** | `asyncio.subprocess` | | **CLI Framework**| Typer (via `mcp-cli`)| | **Packaging** | Poetry / `pyproject.toml` | ## 3. Setup ### Prerequisites * Python 3.12 or higher. * `gemini-cli` installed globally and accessible in your system's PATH. * `git` installed and configured. ### Installation 1. Navigate to the `server_py` directory: ```bash cd server_py ``` 2. Install dependencies using `uv` (recommended) or `pip`: ```bash uv pip install -r requirements.txt # or pip install -r requirements.txt ``` ### Environment Variables The server uses environment variables for configuration. You can set these in a `.env` file in the project root (`/path/to/project_root/.env`) or directly in your environment. * `GEMINI_MODEL`: Specifies the Gemini model to use (e.g., `gemini-2.5-flash`). * `GEMINI_ALL_FILES`: Set to `true` to include all files in context (`--all-files`). * `GEMINI_SANDBOX`: Set to `true` to enable sandbox mode (`--sandbox`). * `GEMINI_API_KEY`: Your Gemini API key (required for Docker/server environments). * `PROJECT_R…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.