@mcp-use/cli 2.13.8-canary.4 → 2.13.8-canary.6
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5338,9 +5338,9 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5338
5338
|
processes.push(serverCommand.process);
|
|
5339
5339
|
if (options.open !== false) {
|
|
5340
5340
|
const startTime = Date.now();
|
|
5341
|
-
const
|
|
5341
|
+
const browserHost = normalizeBrowserHost(host);
|
|
5342
|
+
const ready = await waitForServer(port, browserHost);
|
|
5342
5343
|
if (ready) {
|
|
5343
|
-
const browserHost = normalizeBrowserHost(host);
|
|
5344
5344
|
const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
|
|
5345
5345
|
const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(mcpEndpoint)}`;
|
|
5346
5346
|
const readyTime = Date.now() - startTime;
|
|
@@ -5456,9 +5456,9 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5456
5456
|
await runningServer.listen(port);
|
|
5457
5457
|
globalThis.__mcpUseHmrMode = true;
|
|
5458
5458
|
if (options.open !== false) {
|
|
5459
|
-
const
|
|
5459
|
+
const browserHost = normalizeBrowserHost(host);
|
|
5460
|
+
const ready = await waitForServer(port, browserHost);
|
|
5460
5461
|
if (ready) {
|
|
5461
|
-
const browserHost = normalizeBrowserHost(host);
|
|
5462
5462
|
const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
|
|
5463
5463
|
const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(mcpEndpoint)}`;
|
|
5464
5464
|
const readyTime = Date.now() - startTime;
|