@mcp-use/cli 2.13.8-canary.5 → 2.13.8

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 CHANGED
@@ -5320,9 +5320,9 @@ program.command("dev").description("Run development server with auto-reload and
5320
5320
  processes.push(serverCommand.process);
5321
5321
  if (options.open !== false) {
5322
5322
  const startTime = Date.now();
5323
- const ready = await waitForServer(port, host);
5323
+ const browserHost = normalizeBrowserHost(host);
5324
+ const ready = await waitForServer(port, browserHost);
5324
5325
  if (ready) {
5325
- const browserHost = normalizeBrowserHost(host);
5326
5326
  const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
5327
5327
  const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(mcpEndpoint)}`;
5328
5328
  const readyTime = Date.now() - startTime;
@@ -5438,9 +5438,9 @@ program.command("dev").description("Run development server with auto-reload and
5438
5438
  await runningServer.listen(port);
5439
5439
  globalThis.__mcpUseHmrMode = true;
5440
5440
  if (options.open !== false) {
5441
- const ready = await waitForServer(port, host);
5441
+ const browserHost = normalizeBrowserHost(host);
5442
+ const ready = await waitForServer(port, browserHost);
5442
5443
  if (ready) {
5443
- const browserHost = normalizeBrowserHost(host);
5444
5444
  const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
5445
5445
  const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(mcpEndpoint)}`;
5446
5446
  const readyTime = Date.now() - startTime;