@workfeed/init 0.3.2 → 0.3.4
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/cli.js +9 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -221,7 +221,7 @@ function claudeIsInstalled() {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
function installMcp(serverUrl, token, scope) {
|
|
224
|
-
const scopeFlag = scope === 'project' ? ' --scope project' : '';
|
|
224
|
+
const scopeFlag = scope === 'project' ? ' --scope project' : ' --scope user';
|
|
225
225
|
const cmd = `claude mcp add --transport http${scopeFlag} ${MCP_NAME} ${serverUrl}/mcp --header "Authorization: Bearer ${token}"`;
|
|
226
226
|
|
|
227
227
|
console.log(` Running: claude mcp add --transport http ${MCP_NAME} ${serverUrl}/mcp`);
|
|
@@ -439,6 +439,14 @@ async function main() {
|
|
|
439
439
|
'\n npm install -g @anthropic-ai/claude-code\n'
|
|
440
440
|
);
|
|
441
441
|
}
|
|
442
|
+
|
|
443
|
+
// Claude Desktop hint
|
|
444
|
+
console.log(
|
|
445
|
+
' To use with Claude Desktop:\n' +
|
|
446
|
+
' 1. Open Claude Desktop → Settings → Connectors\n' +
|
|
447
|
+
` 2. Add: ${serverUrl}/mcp\n` +
|
|
448
|
+
' 3. Complete the browser login\n'
|
|
449
|
+
);
|
|
442
450
|
}
|
|
443
451
|
|
|
444
452
|
main().catch((err) => {
|