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.
@Lykhoyda
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ask-gemini-mcp": {
"command": "npx",
"args": [
"-y",
"ask-gemini-mcp"
],
"env": {
"GMCPT_TIMEOUT_MS": "300000",
"GMCPT_LOG_LEVEL": "warn"
}
}
}
}Send a prompt to Gemini CLI (defaults to gemini-3.1-pro-preview with automatic Flash fallback on quota errors). Use for code review, second opinions, analysis, and AI-to-AI collaboration. Do not override the model parameter unless the user explicitly asks. Returns both human-readable text and a structured response (provider, model, sessionId, usage) via outputSchema.
Send a code edit request to Gemini CLI and get structured OLD/NEW edit blocks back. Gemini analyzes the files and returns precise, applicable code changes. Use this when you want Gemini to suggest specific code modifications rather than just analysis.
Retrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.
Test connectivity with the MCP server
Get the current MCP server's session usage stats: total LLM calls, token totals (input/output/thinking/cached), wall time, and breakdowns per provider and per model. No data leaves your machine — counts are tracked in-memory for the lifetime of the server process. Returns both human-readable markdown and a structured JSON snapshot via outputSchema.
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.
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.
ask-gemini, fetch-chunk, and ping@ file syntax for direct file analysisgemini-3.1-pro-preview with automatic fallback to gemini-3-flash-previewNode.js v20.0.0 or higher and the Google Gemini CLI must be installed and authenticated on your system.
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).
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.
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.
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.
NetFoundry LLM Gateway is an OpenAI-compatible API proxy that routes requests across multiple LLM providers using zero-trust networking. Zero trust LLM gateway. OpenAI-compatible proxy with semantic routing and load bala

Bring ideas to life with Fotor MCP: generate and edit images, enhance product photos, and create videos, voiceovers, and music.
AON MCP connects AI agents to real, buyable products and services with live pricing and tracked links—enabling builders to earn developer revenue share from attributed clicks and conversions.

miniOrange WordPress MCP Server turns a WordPress site into a Model Context Protocol server, so AI clients like Claude, ChatGPT, Cursor, Gemini and Windsurf can read and edit the site through chat instead of the admin da
HeyLead: AI agent for LinkedIn outreach. Finds the right people, writes in your voice, follows up and handles replies, from Claude Code, Cursor, any MCP client or a web dashboard.
评论