@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.js
CHANGED
|
@@ -5979,6 +5979,8 @@ Looked for:
|
|
|
5979
5979
|
if (mcpUrl) {
|
|
5980
5980
|
env2.MCP_URL = mcpUrl;
|
|
5981
5981
|
console.log(source_default.whiteBright(`Tunnel: ${mcpUrl}/mcp`));
|
|
5982
|
+
} else if (!env2.MCP_URL) {
|
|
5983
|
+
env2.MCP_URL = `http://localhost:${port}`;
|
|
5982
5984
|
}
|
|
5983
5985
|
const serverProc = spawn("node", [serverFile], {
|
|
5984
5986
|
cwd: projectPath,
|