supergravity-mcp 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # supergravity-mcp
2
2
 
3
+ ![supergravity](https://raw.githubusercontent.com/presidentrice/supergravity-mcp/main/assets/hero.jpg)
4
+
3
5
  An MCP server that lets Claude Code (or any MCP client) delegate tasks to the
4
6
  **Google Antigravity** desktop app — by driving its real, already-logged-in UI.
5
7
  No reverse engineering, no extracted credentials, no unofficial API calls.
@@ -27,19 +29,36 @@ same way a human would use it, so it works anywhere the app itself works.
27
29
 
28
30
  ## Setup
29
31
 
30
- ```bash
31
- npm install
32
- npm run build
33
- ```
34
-
35
32
  Antigravity must be installed and already signed in. By default the tool
36
33
  looks for it at `/Applications/Antigravity.app` or `~/Desktop/Antigravity.app`;
37
34
  set `ANTIGRAVITY_APP_PATH` if it lives somewhere else.
38
35
 
39
- Register it with Claude Code:
36
+ ### Easiest: install the plugin (MCP server + skill together)
37
+
38
+ ```bash
39
+ claude plugin marketplace add presidentrice/supergravity-mcp
40
+ claude plugin install supergravity@supergravity-mcp
41
+ ```
42
+
43
+ This gets you both the `delegate_to_antigravity` / `get_antigravity_quota`
44
+ tools and the `supergravity:delegate` skill, which teaches Claude how to
45
+ route natural requests ("use gemini", "ask antigravity", "check antigravity's
46
+ quota") to the right tool call and model.
47
+
48
+ ### Or: just the MCP server, no skill
40
49
 
41
50
  ```bash
42
- claude mcp add supergravity -- node /absolute/path/to/dist/mcp-server.js
51
+ claude mcp add supergravity -- npx -y supergravity-mcp
52
+ ```
53
+
54
+ Works fine without the skill — Claude still has the tools, just less
55
+ built-in guidance on picking a model or handling a quota-exhausted error.
56
+
57
+ ### Building from source
58
+
59
+ ```bash
60
+ npm install
61
+ npm run build
43
62
  ```
44
63
 
45
64
  ## The tools
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "supergravity-mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "🚀 MCP server that lets Claude (or any MCP client) delegate tasks to Google's Antigravity desktop app 🌌. Built for Intel Macs 💻 that Antigravity's own CLI doesn't support.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "supergravity-mcp": "dist/mcp-server.js"
8
8
  },
9
9
  "files": [
10
- "dist"
10
+ "dist",
11
+ "skills"
11
12
  ],
12
13
  "scripts": {
13
14
  "build": "tsc",
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: delegate
3
+ description: Use when the user wants to delegate a task to Google's Antigravity desktop app — phrases like "use gemini", "ask antigravity", "have claude in antigravity do this", "offload this", or "check antigravity's quota". Explains which model to pick and how to handle a disabled-send-button error. Requires the supergravity MCP server (delegate_to_antigravity, get_antigravity_quota tools) to be connected.
4
+ ---
5
+
6
+ # delegate
7
+
8
+ Antigravity is a separate AI desktop app (Google's). This skill runs tasks
9
+ through it via the `supergravity-mcp` MCP server, instead of answering
10
+ yourself — useful when the user explicitly asks to use it, wants a second
11
+ opinion from a different model family, or wants to offload work.
12
+
13
+ ## When to trigger
14
+
15
+ Any explicit ask to use Antigravity or one of the models it hosts:
16
+ "use gemini", "ask antigravity", "get claude opus to do this",
17
+ "offload this to gpt-oss", "check antigravity's quota". Don't trigger on
18
+ generic requests that don't name Antigravity or one of its models — just
19
+ answer normally.
20
+
21
+ ## Picking a model
22
+
23
+ If the user names a specific model ("use claude opus", "use gemini flash"),
24
+ match it to the closest entry in `delegate_to_antigravity`'s `model` enum.
25
+ If they just say "use gemini" or "use antigravity" with no specifics, default
26
+ to `Gemini 3.1 Pro (High)` — solid all-around reasoning, and Gemini models
27
+ are the reliable pool (see below).
28
+
29
+ The tool's own schema carries a cost/strength cheat sheet per model
30
+ (`MODEL_GUIDE`) — read it before picking if the task has a clear profile
31
+ (cheap/fast vs. deep reasoning vs. coding-heavy).
32
+
33
+ ## Quota pools matter
34
+
35
+ Antigravity draws from two separate pools: Gemini models, and Claude+GPT
36
+ models. One pool being exhausted doesn't affect the other. If a call fails
37
+ with `send button is disabled`, that pool is out of quota (or overloaded)
38
+ until it refreshes — don't retry the same model. Instead:
39
+
40
+ 1. Call `get_antigravity_quota` to see which pool has room and how long until
41
+ the exhausted one refreshes.
42
+ 2. If the user's request doesn't require a specific model, retry with a
43
+ Gemini model instead (Gemini has consistently been the reliable default).
44
+ 3. Otherwise, tell the user which pool is out and when it refreshes — don't
45
+ silently fall back without saying so if they asked for a specific model.
46
+
47
+ ## Other failure modes
48
+
49
+ - Antigravity not installed / not found: the error will say so — tell the
50
+ user to check `ANTIGRAVITY_APP_PATH` if it's installed somewhere unusual.
51
+ - Timeout waiting for a reply: the task may just be a large one — retry once
52
+ with a longer `timeoutMs` before concluding something's wrong.