mcp-use 1.3.0-canary.0 → 1.3.0

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.
@@ -513,6 +513,13 @@ var McpServer = class {
513
513
  }
514
514
  });
515
515
  }
516
+ /**
517
+ * Gets the server base URL with fallback to host:port if not configured
518
+ * @returns The complete base URL for the server
519
+ */
520
+ getServerBaseUrl() {
521
+ return this.serverBaseUrl || `http://${this.serverHost}:${this.serverPort}`;
522
+ }
516
523
  /**
517
524
  * Define a static resource that can be accessed by clients
518
525
  *
@@ -960,7 +967,18 @@ var McpServer = class {
960
967
  baseUrl: configBaseUrl,
961
968
  port: configPort
962
969
  };
963
- return createUIResourceFromDefinition(definition, params, urlConfig);
970
+ const uiResource = createUIResourceFromDefinition(
971
+ definition,
972
+ params,
973
+ urlConfig
974
+ );
975
+ if (definition._meta && Object.keys(definition._meta).length > 0) {
976
+ uiResource.resource._meta = {
977
+ ...uiResource.resource._meta,
978
+ ...definition._meta
979
+ };
980
+ }
981
+ return uiResource;
964
982
  }
965
983
  /**
966
984
  * Build a complete URL for a widget including query parameters
@@ -1201,7 +1219,7 @@ if (container && Component) {
1201
1219
  "utf8"
1202
1220
  );
1203
1221
  }
1204
- const serverOrigin = this.serverBaseUrl || `http://${this.serverHost}:${this.serverPort}`;
1222
+ const serverOrigin = this.getServerBaseUrl();
1205
1223
  console.log(
1206
1224
  `[WIDGETS] Serving ${entries.length} widget(s) with shared Vite dev server and HMR`
1207
1225
  );
@@ -1289,7 +1307,7 @@ if (container && Component) {
1289
1307
  pathHelpers.join(tempDir, widget.name, "index.html"),
1290
1308
  "utf8"
1291
1309
  );
1292
- const mcpUrl = getEnv("MCP_URL") || "/";
1310
+ const mcpUrl = this.getServerBaseUrl();
1293
1311
  if (mcpUrl && html) {
1294
1312
  const htmlWithoutComments = html.replace(/<!--[\s\S]*?-->/g, "");
1295
1313
  const baseTagRegex = /<base\s+[^>]*\/?>/i;
@@ -1312,18 +1330,19 @@ if (container && Component) {
1312
1330
  }
1313
1331
  }
1314
1332
  }
1333
+ const baseUrl = this.getServerBaseUrl();
1315
1334
  html = html.replace(
1316
1335
  /src="\/mcp-use\/widgets\/([^"]+)"/g,
1317
- `src="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1336
+ `src="${baseUrl}/mcp-use/widgets/$1"`
1318
1337
  );
1319
1338
  html = html.replace(
1320
1339
  /href="\/mcp-use\/widgets\/([^"]+)"/g,
1321
- `href="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1340
+ `href="${baseUrl}/mcp-use/widgets/$1"`
1322
1341
  );
1323
1342
  html = html.replace(
1324
1343
  /<head[^>]*>/i,
1325
1344
  `<head>
1326
- <script>window.__getFile = (filename) => { return "${this.serverBaseUrl}/mcp-use/widgets/${widget.name}/"+filename }</script>`
1345
+ <script>window.__getFile = (filename) => { return "${baseUrl}/mcp-use/widgets/${widget.name}/"+filename }</script>`
1327
1346
  );
1328
1347
  } catch (error) {
1329
1348
  console.error(
@@ -1451,7 +1470,7 @@ if (container && Component) {
1451
1470
  let html = "";
1452
1471
  try {
1453
1472
  html = await fsHelpers.readFileSync(indexPath, "utf8");
1454
- const mcpUrl = getEnv("MCP_URL") || "/";
1473
+ const mcpUrl = this.getServerBaseUrl();
1455
1474
  if (mcpUrl && html) {
1456
1475
  const htmlWithoutComments = html.replace(/<!--[\s\S]*?-->/g, "");
1457
1476
  const baseTagRegex = /<base\s+[^>]*\/?>/i;
@@ -1473,18 +1492,19 @@ if (container && Component) {
1473
1492
  );
1474
1493
  }
1475
1494
  }
1495
+ const baseUrl = this.getServerBaseUrl();
1476
1496
  html = html.replace(
1477
1497
  /src="\/mcp-use\/widgets\/([^"]+)"/g,
1478
- `src="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1498
+ `src="${baseUrl}/mcp-use/widgets/$1"`
1479
1499
  );
1480
1500
  html = html.replace(
1481
1501
  /href="\/mcp-use\/widgets\/([^"]+)"/g,
1482
- `href="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1502
+ `href="${baseUrl}/mcp-use/widgets/$1"`
1483
1503
  );
1484
1504
  html = html.replace(
1485
1505
  /<head[^>]*>/i,
1486
1506
  `<head>
1487
- <script>window.__getFile = (filename) => { return "${this.serverBaseUrl}/mcp-use/widgets/${widgetName}/"+filename }</script>`
1507
+ <script>window.__getFile = (filename) => { return "${baseUrl}/mcp-use/widgets/${widgetName}/"+filename }</script>`
1488
1508
  );
1489
1509
  }
1490
1510
  } catch (error) {
@@ -2059,18 +2079,19 @@ if (container && Component) {
2059
2079
  );
2060
2080
  try {
2061
2081
  let html = await fsHelpers.readFileSync(filePath, "utf8");
2082
+ const baseUrl = this.getServerBaseUrl();
2062
2083
  html = html.replace(
2063
2084
  /src="\/mcp-use\/widgets\/([^"]+)"/g,
2064
- `src="${this.serverBaseUrl}/mcp-use/widgets/$1"`
2085
+ `src="${baseUrl}/mcp-use/widgets/$1"`
2065
2086
  );
2066
2087
  html = html.replace(
2067
2088
  /href="\/mcp-use\/widgets\/([^"]+)"/g,
2068
- `href="${this.serverBaseUrl}/mcp-use/widgets/$1"`
2089
+ `href="${baseUrl}/mcp-use/widgets/$1"`
2069
2090
  );
2070
2091
  html = html.replace(
2071
2092
  /<head[^>]*>/i,
2072
2093
  `<head>
2073
- <script>window.__getFile = (filename) => { return "${this.serverBaseUrl}/mcp-use/widgets/${widget}/"+filename }</script>`
2094
+ <script>window.__getFile = (filename) => { return "${baseUrl}/mcp-use/widgets/${widget}/"+filename }</script>`
2074
2095
  );
2075
2096
  return c.html(html);
2076
2097
  } catch {
@@ -475,6 +475,13 @@ var McpServer = class {
475
475
  }
476
476
  });
477
477
  }
478
+ /**
479
+ * Gets the server base URL with fallback to host:port if not configured
480
+ * @returns The complete base URL for the server
481
+ */
482
+ getServerBaseUrl() {
483
+ return this.serverBaseUrl || `http://${this.serverHost}:${this.serverPort}`;
484
+ }
478
485
  /**
479
486
  * Define a static resource that can be accessed by clients
480
487
  *
@@ -922,7 +929,18 @@ var McpServer = class {
922
929
  baseUrl: configBaseUrl,
923
930
  port: configPort
924
931
  };
925
- return createUIResourceFromDefinition(definition, params, urlConfig);
932
+ const uiResource = createUIResourceFromDefinition(
933
+ definition,
934
+ params,
935
+ urlConfig
936
+ );
937
+ if (definition._meta && Object.keys(definition._meta).length > 0) {
938
+ uiResource.resource._meta = {
939
+ ...uiResource.resource._meta,
940
+ ...definition._meta
941
+ };
942
+ }
943
+ return uiResource;
926
944
  }
927
945
  /**
928
946
  * Build a complete URL for a widget including query parameters
@@ -1163,7 +1181,7 @@ if (container && Component) {
1163
1181
  "utf8"
1164
1182
  );
1165
1183
  }
1166
- const serverOrigin = this.serverBaseUrl || `http://${this.serverHost}:${this.serverPort}`;
1184
+ const serverOrigin = this.getServerBaseUrl();
1167
1185
  console.log(
1168
1186
  `[WIDGETS] Serving ${entries.length} widget(s) with shared Vite dev server and HMR`
1169
1187
  );
@@ -1251,7 +1269,7 @@ if (container && Component) {
1251
1269
  pathHelpers.join(tempDir, widget.name, "index.html"),
1252
1270
  "utf8"
1253
1271
  );
1254
- const mcpUrl = getEnv("MCP_URL") || "/";
1272
+ const mcpUrl = this.getServerBaseUrl();
1255
1273
  if (mcpUrl && html) {
1256
1274
  const htmlWithoutComments = html.replace(/<!--[\s\S]*?-->/g, "");
1257
1275
  const baseTagRegex = /<base\s+[^>]*\/?>/i;
@@ -1274,18 +1292,19 @@ if (container && Component) {
1274
1292
  }
1275
1293
  }
1276
1294
  }
1295
+ const baseUrl = this.getServerBaseUrl();
1277
1296
  html = html.replace(
1278
1297
  /src="\/mcp-use\/widgets\/([^"]+)"/g,
1279
- `src="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1298
+ `src="${baseUrl}/mcp-use/widgets/$1"`
1280
1299
  );
1281
1300
  html = html.replace(
1282
1301
  /href="\/mcp-use\/widgets\/([^"]+)"/g,
1283
- `href="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1302
+ `href="${baseUrl}/mcp-use/widgets/$1"`
1284
1303
  );
1285
1304
  html = html.replace(
1286
1305
  /<head[^>]*>/i,
1287
1306
  `<head>
1288
- <script>window.__getFile = (filename) => { return "${this.serverBaseUrl}/mcp-use/widgets/${widget.name}/"+filename }</script>`
1307
+ <script>window.__getFile = (filename) => { return "${baseUrl}/mcp-use/widgets/${widget.name}/"+filename }</script>`
1289
1308
  );
1290
1309
  } catch (error) {
1291
1310
  console.error(
@@ -1413,7 +1432,7 @@ if (container && Component) {
1413
1432
  let html = "";
1414
1433
  try {
1415
1434
  html = await fsHelpers.readFileSync(indexPath, "utf8");
1416
- const mcpUrl = getEnv("MCP_URL") || "/";
1435
+ const mcpUrl = this.getServerBaseUrl();
1417
1436
  if (mcpUrl && html) {
1418
1437
  const htmlWithoutComments = html.replace(/<!--[\s\S]*?-->/g, "");
1419
1438
  const baseTagRegex = /<base\s+[^>]*\/?>/i;
@@ -1435,18 +1454,19 @@ if (container && Component) {
1435
1454
  );
1436
1455
  }
1437
1456
  }
1457
+ const baseUrl = this.getServerBaseUrl();
1438
1458
  html = html.replace(
1439
1459
  /src="\/mcp-use\/widgets\/([^"]+)"/g,
1440
- `src="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1460
+ `src="${baseUrl}/mcp-use/widgets/$1"`
1441
1461
  );
1442
1462
  html = html.replace(
1443
1463
  /href="\/mcp-use\/widgets\/([^"]+)"/g,
1444
- `href="${this.serverBaseUrl}/mcp-use/widgets/$1"`
1464
+ `href="${baseUrl}/mcp-use/widgets/$1"`
1445
1465
  );
1446
1466
  html = html.replace(
1447
1467
  /<head[^>]*>/i,
1448
1468
  `<head>
1449
- <script>window.__getFile = (filename) => { return "${this.serverBaseUrl}/mcp-use/widgets/${widgetName}/"+filename }</script>`
1469
+ <script>window.__getFile = (filename) => { return "${baseUrl}/mcp-use/widgets/${widgetName}/"+filename }</script>`
1450
1470
  );
1451
1471
  }
1452
1472
  } catch (error) {
@@ -2021,18 +2041,19 @@ if (container && Component) {
2021
2041
  );
2022
2042
  try {
2023
2043
  let html = await fsHelpers.readFileSync(filePath, "utf8");
2044
+ const baseUrl = this.getServerBaseUrl();
2024
2045
  html = html.replace(
2025
2046
  /src="\/mcp-use\/widgets\/([^"]+)"/g,
2026
- `src="${this.serverBaseUrl}/mcp-use/widgets/$1"`
2047
+ `src="${baseUrl}/mcp-use/widgets/$1"`
2027
2048
  );
2028
2049
  html = html.replace(
2029
2050
  /href="\/mcp-use\/widgets\/([^"]+)"/g,
2030
- `href="${this.serverBaseUrl}/mcp-use/widgets/$1"`
2051
+ `href="${baseUrl}/mcp-use/widgets/$1"`
2031
2052
  );
2032
2053
  html = html.replace(
2033
2054
  /<head[^>]*>/i,
2034
2055
  `<head>
2035
- <script>window.__getFile = (filename) => { return "${this.serverBaseUrl}/mcp-use/widgets/${widget}/"+filename }</script>`
2056
+ <script>window.__getFile = (filename) => { return "${baseUrl}/mcp-use/widgets/${widget}/"+filename }</script>`
2036
2057
  );
2037
2058
  return c.html(html);
2038
2059
  } catch {
@@ -20,6 +20,11 @@ export declare class McpServer {
20
20
  * @returns A proxied McpServer instance that supports both MCP and Hono methods
21
21
  */
