@mcp-abap-adt/configurator 0.0.8 → 0.0.10
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/bin/mcp-conf.js +19 -22
- package/docs/CLIENT_INSTALLERS.md +6 -5
- package/package.json +1 -1
package/bin/mcp-conf.js
CHANGED
|
@@ -320,37 +320,33 @@ for (const client of options.clients) {
|
|
|
320
320
|
fail("--project is only supported for Claude global config.");
|
|
321
321
|
}
|
|
322
322
|
if (options.toggle && scope === "local") {
|
|
323
|
-
const localPath = getClaudePath(
|
|
323
|
+
const localPath = getClaudePath(home, "local");
|
|
324
324
|
if (!claudeLocalHasServer(localPath, options.name)) {
|
|
325
325
|
fail(`Server "${options.name}" not found in ${localPath}.`);
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
if (options.list) {
|
|
329
329
|
listClaudeConfig(
|
|
330
|
-
getClaudePath(
|
|
330
|
+
getClaudePath(home, claudeToggleScope),
|
|
331
331
|
options.allProjects,
|
|
332
332
|
options.projectPath,
|
|
333
333
|
);
|
|
334
334
|
} else if (options.show) {
|
|
335
335
|
showClaudeConfig(
|
|
336
|
-
getClaudePath(
|
|
336
|
+
getClaudePath(home, claudeToggleScope),
|
|
337
337
|
options.name,
|
|
338
338
|
options.allProjects,
|
|
339
339
|
options.projectPath,
|
|
340
340
|
);
|
|
341
341
|
} else if (options.where) {
|
|
342
342
|
whereClaudeConfig(
|
|
343
|
-
getClaudePath(
|
|
343
|
+
getClaudePath(home, claudeToggleScope),
|
|
344
344
|
options.name,
|
|
345
345
|
options.allProjects,
|
|
346
346
|
options.projectPath,
|
|
347
347
|
);
|
|
348
348
|
} else {
|
|
349
|
-
writeClaudeConfig(
|
|
350
|
-
getClaudePath(platform, home, appData, claudeToggleScope),
|
|
351
|
-
options.name,
|
|
352
|
-
serverArgs,
|
|
353
|
-
);
|
|
349
|
+
writeClaudeConfig(getClaudePath(home, claudeToggleScope), options.name, serverArgs);
|
|
354
350
|
}
|
|
355
351
|
break;
|
|
356
352
|
}
|
|
@@ -499,6 +495,19 @@ function getClinePath(platformValue, homeDir, appDataDir) {
|
|
|
499
495
|
"cline_mcp_settings.json",
|
|
500
496
|
);
|
|
501
497
|
}
|
|
498
|
+
if (platformValue === "darwin") {
|
|
499
|
+
return path.join(
|
|
500
|
+
homeDir,
|
|
501
|
+
"Library",
|
|
502
|
+
"Application Support",
|
|
503
|
+
"Code",
|
|
504
|
+
"User",
|
|
505
|
+
"globalStorage",
|
|
506
|
+
"saoudrizwan.claude-dev",
|
|
507
|
+
"settings",
|
|
508
|
+
"cline_mcp_settings.json",
|
|
509
|
+
);
|
|
510
|
+
}
|
|
502
511
|
return path.join(
|
|
503
512
|
homeDir,
|
|
504
513
|
".config",
|
|
@@ -521,22 +530,10 @@ function getCodexPath(platformValue, homeDir, userProfileDir, scopeValue) {
|
|
|
521
530
|
return path.join(homeDir, ".codex", "config.toml");
|
|
522
531
|
}
|
|
523
532
|
|
|
524
|
-
function getClaudePath(
|
|
533
|
+
function getClaudePath(homeDir, scopeValue) {
|
|
525
534
|
if (scopeValue === "local") {
|
|
526
535
|
return path.join(process.cwd(), ".mcp.json");
|
|
527
536
|
}
|
|
528
|
-
if (platformValue === "darwin") {
|
|
529
|
-
return path.join(
|
|
530
|
-
homeDir,
|
|
531
|
-
"Library",
|
|
532
|
-
"Application Support",
|
|
533
|
-
"Claude",
|
|
534
|
-
"claude_desktop_config.json",
|
|
535
|
-
);
|
|
536
|
-
}
|
|
537
|
-
if (platformValue === "win32") {
|
|
538
|
-
return path.join(appDataDir, "Claude", "claude_desktop_config.json");
|
|
539
|
-
}
|
|
540
537
|
return path.join(homeDir, ".claude.json");
|
|
541
538
|
}
|
|
542
539
|
|
|
@@ -130,17 +130,16 @@ Paths are client-specific and OS-dependent. The installer writes config files in
|
|
|
130
130
|
|
|
131
131
|
Global (default) locations:
|
|
132
132
|
- **Cline**:
|
|
133
|
-
- Linux
|
|
133
|
+
- Linux: `~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
|
|
134
|
+
- macOS: `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
|
|
134
135
|
- Windows: `%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json`
|
|
135
136
|
- **Codex**:
|
|
136
137
|
- Linux/macOS: `~/.codex/config.toml`
|
|
137
138
|
- Windows: `%USERPROFILE%\.codex\config.toml`
|
|
138
139
|
- Local (project): `./.codex/config.toml`
|
|
139
140
|
- **Claude Code (CLI)**:
|
|
140
|
-
- Linux
|
|
141
|
-
-
|
|
142
|
-
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
143
|
-
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
141
|
+
- Linux/macOS: `~/.claude.json` (per-project entries under `projects.<cwd>.mcpServers`)
|
|
142
|
+
- Windows: `%USERPROFILE%\.claude.json`
|
|
144
143
|
- **Goose**:
|
|
145
144
|
- Linux/macOS: `~/.config/goose/config.yaml`
|
|
146
145
|
- Windows: `%APPDATA%\Block\goose\config\config.yaml`
|
|
@@ -150,11 +149,13 @@ Global (default) locations:
|
|
|
150
149
|
- **Windsurf**:
|
|
151
150
|
- Linux/macOS: `~/.codeium/windsurf/mcp_config.json`
|
|
152
151
|
- Windows: `%USERPROFILE%\.codeium\windsurf\mcp_config.json`
|
|
152
|
+
- Note: some Windsurf docs/examples also mention legacy `~/.codeium/mcp_config.json`.
|
|
153
153
|
- **OpenCode**:
|
|
154
154
|
- Linux/macOS: `~/.config/opencode/opencode.json`
|
|
155
155
|
- Windows: `%APPDATA%\opencode\opencode.json`
|
|
156
156
|
- **Antigravity**:
|
|
157
157
|
- Linux/macOS: `~/.gemini/antigravity/mcp_config.json`
|
|
158
|
+
- Note: path is community-reported; verify against latest vendor docs.
|
|
158
159
|
|
|
159
160
|
Local (project) locations:
|
|
160
161
|
- **Claude Code**:
|