npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@h0wzy/mcp-server-antigravity

v1.0.7

Published

Google Antigravity MCP Server connecting any MCP client to Google Antigravity (Gemini)

Readme

🌌 @h0wzy/mcp-server-antigravity

npm License: MIT

High-performance Google Antigravity MCP Server connecting any Model Context Protocol client (such as Claude Code, OpenAI Codex, or custom agents) to Google Antigravity's models (default Gemini 3.8 Flash).

Part of the H0wZy/mcp multi-agent ecosystem.


🔌 Available Tools

| Tool Name | Parameters | Description | | :--- | :--- | :--- | | configure_antigravity | action (get | set | reset | list), tier, model, effort (all optional) | Inspect or change the session's model and reasoning effort; tiers light / balanced / deep. | | ask_antigravity | prompt (string), paths, model, effort (optional) | Independent second opinion or general question for Google Antigravity. | | review_antigravity | prompt (string), paths, model, effort (optional) | Structured code review with your focus areas. | | brainstorm_antigravity | prompt (string), paths, model, effort (optional) | Architectural alternatives, trade-offs and a recommendation. | | plan_antigravity | prompt (string), paths, model, effort (optional) | Dependency-ordered implementation plan with file paths and test steps. | | delegate_antigravity | prompt (string), cwd (string), paths (string[], optional), model, effort (optional), timeout_minutes (number, 1-60, default 30) | Edits files inside cwd. Hand a self-contained implementation task to Antigravity and get its final report. Review the diff afterwards. |

delegate_antigravity writes to disk and never commits. Review the diff (git diff) before keeping its changes.

Read-only tools (ask_*, review_*, brainstorm_*, plan_*) run agy without --dangerously-skip-permissions. In print mode Antigravity then soft-denies anything that needs approval (file edits, and shell commands or MCP tools you haven't allowed): nothing is written, and any notice agy prints (skipped actions) is listed under "Antigravity notices" in the answer. These calls also tell the model up front that the request is read-only, which saves the turns it would spend trying. To let reviews run commands such as git diff, add rules like "command(git)" to permissions.allow in ~/.gemini/antigravity-cli/settings.json (permissions docs). Only delegate_antigravity auto-approves.

Default model: Gemini 3.8 Flash (High). Override per call (model, effort), per session with configure_antigravity, or at startup with AGY_MODEL / AGY_EFFORT.

Loop guard (spec 006). Every task tool goes through the shared loop guard before the agent starts. Each reply ends with a trace line such as [chain claude→antigravity · depth 1/2 · calls 1/8 · run a1b2c3d4], and calls that would loop are refused with ⛔ [Loop guard: …]. hmcp install adds --host <agent> to the launch arguments so the guard knows which agent is calling.


🚀 Installation & Usage

1. Automated Setup via hmcp CLI (Recommended)

The easiest way to install and register this bridge into Claude Code or OpenAI Codex:

# Install globally or per-project
hmcp install claude-antigravity --scope user

2. Standalone Execution via npx

You can run the server directly with zero prior setup:

npx @h0wzy/mcp-server-antigravity

3. Manual Configuration

In Claude Code (~/.claude.json):

{
  "mcpServers": {
    "antigravity": {
      "command": "npx",
      "args": ["-y", "@h0wzy/mcp-server-antigravity"]
    }
  }
}

Or using local source:

{
  "mcpServers": {
    "antigravity": {
      "command": "node",
      "args": ["<path-to-mcp>/servers/antigravity/bin/cli.js"]
    }
  }
}

🛡️ Requirements & Resilience

  • Google Antigravity CLI (agy): Must be installed and authenticated on your system.
  • Cross-Platform: Automatically locates agy.exe (Windows) or agy (macOS/Linux) via native PATH resolution.
  • Rate Limit & Quota Resilience: Gracefully traps HTTP 429 and ResourceExhausted errors, returning structured fallback responses rather than crashing the client session.
  • Privacy & Security: Built-in credential redaction proactively masks API keys, Google tokens, and sensitive headers from error messages.
  • MCP servers that never connect: agy loads every server in ~/.gemini/config/mcp_config.json on each call and starts its turn only once all of them have connected. One unreachable server makes every call wait until its time limit and come back empty. The bridge reports that as ⏱️ Antigravity did not finish within N min… and names the servers agy was still waiting for (from a private --log-file, deleted after the call). Bring the server back online or remove it with agy mcp remove <name>; agy mcp disable did not stop the wait in agy 1.3.1.

📄 License

Created by Marcos (H0wZy) under the MIT License.
Full documentation and repository: 👉 H0wZy/mcp