@mcp-use/cli 2.16.1-canary.3 → 2.17.0-canary.11
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/commands/deploy.d.ts.map +1 -1
- package/dist/index.cjs +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AA6KA,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AA6KA,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAulBD;;GAEG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAibzE"}
|
package/dist/index.cjs
CHANGED
|
@@ -3380,10 +3380,11 @@ async function displayDeploymentProgress(api, deployment) {
|
|
|
3380
3380
|
if (finalDeployment.status === "running") {
|
|
3381
3381
|
const mcpServerUrl = getMcpServerUrl(finalDeployment);
|
|
3382
3382
|
let dashboardUrl = null;
|
|
3383
|
+
const webUrl = (await getWebUrl()).replace(/\/$/, "");
|
|
3383
3384
|
if (finalDeployment.serverSlug) {
|
|
3384
|
-
dashboardUrl =
|
|
3385
|
+
dashboardUrl = `${webUrl}/cloud/servers/${finalDeployment.serverSlug}`;
|
|
3385
3386
|
} else if (finalDeployment.serverId) {
|
|
3386
|
-
dashboardUrl =
|
|
3387
|
+
dashboardUrl = `${webUrl}/cloud/servers/${finalDeployment.serverId}`;
|
|
3387
3388
|
}
|
|
3388
3389
|
const inspectorUrl = `https://inspector.manufact.com/inspector?autoConnect=${encodeURIComponent(
|
|
3389
3390
|
mcpServerUrl
|
|
@@ -5648,7 +5649,8 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5648
5649
|
const ready = await waitForServer(port, browserHost);
|
|
5649
5650
|
if (ready) {
|
|
5650
5651
|
const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
|
|
5651
|
-
const
|
|
5652
|
+
const autoConnectEndpoint = tunnelUrl ? `${tunnelUrl}/mcp` : mcpEndpoint;
|
|
5653
|
+
const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(autoConnectEndpoint)}`;
|
|
5652
5654
|
const readyTime = Date.now() - startTime;
|
|
5653
5655
|
console.log(source_default.green.bold(`\u2713 Ready in ${readyTime}ms`));
|
|
5654
5656
|
console.log(
|
|
@@ -5787,7 +5789,8 @@ program.command("dev").description("Run development server with auto-reload and
|
|
|
5787
5789
|
const ready = await waitForServer(port, browserHost);
|
|
5788
5790
|
if (ready) {
|
|
5789
5791
|
const mcpEndpoint = `http://${browserHost}:${port}/mcp`;
|
|
5790
|
-
const
|
|
5792
|
+
const autoConnectEndpoint = tunnelUrl ? `${tunnelUrl}/mcp` : mcpEndpoint;
|
|
5793
|
+
const inspectorUrl = `http://${browserHost}:${port}/inspector?autoConnect=${encodeURIComponent(autoConnectEndpoint)}`;
|
|
5791
5794
|
const readyTime = Date.now() - startTime;
|
|
5792
5795
|
console.log(source_default.green.bold(`\u2713 Ready in ${readyTime}ms`));
|
|
5793
5796
|
console.log(
|