@mcp-use/cli 2.16.1-canary.2 → 2.17.0-canary.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/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5648,7 +5648,8 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5648
5648
|
const ready = await waitForServer(port, browserHost);
|
|
5649
5649
|
if (ready) {
|
|
5650
5650
|
const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
|
|
5651
|
-
const
|
|
5651
|
+
const autoConnectEndpoint = tunnelUrl ? `${tunnelUrl}/mcp` : mcpEndpoint;
|
|
5652
|
+
const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(autoConnectEndpoint)}`;
|
|
5652
5653
|
const readyTime = Date.now() - startTime;
|
|
5653
5654
|
console.log(source_default.green.bold(`\u2713 Ready in ${readyTime}ms`));
|
|
5654
5655
|
console.log(
|
|
@@ -5787,7 +5788,8 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5787
5788
|
const ready = await waitForServer(port, browserHost);
|
|
5788
5789
|
if (ready) {
|
|
5789
5790
|
const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
|
|
5790
|
-
const
|
|
5791
|
+
const autoConnectEndpoint = tunnelUrl ? `${tunnelUrl}/mcp` : mcpEndpoint;
|
|
5792
|
+
const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(autoConnectEndpoint)}`;
|
|
5791
5793
|
const readyTime = Date.now() - startTime;
|
|
5792
5794
|
console.log(source_default.green.bold(`\u2713 Ready in ${readyTime}ms`));
|
|
5793
5795
|
console.log(
|