MCP server wrapping Gemini CLI: query, review, search, structured output, and diff assessment.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-hampsterx-gemini-mcp-bridge": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server wrapping Gemini CLI: query, review, search, structured output, and diff assessment.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
The official Python SDK for Model Context Protocol servers and clients
An open-source AI agent that brings the power of Gemini directly into your terminal.
MCP Security Weekly
Get CVE alerts and security updates for io.github.hampsterx/gemini-mcp-bridge and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server that wraps Gemini CLI as a subprocess, exposing its capabilities as Model Context Protocol tools.
Works with any MCP client: Claude Code, Codex CLI, Cursor, Windsurf, VS Code, or any tool that speaks MCP.
If you're in a terminal agent (Claude Code, Codex CLI) with shell access, call Gemini CLI directly:
# Agentic review (Gemini explores the repo, reads files, follows imports)
cd /path/to/repo && gemini -p --yolo "Review the changes on this branch vs main"
# Review specific files
gemini -p "Review this code for bugs and security issues" -- @src/file.ts @src/other.ts
# Pipe a diff
git diff origin/main...HEAD | gemini -p "Review this diff"
# Quick question
gemini -p "Is this approach sound for handling retries?"
Tips: --yolo is needed for agentic file access in headless mode (without it, tool calls block). Use -m gemini-2.5-pro to skip the CLI's internal model routing (~1-2s). Cold start is ~16s per invocation.
Use this MCP bridge instead when:
assess classifies a diff in <2s (no spawn) and recommends a review depth with an estimated wall timescan (diff-only, ~40s), focused (reads changed files, 1-3min), deep (full agentic, up to 30min) with per-depth auto-scaled timeoutsmaxResponseLength parameter)npx gemini-mcp-bridge
npm i -g @google/gemini-cli)gemini auth login)claude mcp add gemini -s user -- npx -y gemini-mcp-bridge
Add to ~/.codex/config.json:
{
"mcpServers": {
"gemini": {
"command": "npx",
"args": ["-y", "gemini-mcp-bridge"]
}
}
}
Add to your MCP settings:
{
"gemini": {
"command": "npx",
"args": ["-y", "gemini-mcp-bridge"]
}
}
| Tool | Description |
|---|---|
| query | Agentic prompt with optional file context. Gemini runs inside your repo with read/grep/glob tools. Supports text and images. |
| search | Google Search grounded query. Gemini searches the web and synthesizes an answer w |