add-mcp 1.10.2 → 1.10.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
@@ -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 [9 more](#supported-agents).
5
+ Supports **Claude Code**, **Codex**, **Cursor**, **OpenCode**, **VSCode** and [10 more](#supported-agents).
6
6
 
7
7
  ## Install an MCP Server
8
8
 
@@ -49,9 +49,10 @@ MCP servers can be installed to any of these agents:
49
49
  | MCPorter | `mcporter` | `config/mcporter.json` | `~/.mcporter/mcporter.json` (or existing `~/.mcporter/mcporter.jsonc`) |
50
50
  | OpenCode | `opencode` | `opencode.json` | `~/.config/opencode/opencode.json` |
51
51
  | VS Code | `vscode` | `.vscode/mcp.json` | `~/Library/Application Support/Code/User/mcp.json` |
52
+ | Windsurf | `windsurf` | - | `~/.codeium/windsurf/mcp_config.json` |
52
53
  | Zed | `zed` | `.zed/settings.json` | `~/Library/Application Support/Zed/settings.json` |
53
54
 
54
- **Aliases:** `cline-vscode` → `cline`, `gemini` → `gemini-cli`, `github-copilot` → `vscode`
55
+ **Aliases:** `codeium`, `cascade` → `windsurf`, `cline-vscode` → `cline`, `gemini` → `gemini-cli`, `github-copilot` → `vscode`
55
56
 
56
57
  ## Installation Scope
57
58
 
@@ -153,6 +153,12 @@ var copilotConfigPath = join2(
153
153
  process.env.XDG_CONFIG_HOME || join2(home, ".copilot"),
154
154
  "mcp-config.json"
155
155
  );
156
+ var windsurfConfigPath = join2(
157
+ home,
158
+ ".codeium",
159
+ "windsurf",
160
+ "mcp_config.json"
161
+ );
156
162
  function transformGooseConfig(serverName, config) {
157
163
  if (config.url) {
158
164
  const gooseType = config.type === "sse" ? "sse" : "streamable_http";
@@ -503,6 +509,20 @@ var agents = {
503
509
  return existsSync(vscodePath);
504
510
  }
505
511
  },
512
+ windsurf: {
513
+ name: "windsurf",
514
+ displayName: "Windsurf",
515
+ configPath: windsurfConfigPath,
516
+ projectDetectPaths: [],
517
+ // Global only - no project support
518
+ configKey: "mcpServers",
519
+ format: "json",
520
+ supportedTransports: ["stdio", "http", "sse"],
521
+ detectGlobalInstall: async () => {
522
+ return existsSync(join2(home, ".codeium", "windsurf"));
523
+ },
524
+ transformConfig: transformAntigravityConfig
525
+ },
506
526
  zed: {
507
527
  name: "zed",
508
528
  displayName: "Zed",
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  selectAgentsInteractive,
23
23
  supportsProjectConfig,
24
24
  updateGitignoreWithPaths
25
- } from "./chunk-B27GVIBZ.js";
25
+ } from "./chunk-ONLHW5AV.js";
26
26
 
27
27
  // src/index.ts
28
28
  import { program } from "commander";
@@ -33,6 +33,8 @@ import { homedir } from "os";
33
33
  // src/types.ts
34
34
  var agentAliases = {
35
35
  "cline-vscode": "cline",
36
+ codeium: "windsurf",
37
+ cascade: "windsurf",
36
38
  gemini: "gemini-cli",
37
39
  "github-copilot": "vscode"
38
40
  };
@@ -780,7 +782,7 @@ async function runFind(query, options) {
780
782
  // package.json
781
783
  var package_default = {
782
784
  name: "add-mcp",
783
- version: "1.10.2",
785
+ version: "1.10.3",
784
786
  description: "Add MCP servers to your favorite coding agents with a single command.",
785
787
  author: "Andre Landgraf <andre@neon.tech>",
786
788
  license: "Apache-2.0",
@@ -831,6 +833,7 @@ var package_default = {
831
833
  "mcporter",
832
834
  "opencode",
833
835
  "vscode",
836
+ "windsurf",
834
837
  "zed"
835
838
  ],
836
839
  repository: {
package/dist/lib.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- type AgentType = "antigravity" | "cline" | "cline-cli" | "claude-code" | "claude-desktop" | "codex" | "cursor" | "gemini-cli" | "goose" | "github-copilot-cli" | "mcporter" | "opencode" | "vscode" | "zed";
1
+ type AgentType = "antigravity" | "cline" | "cline-cli" | "claude-code" | "claude-desktop" | "codex" | "cursor" | "gemini-cli" | "goose" | "github-copilot-cli" | "mcporter" | "opencode" | "vscode" | "windsurf" | "zed";
2
2
  type ConfigFormat = "json" | "yaml" | "toml";
3
3
  interface AgentConfig {
4
4
  /** Internal name */
package/dist/lib.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  listInstalledServers,
11
11
  readConfig,
12
12
  removeServerFromConfig
13
- } from "./chunk-B27GVIBZ.js";
13
+ } from "./chunk-ONLHW5AV.js";
14
14
 
15
15
  // src/lib.ts
16
16
  import { existsSync } from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "add-mcp",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
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",
@@ -51,6 +51,7 @@
51
51
  "mcporter",
52
52
  "opencode",
53
53
  "vscode",
54
+ "windsurf",
54
55
  "zed"
55
56
  ],
56
57
  "repository": {