# ask-antigravity [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/Lykhoyda/ask-llm  
**GitHub Stars:** 20  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ask-antigravity

## Description
Bridge Claude with Google's Antigravity CLI (agy) for code review and second opinions

## Tools
Capabilities this server exposes over MCP:

- **ask-llm** — Unified orchestrator: pick a provider per call, or fan out to every installed provider
- **multi-llm** — Send one prompt to multiple providers in parallel; returns per-provider responses and usage in one call
- **ask-codex** — Codex CLI. GPT-6 Astra with Terra fallback. Omit `sessionId` for ephemeral use, or pass `sessionId: ""` first to persist and resume
- **ask-claude** — Claude Code CLI. `opus` (Opus 5.5) with Sonnet fallback; native sessions; Read/Glob/Grep-only workspace access
- **ask-grok** — One-shot Grok prompt through explicit `xai-api` (default) or `grok-cli`; exact harness model ID; no harness/model fallback
- **ask-cursor-agent** — Model-neutral Cursor Agent harness: separate provider (`claude`, `codex`, `gemini`, `grok`) + exact Cursor catalog model verified against that family; read-only ask mode; no force/trust/spend changes or fallback
- **ask-antigravity** — Google Antigravity (`agy`) for a subscription-backed second opinion. Experimental; one-shot
- **ask-ollama** — Local Ollama. Fully private, zero cost. Server-side conversation replay via `sessionId
- **ask-gemini** — Gemini CLI with `@` file syntax. 1M+ token context. Live progressive output via `stream-json
- **ask-gemini-edit** — Structured OLD/NEW code edit blocks from Gemini
- **fetch-chunk** — Retrieve chunks from cached large responses
- **get-usage-stats** — Per-session token totals, fallback counts, breakdowns by provider/model. In-memory only
- **diagnose** — Self-diagnosis: Node version, PATH resolution, provider CLI presence and versions. Read-only
- **ping** — Connection test

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Lykhoyda/ask-llm), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm i -g @ask-llm/mcp && ask-llm setup
```

## Documentation

## What ask-antigravity does

ask-antigravity brings model-based second opinions into coding assistants. Its Antigravity route sends a one-shot prompt through Google's Antigravity CLI, `agy`, using an existing subscription-backed account. Typical requests include reviewing changes for bugs, checking error handling, or challenging assumptions in an implementation plan.

The package also acts as a unified MCP gateway for several other provider routes. A calling assistant can select one provider for a request or send the same prompt to multiple installed providers and compare their responses. The assistant working in the host remains responsible for editing code and deciding which findings to accept.

## How it works

Install the package as a global Node.js command, then run its setup flow. Setup detects supported hosts and workflows, shows a preview, and lets you confirm only the registrations you want. Some hosts require a printed manual command or workflow step. Restart the host, or begin a new project session, after registration.

The provider CLIs and accounts are separate prerequisites. The coding assistant and the provider being consulted must already be installed and signed in; setup configures the MCP connection but does not install providers or authenticate accounts. Requests consume the selected provider's plan quota or account billing. Ollama is available for local inference, while Grok's explicit xAI API path is metered separately.

## Setup and configuration

Node.js 24 or newer is required on Linux or macOS. Install and initialize the package with:

```bash
npm i -g @ask-llm/mcp
ask-llm setup
```

For Codex, setup prints the registration command to run. A default global installation uses:

```bash
codex mcp add ask-llm -- "$(npm prefix -g)/bin/ask-llm-mcp"
```

Antigravity workflows may also require a manual setup step. The provider must be explicitly enabled before Antigravity requests can execute. Run `ask-llm doctor` when a request fails; the diagnostic checks Node.js, PATH resolution, provider executables, and detected versions.

## Tools and capabilities

- `ask-antigravity` sends an experimental, one-shot request through Google Antigravity.
- `ask-llm` selects a provider per call or fans out to every installed provider.
- `multi-llm` runs one prompt against multiple providers in parallel and returns responses with usage data.
- `ask-codex`, `ask-claude`, `ask-grok`, `ask-cursor-agent`, `ask-ollama`, and `ask-gemini` expose provider-specific routes.
- `ask-gemini-edit` requests structured OLD/NEW code edit blocks.
- `fetch-chunk` retrieves pieces of cached large responses, while `get-usage-stats` reports in-memory session totals and fallback counts.
- `diagnose` performs read-only environment checks, and `ping` tests the connection.

Provider-specific behavior matters. Codex and Claude support sessions, Ollama can replay conversations server-side, Gemini supports `@` file syntax and progressive output, and Cursor Agent uses a separate provider plus an exact catalog model. Antigravity is one-shot rather than session-based.

## Limitations and notes

Google does not support third-party headless use of Antigravity on consumer plans, so its route is experimental and requires explicit opt-in. After opting in, read-only access cannot be guaranteed. Review only code and prompts you are permitted to share with the selected provider.

Ask LLM sends no telemetry, but each provider and host may apply its own data policies. Model agreement is not proof that a finding is correct; verify suggestions against the source, tests, and project requirements. Usage statistics are kept in memory only. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/ask-antigravity/readme_

