supergravity-mcp 0.1.1 → 0.1.2
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 +15 -1
- package/package.json +3 -2
- package/skills/supergravity/SKILL.md +52 -0
package/README.md
CHANGED
|
@@ -39,7 +39,21 @@ set `ANTIGRAVITY_APP_PATH` if it lives somewhere else.
|
|
|
39
39
|
Register it with Claude Code:
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
claude mcp add supergravity --
|
|
42
|
+
claude mcp add supergravity -- npx -y supergravity-mcp
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Optional: the skill
|
|
46
|
+
|
|
47
|
+
`skills/supergravity/SKILL.md` teaches Claude how to route natural requests
|
|
48
|
+
("use gemini", "ask antigravity", "check antigravity's quota") to the right
|
|
49
|
+
tool call and model — without it, Claude still has the tools, just less
|
|
50
|
+
guidance on picking a model or handling a quota-exhausted error. Install it
|
|
51
|
+
globally so it applies everywhere:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
mkdir -p ~/.claude/skills/supergravity
|
|
55
|
+
curl -o ~/.claude/skills/supergravity/SKILL.md \
|
|
56
|
+
https://raw.githubusercontent.com/presidentrice/supergravity-mcp/main/skills/supergravity/SKILL.md
|
|
43
57
|
```
|
|
44
58
|
|
|
45
59
|
## The tools
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supergravity-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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: supergravity
|
|
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 MCP server (delegate_to_antigravity, get_antigravity_quota tools) to be connected.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# supergravity
|
|
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.
|