@mcp-use/cli 2.2.3-canary.7 → 2.2.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.js +0 -12
- package/dist/index.mjs +0 -12
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1300,18 +1300,6 @@ async function buildWidgets(projectPath) {
|
|
|
1300
1300
|
const { build } = await import("vite");
|
|
1301
1301
|
const resourcesDir = import_node_path3.default.join(projectPath, "resources");
|
|
1302
1302
|
const mcpUrl = process.env.MCP_URL;
|
|
1303
|
-
if (!mcpUrl) {
|
|
1304
|
-
console.log(
|
|
1305
|
-
import_chalk3.default.yellow(
|
|
1306
|
-
"\u26A0\uFE0F MCP_URL not set - using relative paths (widgets may not work correctly)"
|
|
1307
|
-
)
|
|
1308
|
-
);
|
|
1309
|
-
console.log(
|
|
1310
|
-
import_chalk3.default.gray(
|
|
1311
|
-
" Set MCP_URL environment variable for production builds (e.g., https://myserver.com)"
|
|
1312
|
-
)
|
|
1313
|
-
);
|
|
1314
|
-
}
|
|
1315
1303
|
try {
|
|
1316
1304
|
await (0, import_promises.access)(resourcesDir);
|
|
1317
1305
|
} catch {
|
package/dist/index.mjs
CHANGED
|
@@ -1279,18 +1279,6 @@ async function buildWidgets(projectPath) {
|
|
|
1279
1279
|
const { build } = await import("vite");
|
|
1280
1280
|
const resourcesDir = path3.join(projectPath, "resources");
|
|
1281
1281
|
const mcpUrl = process.env.MCP_URL;
|
|
1282
|
-
if (!mcpUrl) {
|
|
1283
|
-
console.log(
|
|
1284
|
-
chalk3.yellow(
|
|
1285
|
-
"\u26A0\uFE0F MCP_URL not set - using relative paths (widgets may not work correctly)"
|
|
1286
|
-
)
|
|
1287
|
-
);
|
|
1288
|
-
console.log(
|
|
1289
|
-
chalk3.gray(
|
|
1290
|
-
" Set MCP_URL environment variable for production builds (e.g., https://myserver.com)"
|
|
1291
|
-
)
|
|
1292
|
-
);
|
|
1293
|
-
}
|
|
1294
1282
|
try {
|
|
1295
1283
|
await access(resourcesDir);
|
|
1296
1284
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/cli",
|
|
3
|
-
"version": "2.2.3
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "Build tool for MCP UI widgets - bundles React components into standalone HTML pages for Model Context Protocol servers",
|
|
5
5
|
"author": "mcp-use, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"tsx": "^4.0.0",
|
|
45
45
|
"vite": "^6.0.0",
|
|
46
46
|
"ws": "^8.18.0",
|
|
47
|
-
"@mcp-use/inspector": "0.5.3
|
|
48
|
-
"mcp-use": "1.3.3
|
|
47
|
+
"@mcp-use/inspector": "0.5.3",
|
|
48
|
+
"mcp-use": "1.3.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^20.0.0",
|