All MCP Hosts
Pro: Inline HTML EmbedFree: Private Web Vault

Connect Antigravity to DiagramReply via MCP

Antigravity App supports two explicit delivery paths depending on your DiagramReply plan: Pro accounts embed the original interactive HTML right inside the conversation using a local Skill, while Free accounts open the exact same interactive result via an authenticated private web link.

Pro Path: Inline HTML in Chat

After show_visual generates your artifact, Antigravity calls get_antigravity_export, writes the offline HTML artifact via embed.py using the local renderer bundle, and embeds the original interactive widget directly in chat with <agent-embed>.

Requires DiagramReply Pro and three public Skill files installed in ~/.gemini/config/skills/diagramreply/.

Free Path: Authenticated Private Web

Only the mcp_config.json entry is required. Every show_visual call returns a private /artifacts/<id> link accessible only when signed into your account, with zero extra quota consumed for opening, refreshing, or dragging sliders.

Note: Offline HTML export via get_antigravity_export requires Pro.

Setup, Skill Install & Health Check

1. Merge DiagramReply into Antigravity mcp_config.json

Open MCP Servers → Manage MCP Servers → View raw config in Antigravity, merge the entry below into your existing mcpServers object, save, and refresh.

mcp_config.jsonUses /api/mcp with Bearer auth
{
  "mcpServers": {
    "diagramreply": {
      "serverUrl": "https://diagramreply.com/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}

2. Install the public Skill files (Pro inline embed & proactive triggering)

Download the three public files (SKILL.md, embed.py, renderer.json.gz) into ~/.gemini/config/skills/diagramreply/. All embedding runs offline inside the standard sandbox and never reads MCP credential files.

Download Skill files
mkdir -p ~/.gemini/config/skills/diagramreply
curl -fsSL "https://diagramreply.com/antigravity/diagramreply/SKILL.md" -o ~/.gemini/config/skills/diagramreply/SKILL.md
curl -fsSL "https://diagramreply.com/antigravity/diagramreply/embed.py" -o ~/.gemini/config/skills/diagramreply/embed.py
curl -fsSL "https://diagramreply.com/antigravity/diagramreply/renderer.json.gz" -o ~/.gemini/config/skills/diagramreply/renderer.json.gz

3. Verify connectivity (0 quota used)

Free MCP health check
curl -sS -X POST "https://diagramreply.com/api/mcp" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_wallet_status","arguments":{}}}'
Automatic Skill update notifications

Prefer not to copy files manually? Sign in to Connect AI for a 1-click setup prompt that lets Antigravity configure everything for you. Whenever a newer Skill or renderer bundle ships, Antigravity automatically detects the version bump and asks before refreshing the three public files.

Try the exact same interactive examples in Antigravity

Test the 6-step AI Agent bug-fix loop and 3-curve SaaS pricing simulator below, then copy the shared prompt into a new Antigravity conversation to confirm generation and delivery.

Example promptDesign a 6-step autonomous bug-fix loop for an AI coding agent with retry, rejection, and canary rollback branches plus per-step checklists.
AI Bug-Fix Closed Loopoverview · Feedback Loops