antigravity-mcp

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "antigravity-mcp" with this command: npx skills add ada20204/antigravity-sync-mcp/ada20204-antigravity-sync-mcp-antigravity-mcp

antigravity-mcp

Use the local Antigravity MCP server for lightweight asks, workspace inspection, and image generation.

Features

  • 🔌 Direct MCP Connection - Connects directly to antigravity-mcp-server
  • 🖼️ Image Generation - Generate images via Antigravity AI
  • 📊 Code Analysis - Analyze project code and architecture
  • 🔄 Async Support - Full asyncio implementation
  • 🛡️ Error Handling - Comprehensive error handling and logging

Prerequisites

# 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

Installation

# Skill is automatically discovered by OpenClaw
# Place in: ~/.agents/skills/antigravity-mcp/

# Verify installation
openclaw skills list | grep antigravity

Usage

Command Line

# 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

As OpenClaw Tool

# 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()

Available Actions

ActionDescriptionExample
ask-antigravitySend prompt to Antigravity AIGenerate images, analyze code, answer questions
antigravity-stopStop running generationCancel long-running tasks
pingTest connectivityCheck if server is ready
list-workspacesList available workspacesSee available project contexts
quota-statusCheck quotaVerify usage limits
launch-antigravityLaunch AntigravityStart Antigravity with CDP

Architecture

┌─────────────────────────────────────────────┐
│         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.)   │
└─────────────────────────────────────────────┘

Troubleshooting

Server not found

# 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)

Connection timeout

# Check if server is already running
ps aux | grep antigravity-mcp-server

# Check logs
tail ~/.config/antigravity-mcp/logs/latest.log

Image generation fails

  • Verify Antigravity app has necessary permissions
  • Check quota status: use quota-status action
  • Ensure prompt is not blocked by safety filters

Contributing

This Skill is designed to be:

  • Modular: Easy to extend with new actions
  • Maintainable: Clear error handling and logging
  • Compatible: Works with OpenClaw ecosystem

License

MIT - OpenClaw Agent

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

qwen-voice

No summary provided by upstream source.

Repository SourceNeeds Review
General

media-compress

Compress and convert images and videos using ffmpeg. Use when the user wants to reduce file size, change format, resize, or optimize media files. Handles common formats like JPG, PNG, WebP, MP4, MOV, WebM. Triggers on phrases like "compress image", "compress video", "reduce file size", "convert to webp/mp4", "resize image", "make image smaller", "batch compress", "optimize media".

Archived SourceRecently Updated
General

humanizer

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Archived SourceRecently Updated
General

Drawing

Generate children's drawings and coloring pages with modular prompts, style packs, and print-ready constraints across image models.

Archived SourceRecently Updated