Skip to main content
Glama
Antigravity Monitor MCP

Antigravity Monitor MCP

by super-juejue

Preview


Related MCP server: Cache Pulse

Features

Capability

Details

📊

Token & Cache Telemetry

Uncached input, cache read, output tokens, and live Cache Hit Rate % across 24h, 7d, 30d, and all.

🧠

Models & Cost Estimates

Per-model turn counts, token shares, cache ratios, and optional user-configurable USD rates.

🌿

Sessions & Subagent Rollups

Rolls child subagents into parent conversations with expandable trees and a turn-by-turn Session Inspector.

🧰

Tools & Disk Footprint

Tool invocation rankings (read_file, edit_file, run_command, …) and ~/.gemini/antigravity storage breakdown.

🎨

Native Antigravity UI

Opens in Left Sidebar (global) or Side Pane (aux_pane), live-syncing Light/Dark host themes.

⚡

Zero Native Addons

Built-in read-only node:sqlite + incremental (mtime, size) transcript cache for sub-30 ms refreshes.


Quick Start

Requirements: Antigravity Desktop · Node.js >= 22.5 · macOS / Linux / WSL

1. One-Prompt Install (Recommended)

Copy and paste this prompt into Antigravity Desktop:

Install the Antigravity Monitor MCP plugin from https://github.com/super-juejue/antigravity_monitor_mcp.git: clone it into ~/.gemini/config/plugins/antigravity-monitor, verify Node.js >= 22.5, run `npm install && npm run build`, and refresh the `antigravity-monitor_monitor` MCP server so I can open Monitor from the sidebar.

2. Manual Install

mkdir -p ~/.gemini/config/plugins
git clone https://github.com/super-juejue/antigravity_monitor_mcp.git ~/.gemini/config/plugins/antigravity-monitor
cd ~/.gemini/config/plugins/antigravity-monitor
npm install && npm run build

Antigravity Desktop auto-discovers plugins under ~/.gemini/config/plugins/—no config file edits needed.

git clone https://github.com/super-juejue/antigravity_monitor_mcp.git
cd antigravity_monitor_mcp
npm install && npm run build

npm run install:plugin       # Symlink into ~/.gemini/config/plugins/antigravity-monitor
# or
npm run install:plugin:copy  # Copy standalone bundle

Usage

Open Monitor from any of three native entrypoints:

  1. Left Sidebar — Click Monitor for the full-page view.

  2. Side Pane — Click + in the auxiliary pane and select Monitor (supports Attach Snapshot to chat).

  3. Chat — Ask naturally: "Open Monitor for the last 7 days" or "What's my cache hit rate today?"

Not showing up right away? Open Settings → MCP Servers, refresh antigravity-monitor_monitor, or reload the window (Cmd + R / Ctrl + R).


Privacy

100% local, zero telemetry, zero outbound requests.

Local Path

Mode

Purpose

~/.gemini/antigravity/brain/<id>/.system_generated/logs/transcript.jsonl

Read-only

Planner tokens, models, tool calls, errors

~/.gemini/antigravity/conversation_summaries.db

Read-only

Titles, workspaces, live status, subagent links

~/.gemini/antigravity/*

Read-only

Directory size scan on demand

${PLUGIN_DATA}/preferences.json

Plugin-owned

Budgets, auto-refresh, custom model rates


Reference

Name

Visibility

Role

ui://antigravity-monitor/dashboard.html

UI Resource

Single-file React bundle (text/html;profile=mcp-app)

open_usage_monitor

Model + App

Launches dashboard (aux_pane & global entrypoints)

get_usage_summary

Model

Text + structured summary for quick chat Q&A

app_get_dashboard_data

App only

Filtered time-series, models, workspaces, sessions, tools

app_get_session_detail

App only

Per-turn progression, tools, and errors for one session

app_get_storage_stats

App only

Local ~/.gemini/antigravity disk usage scan

app_save_preferences

App only

Eager preference persistence to ${PLUGIN_DATA}

Update

cd ~/.gemini/config/plugins/antigravity-monitor
git pull && npm install && npm run build

Then restart antigravity-monitor_monitor from Settings → MCP Servers.

Uninstall

Disable/uninstall from Skills & Customizations → Monitor, or run:

rm -rf ~/.gemini/config/plugins/antigravity-monitor
# Or, if installed via developer script:
npm run uninstall:plugin
npm run typecheck   # TypeScript check
npm test            # Unit + MCP protocol integration tests
npm run build       # Build dist/index.html + dist/server.mjs
  • UI hot-reload: Set ANTIGRAVITY_MONITOR_HTML=/path/to/dist/index.html, run npm run build:app, and reopen the view.

  • Custom data path: Set ANTIGRAVITY_DATA_DIR=/path/to/antigravity.

  • Launcher self-check: Run bash ~/.gemini/config/plugins/antigravity-monitor/bin/antigravity-monitor --help.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to inspect real-time prompt cache hit rate, task throughput, and per-model token usage for Antigravity sessions and 5h/1d/7d windows through an interactive local dashboard. It combines lifecycle hook timing with local transcript data, with zero outbound network telemetry.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables real-time monitoring of Google Antigravity context usage with detailed Messages/Thinking/Tool breakdowns, cache and checkpoint telemetry, one-click compaction, and smart suggested replies across Desktop, IDE, and CLI/tmux.
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An Antigravity MCP App plugin that surfaces real-time context window occupancy, remaining tokens, prompt cache hit rate, output speed, rolling 5-hour/7-day quota usage, and a 28-day activity heatmap by read-only parsing of local transcript logs. It presents these metrics in a theme-aware sidebar dashboard without patching or injecting into the host client.
      MIT