A server that extends Google Gemini CLI with MCP toolkit and OpenAI-compatible API bridge for third-party tool integration.
Gemini CLI Bridge is a server application that extends Google's Gemini CLI by adding two key capabilities: an MCP (Model Context Protocol) toolkit endpoint and an OpenAI-compatible API bridge. It allows developers to expose Gemini CLI's native tools (like file operations and web search) through standard protocols and enables third-party applications that support the OpenAI API to interact with Gemini models seamlessly.
Developers and teams using Gemini CLI who want to integrate its capabilities with other AI tools, MCP-compatible clients, or applications that require an OpenAI-compatible API endpoint.
It provides a secure, configurable bridge that unlocks Gemini CLI for the broader AI tool ecosystem without requiring custom integration code, offering granular security controls and inherited authentication from the main CLI.
Gemini CLI Bridge is a server application built on top of Google's Gemini CLI. It exposes Gemini CLI's native tools via the Model Context Protocol (MCP) and provides a fully compatible OpenAI API endpoint, enabling seamless integration with third-party applications like Open WebUI.
/v1/chat/completions and /v1/models endpoints compatible with OpenAI's API, allowing any OpenAI-supporting tool to use Gemini models.The project prioritizes security and extensibility, providing a bridge that unlocks Gemini CLI's capabilities for the broader ecosystem while maintaining granular control over tool access and execution risks.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Shares Gemini CLI's authentication and configuration, eliminating duplicate setup—once the CLI is working, the bridge automatically uses cached credentials or env vars like GEMINI_API_KEY.
Provides both MCP and OpenAI API endpoints, enabling compatibility with diverse tools like Open WebUI and MCP clients without custom integration code.
Offers four configurable security modes (read-only to YOLO) with tool-level controls, allowing tailored risk management for file operations and shell commands.
Acts as an MCP hub to proxy tools from external servers, extending functionality beyond Gemini CLI's built-in tools when enabled in configured or YOLO modes.
The bridge itself lacks authentication, relying on network security or external measures; the README warns against exposing it without firewalls in production.
Security modes require manual setup and understanding of risks, with YOLO mode posing high danger if misused, and mandatory confirmations can hinder automation.
Depends entirely on Gemini CLI's installation and configuration, which can override existing setups and adds complexity if not already in use.