Gemini Pro MCP

v0.1.8
io.github.Muzaqil555/gemini-pro-mcp Checked 4 days ago Published 12 days ago

Your Google AI Pro plan in Claude, Codex and Gemini CLI: Gemini, Flow, Notebooks, Jules, Veo

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gemini_ask

Ask Gemini a question or give it a reading task, through the Antigravity CLI on the user's Google AI Pro plan (no API cost; uses the plan's limits). Good for a second opinion on code or a design, reviewing local files passed in `paths`, and long reasoning. The text of each file up to 20 000 characters goes into the prompt, so pass the files themselves; Gemini can't open folders or larger files on its own when the Antigravity CLI runs headless. Gemini runs read-only: it can search the web but cannot change files or run commands. For web r…

ParameterTypeDescription
prompt *string
conversation_id
effort
model
paths

gemini_research

Research a question on the live web with Gemini and Google Search, and get an answer that cites its sources. Use it for current facts, releases, prices, docs or comparisons that may be newer than your training data. Runs through the Antigravity CLI on the user's Google AI Pro plan: no API cost, uses the plan's limits. Read-only. Gemini prefers official sources, cross-checks key facts and says when sources disagree. Usually takes one to three minutes. For questions about local files use gemini_ask instead. Args: question: Wha…

ParameterTypeDescription
question *string
effort
model

gemini_code

Delegate a coding task to Gemini, which reads and EDITS files in one local folder through the Antigravity agent on the user's Google AI Pro plan (no API cost). This changes files: tell the user, and review the result afterwards, e.g. with `git diff`. Gemini can't run terminal commands here, so run the tests yourself afterwards. Antigravity CLI 1.5 can't get approval for file access when it runs headless. Then this tool returns agy's explanation within about a minute and changes nothing; use jules_start instead. Good for a well-de…

ParameterTypeDescription
folder *string
task *string
agent
conversation_id
effort
model

gemini_agents

List the custom Antigravity agents the user has made or installed, such as a "reviewer" or "test-writer" agent with its own instructions. Read-only, free and quick. Call it before gemini_code when the user wants a task done by a specific agent. Returns: The agent names and descriptions as the Antigravity CLI prints them; pass a name as `agent` to gemini_code. "No custom agents." if there are none.

gemini_models

List the models the user's Google account can use through the Antigravity CLI, e.g. Gemini 4 Argon and Gemini 3.8 Flash at several thinking levels. Read-only, free and quick. Call it when the user asks for a specific or stronger model; otherwise the gemini_* tools use agy's default. Returns: One "id — name" line per model, e.g. "gemini-4-argon-high — Gemini 4 Argon (High)". Pass the id as `model` to gemini_ask, gemini_research or gemini_code.

video_generate

Generate a short video with native sound from a text prompt, with Gemini Omni Flash through the Gemini API, and save it as an .mp4 in GEMINI_PRO_OUTPUT_DIR. One call makes one clip of about 8 seconds; for longer videos chain video_edit, or use flow_make_video on the user's Flow credits when browser tools are enabled. COSTS MONEY: billed to the API key's Google Cloud project (about $0.10 per second of 720p video, no free tier). Confirm with the user before calling. Args: prompt: Subject, action, setting, camera and sound, e.g. "A red tram crosses Baku at sunset, slow dolly shot, s…

ParameterTypeDescription
prompt *string
aspect_ratiostring
file_name
first_frame
last_frame
reference_images
resolutionstring
wait_secondsinteger

video_edit

