@insforge/install 0.0.46 → 0.0.48
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 +6 -0
- package/dist/index.js +17 -1
- package/dist/utils.js +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@ npx @insforge/install --client cline --env API_KEY=YOUR_API_KEY --env API_BASE_U
|
|
|
13
13
|
npx @insforge/install --client roocode --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
|
|
14
14
|
npx @insforge/install --client codex --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
|
|
15
15
|
npx @insforge/install --client trae --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
|
|
16
|
+
npx @insforge/install --client antigravity --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130
|
|
16
17
|
|
|
17
18
|
# Install dev version for testing (uses @insforge/mcp@dev)
|
|
18
19
|
npx @insforge/install --client cursor --env API_KEY=YOUR_API_KEY --env API_BASE_URL=http://localhost:7130 --dev
|
|
@@ -33,6 +34,11 @@ npx @insforge/install --client cursor --env API_KEY=YOUR_API_KEY --env API_BASE_
|
|
|
33
34
|
- **windsurf** - Windsurf IDE (uses `~/.codeium/windsurf/mcp_config.json`)
|
|
34
35
|
- **cline** - Cline VS Code Extension (uses `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` on macOS)
|
|
35
36
|
- **roocode** - Roo-Code VS Code Extension (uses `~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roocline/settings/mcp_settings.json` on macOS)
|
|
37
|
+
- **codex** - Codex CLI (uses `~/.codex/mcp_config.json`)
|
|
38
|
+
- **trae** - Trae IDE (uses `~/Library/Application Support/Trae/User/mcp.json` on macOS)
|
|
39
|
+
- **qoder** - Qoder IDE (uses `~/Library/Application Support/Qoder/SharedClientCache/mcp.json` on macOS)
|
|
40
|
+
- **copilot** - GitHub Copilot (uses `.vscode/mcp.json` in project)
|
|
41
|
+
- **antigravity** - Antigravity (uses `~/.gemini/antigravity/mcp_config.json`)
|
|
36
42
|
|
|
37
43
|
## Options
|
|
38
44
|
|
package/dist/index.js
CHANGED
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
writeConfig(config, argv.client);
|
|
226
|
-
} else if (argv.client === "cline" || argv.client === "roocode" || argv.client === "trae" || argv.client === "qoder") {
|
|
226
|
+
} else if (argv.client === "cline" || argv.client === "roocode" || argv.client === "trae" || argv.client === "qoder" || argv.client === "kiro") {
|
|
227
227
|
if (!config.mcpServers) config.mcpServers = {};
|
|
228
228
|
config.mcpServers[name] = {
|
|
229
229
|
command: "npx",
|
|
@@ -266,6 +266,22 @@ import {
|
|
|
266
266
|
|
|
267
267
|
fs.writeFileSync(mcpConfigPath, JSON.stringify(copilotConfig, null, 2));
|
|
268
268
|
logger.info(`Configured Copilot MCP at: ${mcpConfigPath}`);
|
|
269
|
+
} else if (argv.client === "antigravity") {
|
|
270
|
+
// Antigravity uses args instead of env vars
|
|
271
|
+
if (!config.mcpServers) config.mcpServers = {};
|
|
272
|
+
config.mcpServers[name] = {
|
|
273
|
+
command: "npx",
|
|
274
|
+
args: [
|
|
275
|
+
"-y",
|
|
276
|
+
mcpVersion,
|
|
277
|
+
"--api_key",
|
|
278
|
+
envVars.API_KEY,
|
|
279
|
+
"--api_base_url",
|
|
280
|
+
envVars.API_BASE_URL
|
|
281
|
+
],
|
|
282
|
+
env: {}
|
|
283
|
+
};
|
|
284
|
+
writeConfig(config, argv.client);
|
|
269
285
|
}
|
|
270
286
|
|
|
271
287
|
// Fetch instructions documentation and save to appropriate files
|
package/dist/utils.js
CHANGED
|
@@ -64,6 +64,14 @@ var clientPaths = {
|
|
|
64
64
|
qoder: {
|
|
65
65
|
type: "file",
|
|
66
66
|
path: path.join(baseDir, "Qoder", "SharedClientCache", "mcp.json")
|
|
67
|
+
},
|
|
68
|
+
antigravity: {
|
|
69
|
+
type: "file",
|
|
70
|
+
path: path.join(homeDir, ".gemini", "antigravity", "mcp_config.json")
|
|
71
|
+
},
|
|
72
|
+
kiro: {
|
|
73
|
+
type: "file",
|
|
74
|
+
path: path.join(homeDir, ".kiro", "settings", "mcp.json")
|
|
67
75
|
}
|
|
68
76
|
};
|
|
69
77
|
var clientNames = Object.keys(clientPaths);
|