add-mcp 0.3.5 → 0.4.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 +2 -2
- package/dist/index.js +8 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,13 +118,13 @@ MCP servers can be installed to any of these agents:
|
|
|
118
118
|
| -------------- | ---------------- | ----------------------- | ----------------------------------------------------------------- |
|
|
119
119
|
| Claude Code | `claude-code` | `.mcp.json` | `~/.claude.json` |
|
|
120
120
|
| Claude Desktop | `claude-desktop` | - | `~/Library/Application Support/Claude/claude_desktop_config.json` |
|
|
121
|
-
| Codex | `codex` |
|
|
121
|
+
| Codex | `codex` | `.codex/config.toml` | `~/.codex/config.toml` |
|
|
122
122
|
| Cursor | `cursor` | `.cursor/mcp.json` | `~/.cursor/mcp.json` |
|
|
123
123
|
| Gemini CLI | `gemini-cli` | `.gemini/settings.json` | `~/.gemini/settings.json` |
|
|
124
124
|
| Goose | `goose` | `.goose/config.yaml` | `~/.config/goose/config.yaml` |
|
|
125
125
|
| OpenCode | `opencode` | `.opencode.json` | `~/.config/opencode/opencode.json` |
|
|
126
126
|
| VS Code | `vscode` | `.vscode/mcp.json` | `~/Library/Application Support/Code/User/mcp.json` |
|
|
127
|
-
| Zed | `zed` |
|
|
127
|
+
| Zed | `zed` | `.zed/settings.json` | `~/Library/Application Support/Zed/settings.json` |
|
|
128
128
|
|
|
129
129
|
**Aliases:** `github-copilot` → `vscode`
|
|
130
130
|
|
package/dist/index.js
CHANGED
|
@@ -140,8 +140,8 @@ var agents = {
|
|
|
140
140
|
process.env.CODEX_HOME || join(home, ".codex"),
|
|
141
141
|
"config.toml"
|
|
142
142
|
),
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
localConfigPath: ".codex/config.toml",
|
|
144
|
+
projectDetectPaths: [".codex"],
|
|
145
145
|
configKey: "mcp_servers",
|
|
146
146
|
format: "toml",
|
|
147
147
|
supportedTransports: ["stdio", "http", "sse"],
|
|
@@ -220,18 +220,15 @@ var agents = {
|
|
|
220
220
|
zed: {
|
|
221
221
|
name: "zed",
|
|
222
222
|
displayName: "Zed",
|
|
223
|
-
configPath: process.platform === "win32" ? join(
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
"settings.json"
|
|
227
|
-
) : join(home, ".config", "zed", "settings.json"),
|
|
228
|
-
projectDetectPaths: [],
|
|
229
|
-
// Global only - no project support
|
|
223
|
+
configPath: process.platform === "darwin" || process.platform === "win32" ? join(appSupport, "Zed", "settings.json") : join(appSupport, "zed", "settings.json"),
|
|
224
|
+
localConfigPath: ".zed/settings.json",
|
|
225
|
+
projectDetectPaths: [".zed"],
|
|
230
226
|
configKey: "context_servers",
|
|
231
227
|
format: "json",
|
|
232
228
|
supportedTransports: ["stdio", "http", "sse"],
|
|
233
229
|
detectGlobalInstall: async () => {
|
|
234
|
-
|
|
230
|
+
const configDir = process.platform === "darwin" || process.platform === "win32" ? join(appSupport, "Zed") : join(appSupport, "zed");
|
|
231
|
+
return existsSync(configDir);
|
|
235
232
|
},
|
|
236
233
|
transformConfig: transformZedConfig
|
|
237
234
|
}
|
|
@@ -657,7 +654,7 @@ function installServer(serverName, serverConfig, agentTypes, options = {}) {
|
|
|
657
654
|
// package.json
|
|
658
655
|
var package_default = {
|
|
659
656
|
name: "add-mcp",
|
|
660
|
-
version: "0.
|
|
657
|
+
version: "0.4.0",
|
|
661
658
|
description: "Add MCP servers to your favorite coding agents with a single command.",
|
|
662
659
|
author: "Andre Landgraf <andre@neon.tech>",
|
|
663
660
|
license: "Apache-2.0",
|