Ask Gemini Mcp
@Lykhoyda
About Ask Gemini Mcp
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ask-gemini-mcp": {
"command": "npx",
"args": [
"-y",
"ask-gemini-mcp"
],
"env": {
"GMCPT_TIMEOUT_MS": "300000",
"GMCPT_LOG_LEVEL": "warn"
}
}
}
}Tools
3Send prompts to Gemini CLI. Supports `@` file syntax, model selection, sandbox mode, and changeMode for structured edits
Retrieve subsequent chunks from cached large responses
Connection test — verify MCP setup without using Gemini tokens
Overview
What is Ask Gemini Mcp?
Ask Gemini Mcp is an MCP server that connects any MCP-compatible AI client (e.g., Claude Code, Claude Desktop, Cursor, Copilot) to the Google Gemini CLI. It enables AI-to-AI collaboration by letting your primary agent send prompts to Gemini, leveraging Gemini’s massive 1M+ token context window for large file and codebase analysis. This server is for developers and AI users who want a second opinion, architecture debates, or deep code review from Gemini while their main AI handles interaction and editing.
How to use Ask Gemini Mcp?
Install via npx -y ask-gemini-mcp and configure it as an MCP tool in your client’s settings. For Claude Code, run claude mcp add gemini-cli -- npx -y ask-gemini-mcp. For other clients (Claude Desktop, Cursor, Codex CLI, OpenCode, any STDIO client), add a gemini-cli entry using the same npx command in the appropriate config file. Prerequisites: Node.js v20.0.0+ and the Google Gemini CLI installed and authenticated. Then invoke tools like ask-gemini by instructing your AI to ask Gemini via the MCP.
Key features of Ask Gemini Mcp
- Exposes three tools:
ask-gemini,fetch-chunk, andping - Supports
@file syntax for direct file analysis - Offers sandbox mode for running code in isolated environments
- Defaults to
gemini-3.1-pro-previewwith automatic fallback togemini-3-flash-preview - Works with 40+ MCP clients via STDIO transport
- Requires no API key – uses the authenticated Gemini CLI
Use cases of Ask Gemini Mcp
- Get a second opinion on coding approach before committing
- Send architecture proposals to Gemini for critique and alternatives
- Have Gemini analyze diffs or modified files to catch missed issues
- Analyze entire codebases (1M+ tokens) that overflow other models
- Run and test code in sandboxed environments via Gemini
FAQ from Ask Gemini Mcp
What are the prerequisites for using Ask Gemini Mcp?
Node.js v20.0.0 or higher and the Google Gemini CLI must be installed and authenticated on your system.
What tools does Ask Gemini Mcp expose?
It provides ask-gemini (send prompts, supports @ file syntax, model selection, sandbox mode), fetch-chunk (retrieve subsequent chunks from large responses), and ping (test connectivity without using Gemini tokens).
Which models does Ask Gemini Mcp support?
The default model is gemini-3.1-pro-preview for best quality reasoning, with gemini-3-flash-preview as a faster option and automatic fallback when Pro quota is exceeded.
How do I configure Ask Gemini Mcp for my client?
Add a gemini-cli MCP server entry with command npx -y ask-gemini-mcp using STDIO transport. Exact config file locations are provided for Claude Desktop, Cursor, Codex CLI, OpenCode, and generic STDIO clients.
Does Ask Gemini Mcp require authentication?
Yes, authentication is handled by the Google Gemini CLI. You must have the CLI installed and authenticated (e.g., via gcloud auth or gemini auth) before using the server.
Frequently asked questions
What are the prerequisites for using Ask Gemini Mcp?
Node.js v20.0.0 or higher and the Google Gemini CLI must be installed and authenticated on your system.
What tools does Ask Gemini Mcp expose?
It provides `ask-gemini` (send prompts, supports `@` file syntax, model selection, sandbox mode), `fetch-chunk` (retrieve subsequent chunks from large responses), and `ping` (test connectivity without using Gemini tokens).
Which models does Ask Gemini Mcp support?
The default model is `gemini-3.1-pro-preview` for best quality reasoning, with `gemini-3-flash-preview` as a faster option and automatic fallback when Pro quota is exceeded.
How do I configure Ask Gemini Mcp for my client?
Add a `gemini-cli` MCP server entry with command `npx -y ask-gemini-mcp` using STDIO transport. Exact config file locations are provided for Claude Desktop, Cursor, Codex CLI, OpenCode, and generic STDIO clients.
Does Ask Gemini Mcp require authentication?
Yes, authentication is handled by the Google Gemini CLI. You must have the CLI installed and authenticated (e.g., via `gcloud auth` or `gemini auth`) before using the server.
Basic information
More AI & Agents MCP servers
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Comments