Skip to content

Commit 2c28409

Browse files
ArthurDEV44claude
andcommitted
feat(cli): add interactive setup wizard with Antigravity support
- Add @clack/prompts for modern interactive CLI experience - `distill-mcp setup` now launches an interactive wizard by default - Add Antigravity (Google) IDE support alongside Claude Code, Cursor, Windsurf - Pre-select detected IDEs in the wizard - Keep backward compatibility with flags (--claude, --cursor, --windsurf, --antigravity) - Update documentation (EN + FR) with new setup flow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4ed8963 commit 2c28409

File tree

7 files changed

+219
-57
lines changed

7 files changed

+219
-57
lines changed

apps/web/src/content/docs/installation.en.mdx

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ npm install -g distill-mcp
1717
distill-mcp setup
1818
```
1919

20-
That's it! The setup command auto-detects Claude Code, Cursor, and Windsurf.
20+
The interactive setup wizard will guide you through configuring your IDEs (Claude Code, Cursor, Windsurf, Antigravity).
2121

2222
## Prerequisites
2323

2424
- **Node.js 18+** required
25-
- An MCP-compatible IDE (Claude Code, Cursor, or Windsurf)
25+
- An MCP-compatible IDE (Claude Code, Cursor, Windsurf, or Antigravity)
2626

2727
## Installation Options
2828

@@ -36,9 +36,10 @@ distill-mcp setup
3636
### Option 2: Configure Specific IDE
3737

3838
```bash
39-
distill-mcp setup --claude # Claude Code only
40-
distill-mcp setup --cursor # Cursor only
41-
distill-mcp setup --windsurf # Windsurf only
39+
distill-mcp setup --claude # Claude Code only
40+
distill-mcp setup --cursor # Cursor only
41+
distill-mcp setup --windsurf # Windsurf only
42+
distill-mcp setup --antigravity # Antigravity only
4243
```
4344

4445
### Option 3: Run with npx (No Install)
@@ -111,6 +112,21 @@ Edit `~/.codeium/windsurf/mcp_config.json`:
111112
}
112113
```
113114

115+
### Antigravity
116+
117+
Open Antigravity, go to Agent session > MCP Servers > Manage MCP Servers > View raw config, then edit `mcp_config.json`:
118+
119+
```json
120+
{
121+
"mcpServers": {
122+
"distill": {
123+
"command": "distill-mcp",
124+
"args": ["serve"]
125+
}
126+
}
127+
}
128+
```
129+
114130
## Verify Installation
115131

116132
```bash

apps/web/src/content/docs/installation.mdx

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ npm install -g distill-mcp
1717
distill-mcp setup
1818
```
1919

20-
C'est tout ! La commande setup détecte automatiquement Claude Code, Cursor et Windsurf.
20+
L'assistant de configuration interactif vous guidera dans la configuration de vos IDEs (Claude Code, Cursor, Windsurf, Antigravity).
2121

2222
## Prérequis
2323

2424
- **Node.js 18+** requis
25-
- Un IDE compatible MCP (Claude Code, Cursor ou Windsurf)
25+
- Un IDE compatible MCP (Claude Code, Cursor, Windsurf ou Antigravity)
2626

2727
## Options d'installation
2828

@@ -36,9 +36,10 @@ distill-mcp setup
3636
### Option 2 : Configurer un IDE spécifique
3737

3838
```bash
39-
distill-mcp setup --claude # Claude Code uniquement
40-
distill-mcp setup --cursor # Cursor uniquement
41-
distill-mcp setup --windsurf # Windsurf uniquement
39+
distill-mcp setup --claude # Claude Code uniquement
40+
distill-mcp setup --cursor # Cursor uniquement
41+
distill-mcp setup --windsurf # Windsurf uniquement
42+
distill-mcp setup --antigravity # Antigravity uniquement
4243
```
4344

4445
### Option 3 : Exécuter avec npx (Sans installation)
@@ -111,6 +112,21 @@ Ou avec npx (sans installation globale) :
111112
}
112113
```
113114

115+
### Antigravity
116+
117+
Ouvrez Antigravity, allez dans Agent session > MCP Servers > Manage MCP Servers > View raw config, puis éditez `mcp_config.json` :
118+
119+
```json
120+
{
121+
"mcpServers": {
122+
"distill": {
123+
"command": "distill-mcp",
124+
"args": ["serve"]
125+
}
126+
}
127+
}
128+
```
129+
114130
## Vérifier l'installation
115131

116132
```bash

bun.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mcp-server/bin/cli.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ${COLORS.bright}Setup Options:${COLORS.reset}
2828
--claude Configure Claude Code only
2929
--cursor Configure Cursor only
3030
--windsurf Configure Windsurf only
31+
--antigravity Configure Antigravity only
3132
--hooks Install project hooks (enforces MCP tool usage)
3233
--force, -f Overwrite existing configuration
3334
@@ -47,8 +48,9 @@ ${COLORS.bright}Other Options:${COLORS.reset}
4748
--help, -h Show this help message
4849
4950
${COLORS.bright}Examples:${COLORS.reset}
50-
distill-mcp setup Auto-detect and configure all IDEs
51+
distill-mcp setup Interactive setup wizard
5152
distill-mcp setup --claude Configure Claude Code only
53+
distill-mcp setup --antigravity Configure Antigravity only
5254
distill-mcp setup --claude --hooks Configure Claude Code + install hooks
5355
distill-mcp setup --hooks Install hooks only (current project)
5456
distill-mcp setup --force Overwrite existing configurations

packages/mcp-server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"test:coverage": "vitest run --coverage"
3030
},
3131
"dependencies": {
32+
"@clack/prompts": "^0.11.0",
3233
"@huggingface/transformers": "^3.8.1",
3334
"@modelcontextprotocol/sdk": "^1.0.0",
3435
"js-tiktoken": "^1.0.15",

0 commit comments

Comments
 (0)