@mcp-use/cli 2.15.0-canary.2 → 2.15.0-canary.3
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 +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5997,6 +5997,8 @@ Looked for:
|
|
|
5997
5997
|
if (mcpUrl) {
|
|
5998
5998
|
env2.MCP_URL = mcpUrl;
|
|
5999
5999
|
console.log(source_default.whiteBright(`Tunnel: ${mcpUrl}/mcp`));
|
|
6000
|
+
} else if (!env2.MCP_URL) {
|
|
6001
|
+
env2.MCP_URL = `http://localhost:${port}`;
|
|
6000
6002
|
}
|
|
6001
6003
|
const serverProc = (0, import_node_child_process9.spawn)("node", [serverFile], {
|
|
6002
6004
|
cwd: projectPath,
|