add-mcp 1.4.0 → 1.5.0

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Add MCP servers to your favorite coding agents with a single command.
4
4
 
5
- Supports **Claude Code**, **Codex**, **Cursor**, **OpenCode**, **VSCode** and [8 more](#supported-agents).
5
+ Supports **Claude Code**, **Codex**, **Cursor**, **OpenCode**, **VSCode** and [9 more](#supported-agents).
6
6
 
7
7
  ## Install an MCP Server
8
8
 
@@ -138,6 +138,7 @@ MCP servers can be installed to any of these agents:
138
138
 
139
139
  | Agent | `--agent` | Project Path | Global Path |
140
140
  | ---------------------- | -------------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------- |
141
+ | Antigravity | `antigravity` | - | `~/.gemini/antigravity/mcp_config.json` |
141
142
  | Cline VSCode Extension | `cline` | - | `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` |
142
143
  | Cline CLI | `cline-cli` | - | `~/.cline/data/settings/cline_mcp_settings.json` |
143
144
  | Claude Code | `claude-code` | `.mcp.json` | `~/.claude.json` |
package/dist/index.js CHANGED
@@ -99,6 +99,12 @@ function getPlatformPaths() {
99
99
  }
100
100
  }
101
101
  var { appSupport, vscodePath, gooseConfigPath } = getPlatformPaths();
102
+ var antigravityConfigPath = join2(
103
+ home,
104
+ ".gemini",
105
+ "antigravity",
106
+ "mcp_config.json"
107
+ );
102
108
  var clineCliConfigPath = join2(
103
109
  process.env.CLINE_DIR || join2(home, ".cline"),
104
110
  "data",
@@ -264,6 +270,20 @@ function resolveMcporterConfigPath(agent, options) {
264
270
  return globalJsonPath;
265
271
  }
266
272
  var agents = {
273
+ antigravity: {
274
+ name: "antigravity",
275
+ displayName: "Antigravity",
276
+ configPath: antigravityConfigPath,
277
+ projectDetectPaths: [],
278
+ // Global only - no project support
279
+ configKey: "mcpServers",
280
+ format: "json",
281
+ supportedTransports: ["stdio"],
282
+ unsupportedTransportMessage: "Antigravity only supports local (stdio) servers via its config file. Use mcp-remote to connect to remote servers.",
283
+ detectGlobalInstall: async () => {
284
+ return existsSync(join2(home, ".gemini"));
285
+ }
286
+ },
267
287
  cline: {
268
288
  name: "cline",
269
289
  displayName: "Cline VSCode Extension",
@@ -1030,7 +1050,7 @@ function installServer(serverName, serverConfig, agentTypes, options = {}) {
1030
1050
  // package.json
1031
1051
  var package_default = {
1032
1052
  name: "add-mcp",
1033
- version: "1.4.0",
1053
+ version: "1.5.0",
1034
1054
  description: "Add MCP servers to your favorite coding agents with a single command.",
1035
1055
  author: "Andre Landgraf <andre@neon.tech>",
1036
1056
  license: "Apache-2.0",
@@ -1057,6 +1077,7 @@ var package_default = {
1057
1077
  "mcp",
1058
1078
  "model-context-protocol",
1059
1079
  "ai-agents",
1080
+ "antigravity",
1060
1081
  "cline",
1061
1082
  "claude-code",
1062
1083
  "claude-desktop",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "add-mcp",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Add MCP servers to your favorite coding agents with a single command.",
5
5
  "author": "Andre Landgraf <andre@neon.tech>",
6
6
  "license": "Apache-2.0",
@@ -27,6 +27,7 @@
27
27
  "mcp",
28
28
  "model-context-protocol",
29
29
  "ai-agents",
30
+ "antigravity",
30
31
  "cline",
31
32
  "claude-code",
32
33
  "claude-desktop",