Change or extend a video; the result is saved as a new file. COSTS MONEY: billed like video_generate. Confirm with the user before calling. Give exactly one of previous_id (from video_generate/video_edit) or video_path (a local video of 10 seconds or less). Args: instruction: e.g. "Make it night", or to extend: "Continue the scene: the car drives off" (adds 3-10 s, up to 40 s in total). previous_id: id returned by an earlier video_generate or video_edit. video_path: Local video (max 10 s) to edit instead. aspect_ratio: "16:9" or "9:16". resolution: "720p" (default…

ParameterTypeDescription
instruction *string
aspect_ratiostring
file_name
previous_id
resolutionstring
video_path
wait_secondsinteger

video_check

Fetch a video that video_generate or video_edit started but had not finished rendering when they returned, and save it as an .mp4. Free: the video was paid for when it was started, and checking costs nothing. Call it again with the same id if the video is still rendering. Args: id: The id returned by video_generate or video_edit. wait_seconds: How long to keep waiting in this call (default 120) before returning the current status. Returns: The saved .mp4 path and an id for video_edit once the video is…

ParameterTypeDescription
id *string
wait_secondsinteger

image_generate

Create a new image from a prompt, or edit local images, with Nano Banana through the Gemini API, and save the result in GEMINI_PRO_OUTPUT_DIR. Pass previous_id to refine an earlier result step by step ("make the sky darker") without starting over. COSTS MONEY: about $0.034 (1K), $0.05 (2K) or $0.11 (4K) per image with Nano Banana 2.1; Nano Banana Pro ("gemini-3-pro-image") is $0.13-0.24. No free tier. Confirm with the user before calling. Args: prompt: What to draw, or how to change the input images, e.g. "Turn this sketch into a clean flat app icon on a white background". mo…

ParameterTypeDescription
prompt *string
aspect_ratiostring
file_name
image_sizestring
input_images
modelstring
previous_id

video_stitch

Join local video clips, in the given order, into one .mp4 with ffmpeg. Runs on this computer and costs nothing. Clips with the same format (e.g. all from video_generate or Flow) are joined losslessly; mixed formats are re-encoded to H.264/AAC. Use it to combine clips made by video_generate, video_edit or flow_collect; flow_make_video already joins its own clips. Args: clips: Paths of the clips, first to last (at least one). file_name: Name for the joined file, saved in GEMINI_PRO_OUTPUT_DIR; a number is added if i…

ParameterTypeDescription
clips *array
file_namestring

jules_sources

List the GitHub repositories the user has connected to Jules, Google's cloud coding agent. Read-only and free. Call it before jules_start to get the exact repo name; Jules can only work on repositories listed here. Returns: One source name per line, e.g. "github/owner/repo", to pass as `repo` to jules_start; or a note that no repository is connected yet, with the link where the user connects GitHub.

jules_start

Start a Jules session: Google's coding agent works on a task in one of the user's GitHub repositories, in the cloud and asynchronously, within the Google AI Pro plan's Jules limits (no extra cost). It can push a branch and open a pull request, so confirm the task with the user first. Then poll with jules_status, answer questions with jules_message, and approve the plan with jules_approve_plan if you asked for approval. For a change in a local folder use gemini_code instead. Args: prompt: The task with acceptance criteria, e.…

ParameterTypeDescription
prompt *string
branchstring
create_prboolean
repo
require_plan_approvalboolean
title

jules_status

Check on a Jules session started with jules_start: its state, its most recent activities (plan, progress messages, questions, completion) and the pull request it opened, if any. Read-only and free; call it again to poll a session that is still working. Use jules_sessions to find a session id, jules_approve_plan when the state says it awaits plan approval, and jules_message to answer a question. Args: session: Session id from jules_start or jules_sessions, or its full "sessions/<id>" name or web link. acti…

ParameterTypeDescription
session *string
activitiesinteger

jules_sessions

List the user's most recent Jules sessions, newest first, to find a session id or see which tasks are still running. Read-only and free. Pass an id from the result to jules_status for details, to jules_approve_plan or to jules_message. Args: limit: How many sessions to list (default 10). Returns: One line per session: id, state (as Jules reports it, for example in progress, awaiting plan approval or completed) and title, or "No sessions yet."

ParameterTypeDescription
limitinteger

jules_approve_plan

Approve the plan Jules proposed, so it starts writing code. Only for a session started with jules_start(require_plan_approval=True) whose state is awaiting plan approval; read the plan with jules_status first and show it to the user. To change the plan instead, send feedback with jules_message. Args: session: Session id from jules_start or jules_sessions. Returns: A confirmation that Jules is working, or an error such as the session not waiting for approval. Follow progress with jules_status.

ParameterTypeDescription
session *string

jules_message

Send a message to Jules inside an existing session: answer a question it asked, give feedback on its plan or code, or ask for a change. Jules replies asynchronously, so read the answer later with jules_status. To give Jules a new task, use jules_start instead. Args: session: Session id from jules_start or jules_sessions. message: What to tell Jules, in plain language. Returns: A confirmation that the message was sent, or an error.

ParameterTypeDescription
message *string
session *string

google_pro_benefits

List everything a Google AI Pro plan includes and which tool of this server reaches each part, or why a part cannot be reached (mobile-only, US-only, purchases). Read-only, free and offline. Call it first when the user asks what their plan can do or which tool to use. The browser-based tools it names (Flow, Gemini app, Notebooks, AI Mode) appear only when the server runs with GEMINI_PRO_ENABLE_BROWSER=1. Returns: One entry per benefit: what it is, where it lives, and how to use it here.