Use when Antigravity MCP is available locally and you want to query workspaces, check quota, run lightweight Antigravity asks, or generate images through the local antigravity-mcp-server.
Use the local Antigravity MCP server for lightweight asks, workspace inspection, and image generation.
# 1. Antigravity MCP Server must be installed
ls ~/.config/antigravity-mcp/bin/antigravity-mcp-server
# 2. Python 3.8+ with asyncio
python3 --version # >= 3.8
# Skill is automatically discovered by OpenClaw
# Place in: ~/.agents/skills/antigravity-mcp/
# Verify installation
openclaw skills list | grep antigravity
# Ping MCP server
python3 ~/.agents/skills/antigravity-mcp/scripts/antigravity_cli.py ping
# List available tools
python3 ~/.agents/skills/antigravity-mcp/scripts/antigravity_cli.py list-tools
# List known workspaces (prefers local registry)
python3 ~/.agents/skills/antigravity-mcp/scripts/antigravity_cli.py list-workspaces
# Check quota
python3 ~/.agents/skills/antigravity-mcp/scripts/antigravity_cli.py quota-status
# Ask Antigravity to generate/analyze
python3 ~/.agents/skills/antigravity-mcp/scripts/antigravity_cli.py ask \
"ēęäøå¼ 太空ē«åŖēå¾ēļ¼ē©æēå®čŖęļ¼čęÆęÆå°ēåę空"
# Specify output path for image tasks
python3 ~/.agents/skills/antigravity-mcp/scripts/antigravity_cli.py ask \
"ē»äøåŖåÆē±ēē«" -o ~/Desktop/cat.png
# In an OpenClaw conversation or script
from antigravity_mcp import AntigravityMCPClient
client = AntigravityMCPClient()
await client.connect()
# Generate image
result = await client.ask_antigravity(
"ēęäøå¼ ę¶ęå¾ļ¼å±ē¤ŗå¾®ęå”ē³»ē»ēę°ę®ęµ",
output_path="/tmp/architecture.png"
)
await client.disconnect()
| Action | Description | Example |
|---|---|---|
ask-antigravity | Send prompt to Antigravity AI | Generate images, analyze code, answer questions |
antigravity-stop | Stop running generation | Cancel long-running tasks |
ping | Test connectivity | Check if server is ready |
list-workspaces | List available workspaces | See available project contexts |
quota-status | Check quota | Verify usage limits |
launch-antigravity | Launch Antigravity | Start Antigravity with CDP |
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā OpenClaw Agent / CLI ā
āāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
āāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā antigravity-mcp Skill (Python/Asyncio) ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā AntigravityMCPClient ā ā
ā ā āā connect() ā ā
ā ā āā ask_antigravity() ā ā
ā ā āā list_tools() ā ā
ā ā āā disconnect() ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā stdio (JSON-RPC)
āāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā antigravity-mcp-server (binary) ā
āāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā CDP / WebSocket / HTTP
āāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Antigravity AI Service ā
ā (Image Generation, Code Analysis, etc.) ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
# Check if antigravity-mcp is installed
ls ~/.config/antigravity-mcp/bin/antigravity-mcp-server
# If not found, install Antigravity app first
# (Antigravity should install MCP server automatically)
# Check if server is already running
ps aux | grep antigravity-mcp-server
# Check logs
tail ~/.config/antigravity-mcp/logs/latest.log
quota-status actionThis Skill is designed to be:
MIT - OpenClaw Agent