fix(mcp): respect configured package registry

Closes #5912
This commit is contained in:
t8y2 committed 2026-08-13 07:49:54 +00:00
1 parent 47fcb9311f
commit c228078e25
3 files changed
+18 -17

No files matched your search

@@ -1816,7 +1816,7 @@ const mcpStatusLabel = computed(() => {
});
const mcpCommand = computed(() => {
if (!mcpStatus.value) return "npm install -g @dbx-app/mcp-server@latest --registry=https://registry.npmjs.org";
if (!mcpStatus.value) return "npm install -g @dbx-app/mcp-server@latest";
return mcpStatus.value.installed ? mcpStatus.value.update_command : mcpStatus.value.install_command;
});