SuperAPIAI Directory

gemini-pro-mcp

github.com · AI developer platforms

gemini-pro-mcp is an open-source MCP server that lets coding agents such as Claude Code, Codex, Cursor, Claude Desktop, Windsurf, Antigravity CLI, and Gemini CLI invoke Gemini capabilities under a Google AI Pro subscription within a session, including code review, Deep Research, Flow video, Gemini Notebooks, Jules, AI Mode, and Nano Banana images. The project provides a single command to complete multi-client registration and self-checks, runs read-only in a sandbox by default, requires confirmation for paid calls, and requires manual enabling for browser-based tools.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

Purpose

gemini-pro-mcp is an open-source server based on MCP (Model Context Protocol), whose goal is to bring Gemini capabilities from Google AI Pro / Ultra subscriptions into the workflows of coding agents. Users can, within sessions of Claude Code, Codex, Antigravity CLI, Gemini CLI, Cursor, Claude Desktop, or Windsurf, have Gemini give a second opinion on code, perform web research with sources, generate Flow videos, organize Gemini Notebooks, or hand modification tasks to Jules, without switching tabs or purchasing a separately token-billed API.

Main capabilities

  • Gemini calls within the subscription:gemini_ask、gemini_research、gemini_code Runs through Antigravity CLI within the AI Pro plan limits, without relying on a token-billed API key.
  • Full plan coverage: Tools can reach Deep Research, Flow (videos of any length and various Flow tools), Gemini Notebooks (Audio Overviews, quizzes, slides), AI Mode, Jules, and the Gemini app;google_pro_benefits lists each entitlement and its corresponding tool.
  • Media generation: Generates videos and Nano Banana images via the Gemini API using Gemini Omni Flash, with files saved to ~/gemini-pro-output(configurable via GEMINI_PRO_OUTPUT_DIR ).
  • Browser operation:google_page and google_act read pages as numbered elements and perform clicks, typing, file uploads, option selection, and result downloads, limited to the Google AI sites listed in google_web.py ; login, payment, and account pages cannot be operated.
  • Flow automation (experimental):flow_generate、flow_make_video、flow_approve and others drive the Flow website in a dedicated Chrome profile, can generate, approve, and download videos, and can also invoke tools such as Video Resizer.
  • Workflow prompts: All MCP clients can directly use six MCP prompts:gemini_review、gemini_research、second_opinion、jules_task、notebook_workflow、make_video. The Claude Code plugin additionally provides six slash commands:/gemini-pro:gemini-review、/gemini-pro:gemini-research、/gemini-pro:second-opinion、/gemini-pro:jules、/gemini-pro:notebook、/gemini-pro:video, along with a skill that selects the appropriate tool per request.

Usage

  1. Prepare the environment: Install uv; use Python 3.10+ and pip to install gemini-pro-mcp(for browser tools use gemini-pro-mcp[flow]). Gemini tools require installing Antigravity CLI, running agy once and logging in with a Google AI Pro/Ultra account; media tools require enabling billing in Google AI Studio and obtaining an API key.
  2. Register with one command: Run uvx gemini-pro-mcp setup, which automatically discovers and configures Claude Code, Codex, Antigravity CLI, Gemini CLI, Cursor, Claude Desktop, and Windsurf, and checks login, API key, Chrome, and Flow configuration, giving fix suggestions for missing items. You can use --client to limit clients,--dry-run to preview changes,--browser to enable browser-based tools (then run uvx gemini-pro-mcp flow-login to log in), and--auto-approve to pre-approve paid calls.
  3. Claude Code plugin:claude plugin install gemini-pro --marketplace Muzaqil555/gemini-pro-mcp, register the MCP server with skills and six commands.
  4. Manual configuration: add the server entry to the client's MCP configuration; Codex writes ~/.codex/config.toml and requires a higher tool timeout, because Flow and Deep Research calls take a long time.
  5. API key (media tools only): run uvx gemini-pro-mcp auth to interactively save JULES_API_KEY or GEMINI_API_KEY to ~/.config/gemini-pro-mcp/.env; the core Gemini, Deep Research, Flow, and Notebook tools use the subscription and do not require an API key.
  6. Self-check:uvx gemini-pro-mcp doctor checks available items and provides fixes.

Use cases

  • Have Gemini review files such as src/auth.py within a coding agent session to get a second opinion.
  • Research technical changes with sources, such as what's new in a Flutter release.
  • Use Flow credits to generate a video on a specified topic and length, or turn a sketch into a 2K flat icon.
  • Put multiple PDFs into Gemini Notebook and generate an Audio Overview.
  • Delegate code modification tasks via Jules.

Limitations and caveats

  • Sandbox is read-only: requests within the subscription run in plan mode with the sandbox enabled; Gemini can read and search but cannot modify files or execute commands; only calling gemini_code may make changes.
  • Known limitation (Antigravity CLI 1.5): in headless mode, agy cannot obtain file read/write approval, andgemini_code stops after about half a minute without making any changes; the official recommendation is to use Jules (jules_start) for code modifications.
  • Paid confirmation: by default, each paid call requires user confirmation; after setting GEMINI_PRO_AUTO_APPROVE=1 , it executes automatically and reports the cost afterward.
  • Flow automation risk: driving the Flow website may conflict with Google's Terms of Service and is prone to breaking when the page changes; the project does not enter or store credentials and does not use covert means; CAPTCHAs must be solved by the user, and use is at your own risk.
  • API billing is separate: Google AI Pro does not directly pay for API usage; API key usage is billed separately; the plan includes a monthly Google Cloud credit (the official blog states $10/month), which can be used for the Gemini API after billing is enabled.
  • Model changes: Google shut down the Veo 3.1 preview model on 2026-10-22 and recommends switching to Omni Flash; Gemini CLI was retired for AI Pro/Ultra users on 2026-06-18, so switch to Antigravity CLI.
  • Privacy: the server runs locally, has no telemetry, and does not send data to the author; prompts and files are sent to the corresponding Google services; the API key is sent only to the Google API it belongs to; generated files are saved locally.
  • Independence: the project is an independent open-source project and is not affiliated with, endorsed by, or sponsored by Google or Anthropic.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools