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_codeRuns 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_benefitslists 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 viaGEMINI_PRO_OUTPUT_DIR). - Browser operation:
google_pageandgoogle_actread pages as numbered elements and perform clicks, typing, file uploads, option selection, and result downloads, limited to the Google AI sites listed ingoogle_web.py; login, payment, and account pages cannot be operated. - Flow automation (experimental):
flow_generate、flow_make_video、flow_approveand 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
- Prepare the environment: Install
uv; use Python 3.10+ and pip to installgemini-pro-mcp(for browser tools usegemini-pro-mcp[flow]). Gemini tools require installing Antigravity CLI, runningagyonce and logging in with a Google AI Pro/Ultra account; media tools require enabling billing in Google AI Studio and obtaining an API key. - 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--clientto limit clients,--dry-runto preview changes,--browserto enable browser-based tools (then runuvx gemini-pro-mcp flow-loginto log in), and--auto-approveto pre-approve paid calls. - Claude Code plugin:
claude plugin install gemini-pro --marketplace Muzaqil555/gemini-pro-mcp, register the MCP server with skills and six commands. - Manual configuration: add the server entry to the client's MCP configuration; Codex writes
~/.codex/config.tomland requires a higher tool timeout, because Flow and Deep Research calls take a long time. - API key (media tools only): run
uvx gemini-pro-mcp authto interactively saveJULES_API_KEYorGEMINI_API_KEYto~/.config/gemini-pro-mcp/.env; the core Gemini, Deep Research, Flow, and Notebook tools use the subscription and do not require an API key. - Self-check:
uvx gemini-pro-mcp doctorchecks available items and provides fixes.
Use cases
- Have Gemini review files such as
src/auth.pywithin 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_codemay make changes. - Known limitation (Antigravity CLI 1.5): in headless mode,
agycannot obtain file read/write approval, andgemini_codestops 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.