22
22
  constructor(config: ServerConfig);
23
+ /**
24
+ * Gets the server base URL with fallback to host:port if not configured
25
+ * @returns The complete base URL for the server
26
+ */
27
+ private getServerBaseUrl;
23
28
  /**
24
29
  * Define a static resource that can be accessed by clients
25
30
  *
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../../../src/server/mcp-server.ts"],"names":[],"mappings":"AAKA,OAAO,EAAsB,KAAK,IAAI,IAAI,QAAQ,EAAa,MAAM,MAAM,CAAC;AAY5E,OAAO,KAAK,EAEV,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,cAAc,EAEd,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AA4G1B,qBAAa,SAAS;IACpB,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,MAAM,CAAe;IAC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BG;IACH,OAAO,CAAC,kBAAkB;IA+C1B;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,sBAAsB;IAqC9B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,qBAAqB;IAK7B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,gBAAgB;CA4BzB;AAED,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,QAAQ,CAAC,GAC7D,QAAQ,GAAG;IACT,UAAU,EAAE,CAAC,OAAO,CAAC,EAAE;QACrB,QAAQ,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,aAAa,CAAC;KACtD,KAAK,OAAO,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;CACpD,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,OAAO,CAAC,YAAY,CAAM,GACjC,iBAAiB,CASnB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.3.0-canary.0",
4
+ "version": "1.3.0",
5
5
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
6
6
  "author": "mcp-use, Inc.",
7
7
  "license": "MIT",
@@ -107,8 +107,8 @@
107
107
  "ws": "^8.18.2",
108
108
  "zod": "^3.25.48",
109
109
  "zod-to-json-schema": "^3.24.6",
110
- "@mcp-use/cli": "2.2.0-canary.0",
111
- "@mcp-use/inspector": "0.5.0-canary.0"
110
+ "@mcp-use/cli": "2.2.0",
111
+ "@mcp-use/inspector": "0.5.0"
112
112
  },
113
113
  "optionalDependencies": {
114
114
  "@tailwindcss/vite": "^4.1.15",