Antigravity MCP Orchestrator
Exposes an HTTP/SSE MCP interface that allows Google Gemini Connected Apps to access and orchestrate a local Antigravity IDE workspace, including discovering skills, plugins, rules, conversations, and artifacts, executing workspace commands, and generating agent workflows.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Antigravity MCP Orchestrator list the skills in my current Antigravity workspace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Overview
Google Gemini cloud services connect to external MCP servers over public HTTPS URLs. This server exposes an HTTP/SSE interface for Gemini while providing direct access to the local Antigravity IDE workspace, including:
Discovery and inspection of 160+ skills across workspace, global, and plugin scopes.
Inspection of plugins (
cursor-team-kit,pstack,ponytail), rules (GEMINI.md,AGENTS.md), and transcripts.Command execution within the active workspace directory.
Dynamic workspace switching at runtime (
set_active_workspace) without server restarts.Zero external Python dependencies: implemented with Python's standard library.
Related MCP server: Antigravity MCP Server
Quick Start
1. Install from PyPI (Recommended)
Install using pip or execute on-the-fly with uvx / pipx:
# Standard installation
pip install antigravity-mcp
# Or run instantly without pre-installing:
uvx antigravity-mcp --tunnel2. Install from Source
Clone the repository and execute the setup script:
git clone https://github.com/haydermuhib/gemini-antigravity-orchestrator-mcp.git
cd gemini-antigravity-orchestrator-mcp
chmod +x install.sh && ./install.shThe script verifies Python 3.10+, checks for cloudflared, installs the antigravity-mcp CLI into ~/.local/bin, and registers the server with local Antigravity IDE configuration.
Prerequisites
Python 3.10 or higher
Cloudflared (creates the HTTPS tunnel for Gemini Connected Apps)
Linux:
sudo apt install cloudflaredor download from CloudflaremacOS:
brew install cloudflaredWindows:
winget install Cloudflare.cloudflared
Running the Server
Background Service (Linux and macOS)
# Start background server and tunnel
antigravity-mcp start # or ./start_daemon.sh
# View status and retrieve the active public URL
antigravity-mcp status # or ./status.sh
# Stop background server
antigravity-mcp stop # or ./stop_daemon.shForeground Mode
Using Pixi:
pixi run tunnelUsing standard Python:
# Terminal 1: run server on port 8080
python3 server.py --http 8080
# Terminal 2: open tunnel
cloudflared tunnel --url http://127.0.0.1:8080On Windows (Command Prompt or PowerShell):
python server.py --tunnelConnecting to Google Gemini Connected Apps
Start the server using one of the methods above.
Run
./status.shor copy the HTTPS tunnel URL:https://<subdomain>.trycloudflare.com/sseIn Google Gemini, navigate to Settings > Connected Apps > Connect to an MCP server.
Configure the connection fields:
MCP server URL:
https://<subdomain>.trycloudflare.com/sseClient ID:
gemini-client(or any string)Client secret:
gemini-secret(or any string)
Click Connect. Gemini validates the endpoint and loads the tool catalog.
Local Antigravity IDE Configuration (Stdio)
To configure the server inside Google Antigravity IDE, Claude Desktop, or Cursor, add it to your mcp_config.json:
Option A: Direct PyPI Execution via uvx (No clone required)
{
"mcpServers": {
"antigravity-orchestrator": {
"command": "uvx",
"args": [
"antigravity-mcp",
"--stdio"
]
}
}
}Option B: Local Source / Development
{
"mcpServers": {
"antigravity-orchestrator": {
"command": "python3",
"args": [
"/path/to/gemini-antigravity-orchestrator-mcp/server.py",
"--stdio"
],
"env": {
"PYTHONUNBUFFERED": "1"
},
"disabled": false
}
}
}Available Tools
The server provides 18 tools to connected models:
Tool Name | Description | Key Arguments |
| Returns IDE status, workspace path, tool/rule counts, and runtime info. | None |
| Lists detected workspaces on the machine and shows which is active. | None |
| Switches the active workspace to another project directory at runtime. |
|
| Discovers skills across workspace, global, builtin, and plugin scopes. |
|
| Retrieves |
|
| Searches skills using keyword matching. |
|
| Lists installed plugins, manifests, versions, and subagents. | None |
| Returns full details of a plugin and its configuration. |
|
| Discovers active rules in workspace and global settings. | None |
| Reads the content and trigger conditions of a rule. |
|
| Lists recent conversation IDs and brain artifacts. | None |
| Reads recent steps, user inputs, and tool calls from |
|
| Lists markdown reports and diffs in the conversation brain. |
|
| Reads the markdown content of an artifact file. |
|
| Executes shell commands in the workspace with exit code, stdout, and stderr. |
|
| Scaffolds a new Antigravity skill directory and |
|
| Creates or updates an Antigravity rule in |
|
| Generates an execution plan matching task intent with skills and rules. |
|
Protocol Transports
Server-Sent Events (SSE):
GET /sseandPOST /message?sessionId=<id>Streamable HTTP POST:
POST /andPOST /mcpStdio Protocol:
python3 server.py --stdio
Testing
Run the automated test suites:
# HTTP, SSE, OAuth, HEAD pre-flight, and static asset tests
python3 test_http_mcp.py
# Stdio JSON-RPC 2.0 protocol and 18-tool verification
python3 test_mcp.pyLicense
MIT License. See LICENSE for details.
Available Tools
18 toolscreate_workspace_ruleB
Creates an Antigravity rule in the workspace (.agents/rules/*.md or GEMINI.md) or global settings.
Inputs: content (required), filename (required), scope, trigger.
create_workspace_skillC
Scaffolds a new Antigravity skill adhering to the Antigravity Customization System (creates SKILL.md with YAML frontmatter).
Inputs: name (required), description (required), instructions (required), scope.
execute_workspace_commandB
Executes a shell command directly in the Antigravity workspace, capturing stdout, stderr, exit code, and execution time.
Inputs: command (required), cwd, timeout.
get_antigravity_statusA
Returns the real-time status of Google Antigravity IDE, including active workspace paths, config locations, total skills/plugins/rules counts, and system environment.
Inputs: no named parameters.
get_conversation_transcriptB
Inspects the execution transcript of an Antigravity conversation, allowing Gemini to review recent agent steps, user prompts, thoughts, and tool invocations.
Inputs: limit, conversation_id.
get_plugin_detailsA
Gets full configuration, manifest metadata, rules, and MCP definitions of a specific plugin (e.g. 'cursor-team-kit', 'ponytail', 'pstack').
Inputs: plugin_name (required).
get_ruleB
Reads the full content and triggers of an Antigravity rule file by name or path.
Inputs: rule_identifier (required).
get_skillA
Retrieves the complete instructions (SKILL.md), YAML frontmatter, procedures, and associated scripts/references/examples for a specific Antigravity skill.
Inputs: skill_name (required).
list_artifactsB
Lists generated artifacts (plans, code diffs, reports, diagrams) in the Antigravity conversation brain directory.
Inputs: conversation_id.
list_conversationsB
Lists recent Antigravity IDE conversations, timestamps, artifacts counts, and status from the brain store.
Inputs: no named parameters.
list_known_workspacesA
Discovers and lists all known development projects and workspaces on the user's system, showing which one is currently active.
Inputs: no named parameters.
list_pluginsB
Lists all installed Antigravity plugins across workspace and global configurations (~/.gemini/config/plugins), including their manifests, descriptions, versions, exposed skills, and subagents.
Inputs: no named parameters.
list_rulesA
Discovers all active rules across workspace (GEMINI.md, AGENTS.md, .agents/rules/.md) and global settings (~/.gemini/config/rules/.md).
Inputs: no named parameters.
list_skillsC
Discovers and lists all skills available to Antigravity agents. Can filter by scope ('all', 'workspace', 'global', 'builtin', 'plugins') or by plugin name.
Inputs: scope, plugin_filter.
orchestrate_agent_workflowC
Formulates an end-to-end execution blueprint for a task by identifying required Antigravity skills, applicable rules, and steps.
Inputs: task (required), preferred_aesthetic.
read_artifactB
Reads the markdown or code content of a specific artifact file.
Inputs: artifact_name_or_path (required), conversation_id.
search_skillsA
Searches skills by natural language query or keywords across skill names and descriptions to find the right procedure for a task.
Inputs: query (required).
set_active_workspaceA
Dynamically switches the active workspace to another folder/repository on the user's machine at runtime. All subsequent commands, skills, and rules will target this new workspace without restarting the server.
Inputs: workspace_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Each tool largely targets a distinct resource or action (plugins, skills, rules, conversations, artifacts, workspaces, commands, workflow orchestration), with clear list/get/search/create distinctions. Minor potential confusion exists between get_antigravity_status and list_known_workspaces for workspace discovery, and between list_skills and search_skills for finding skills, but boundaries are generally clear.
All tool names use a consistent snake_case verb_noun pattern: get_, list_, set_, search_, execute_, create_, orchestrate_. There are no deviations or mixed conventions.
18 tools for an orchestrator covering multiple resource types (plugins, skills, rules, conversations, artifacts, workspaces, commands, workflow) is somewhat heavy but reasonable. Each resource has a small, focused set of operations, though some list/get pairs could arguably be consolidated.
The surface provides good discovery and read coverage, plus create operations for skills and rules. However, update and delete operations are missing for skills and rules, and there is no lifecycle management for conversations, artifacts, or workspaces, leaving notable gaps for full management.
Maintenance
Related MCP Connectors
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Connect assistants to your workspace knowledge, skills, and work tools.
Connect AI agents to shared Spaces for context, sourced work, tasks, and runs.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAntigravity Link is an MCP server and mobile companion for Google's Antigravity IDE. It captures live snapshots of the Antigravity chat UI via Chrome DevTools Protocol and serves them to a mobile web client. From your phone you can send messages, upload files, stop AI generation, switch instances, and read task/walkthrough/plan documents. Exposes 9 MCP tools and a full OpenAPI 3.1 spec.57 npm225MIT
- FlicenseNot gradedqualityDmaintenanceActs as a programmatic bridge for the Google Antigravity Python SDK, enabling real-time AI agent swarms, bidirectional tool proxying, and Human-in-the-Loop execution safety.2-
- AlicenseNot gradedqualityBmaintenanceEnables Antigravity IDE to delegate coding, debugging, and architecture work to an already logged-in Gemini, Claude, ChatGPT, or DeepSeek web session, then applies the returned changes directly to workspace files over a local WebSocket bridge.9GPL 3.0
- AlicenseCqualityBmaintenanceConnect Google Antigravity 2, VS Code, Cursor and Claude Code to Gemini Notebooks (formerly NotebookLM, both personal and Google Cloud Enterprise). Exposes 21 MCP tools for workspace notebook binding, grounded Q&A with citations, Fast and Deep Research, bi-directional file sync, and Studio artifact generation.2113MIT