@arkhera30/cli 0.1.14 → 0.1.15
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/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -624,6 +624,7 @@ async function registerWithClaudeCode(mcpServers) {
|
|
|
624
624
|
const failed = [];
|
|
625
625
|
for (const [name, entry] of Object.entries(mcpServers)) {
|
|
626
626
|
const baseUrl = entry.url.replace(/\/sse$/, "");
|
|
627
|
+
await execa2("claude", ["mcp", "remove", "--scope", "user", name], { reject: false });
|
|
627
628
|
const result = await execa2(
|
|
628
629
|
"claude",
|
|
629
630
|
["mcp", "add", "--transport", "http", "--scope", "user", name, baseUrl],
|