mcp-use 1.3.3-canary.2 → 1.3.3-canary.4

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.
@@ -7,5 +7,7 @@ export type { UseMcpOptions, UseMcpResult } from "./types.js";
7
7
  export { onMcpAuthorization } from "../auth/callback.js";
8
8
  export type { Tool, Resource, ResourceTemplate, Prompt, } from "@modelcontextprotocol/sdk/types.js";
9
9
  export { useWidget, useWidgetProps, useWidgetTheme, useWidgetState, } from "./useWidget.js";
10
+ export { WidgetFullscreenWrapper } from "./WidgetFullscreenWrapper.js";
11
+ export { WidgetDebugger } from "./WidgetDebugger.js";
10
12
  export type { UseWidgetResult, OpenAiGlobals, API, Theme, DisplayMode, DeviceType, SafeArea, SafeAreaInsets, UserAgent, CallToolResponse, UnknownObject, } from "./widget-types.js";
11
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,YAAY,EACV,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,MAAM,GACP,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EACL,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,eAAe,EACf,aAAa,EACb,GAAG,EACH,KAAK,EACL,WAAW,EACX,UAAU,EACV,QAAQ,EACR,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,YAAY,EACV,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,MAAM,GACP,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EACL,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EACV,eAAe,EACf,aAAa,EACb,GAAG,EACH,KAAK,EACL,WAAW,EACX,UAAU,EACV,QAAQ,EACR,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAC"}
@@ -1,16 +1,20 @@
1
1
  import {
2
+ WidgetDebugger,
3
+ WidgetFullscreenWrapper,
2
4
  useMcp,
3
5
  useWidget,
4
6
  useWidgetProps,
5
7
  useWidgetState,
6
8
  useWidgetTheme
7
- } from "../../chunk-VNEGDXZO.js";
9
+ } from "../../chunk-QKPVHYJU.js";
8
10
  import {
9
11
  onMcpAuthorization
10
12
  } from "../../chunk-TIUSJAAE.js";
11
13
  import "../../chunk-34R6SIER.js";
12
14
  import "../../chunk-3GQAWCBQ.js";
13
15
  export {
16
+ WidgetDebugger,
17
+ WidgetFullscreenWrapper,
14
18
  onMcpAuthorization,
15
19
  useMcp,
16
20
  useWidget,
@@ -1 +1 @@
1
- {"version":3,"file":"useWidget.d.ts","sourceRoot":"","sources":["../../../src/react/useWidget.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,KAAK,EAKV,KAAK,EACL,aAAa,EAEb,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAsC3B;;;;;;;;;;;;;;;;;;;;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BAAgB,cAAc,CAAC,MAAM,SAAS,aAAa,GAAG,aAAa,EACzE,YAAY,CAAC,EAAE,MAAM,GACpB,MAAM,CAGR;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI,KAAK,CAGtC;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,MAAM,SAAS,aAAa,EACzD,YAAY,CAAC,EAAE,MAAM,GACpB,SAAS;IACV,MAAM,GAAG,IAAI;IACb,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,MAAM,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC;CACrE,CAoBA"}
@@ -1393,14 +1393,14 @@ if (container && Component) {
1393
1393
  "openai/widgetCSP": {
1394
1394
  connect_domains: [
1395
1395
  // always also add the base url of the server
1396
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1396
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1397
1397
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.connect_domains || []
1398
1398
  ],
1399
1399
  resource_domains: [
1400
1400
  "https://*.oaistatic.com",
1401
1401
  "https://*.oaiusercontent.com",
1402
1402
  // always also add the base url of the server
1403
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1403
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1404
1404
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.resource_domains || []
1405
1405
  ]
1406
1406
  }
@@ -1565,14 +1565,14 @@ if (container && Component) {
1565
1565
  "openai/widgetCSP": {
1566
1566
  connect_domains: [
1567
1567
  // always also add the base url of the server
1568
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1568
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1569
1569
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.connect_domains || []
1570
1570
  ],
1571
1571
  resource_domains: [
1572
1572
  "https://*.oaistatic.com",
1573
1573
  "https://*.oaiusercontent.com",
1574
1574
  // always also add the base url of the server
1575
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1575
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1576
1576
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.resource_domains || []
1577
1577
  ]
1578
1578
  }
@@ -1583,6 +1583,25 @@ if (container && Component) {
1583
1583
  );
1584
1584
  }
1585
1585
  }
1586
+ /**
1587
+ * Helper to wait for transport.handleRequest to complete and response to be written
1588
+ *
1589
+ * Wraps the transport.handleRequest call in a Promise that only resolves when
1590
+ * expressRes.end() is called, ensuring all async operations complete before
1591
+ * we attempt to read the response.
1592
+ *
1593
+ * @private
1594
+ */
1595
+ waitForRequestComplete(transport, expressReq, expressRes, body) {
1596
+ return new Promise((resolve) => {
1597
+ const originalEnd = expressRes.end;
1598
+ expressRes.end = (...args) => {
1599
+ originalEnd.apply(expressRes, args);
1600
+ resolve();
1601
+ };
1602
+ transport.handleRequest(expressReq, expressRes, body);
1603
+ });
1604
+ }
1586
1605
  /**
1587
1606
  * Mount MCP server endpoints at /mcp
1588
1607
  *
@@ -1731,14 +1750,12 @@ if (container && Component) {
1731
1750
  });
1732
1751
  }
1733
1752
  await this.server.connect(transport);
1734
- await new Promise((resolve) => {
1735
- const originalEnd = expressRes.end;
1736
- expressRes.end = (...args) => {
1737
- originalEnd.apply(expressRes, args);
1738
- resolve();
1739
- };
1740
- transport.handleRequest(expressReq, expressRes, expressReq.body);
1741
- });
1753
+ await this.waitForRequestComplete(
1754
+ transport,
1755
+ expressReq,
1756
+ expressRes,
1757
+ expressReq.body
1758
+ );
1742
1759
  const response = getResponse();
1743
1760
  if (response) {
1744
1761
  return response;
@@ -1755,7 +1772,7 @@ if (container && Component) {
1755
1772
  transport.close();
1756
1773
  });
1757
1774
  await this.server.connect(transport);
1758
- await transport.handleRequest(expressReq, expressRes);
1775
+ await this.waitForRequestComplete(transport, expressReq, expressRes);
1759
1776
  const response = getResponse();
1760
1777
  if (response) {
1761
1778
  return response;
@@ -1772,7 +1789,7 @@ if (container && Component) {
1772
1789
  transport.close();
1773
1790
  });
1774
1791
  await this.server.connect(transport);
1775
- await transport.handleRequest(expressReq, expressRes);
1792
+ await this.waitForRequestComplete(transport, expressReq, expressRes);
1776
1793
  const response = getResponse();
1777
1794
  if (response) {
1778
1795
  return response;
@@ -1355,14 +1355,14 @@ if (container && Component) {
1355
1355
  "openai/widgetCSP": {
1356
1356
  connect_domains: [
1357
1357
  // always also add the base url of the server
1358
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1358
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1359
1359
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.connect_domains || []
1360
1360
  ],
1361
1361
  resource_domains: [
1362
1362
  "https://*.oaistatic.com",
1363
1363
  "https://*.oaiusercontent.com",
1364
1364
  // always also add the base url of the server
1365
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1365
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1366
1366
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.resource_domains || []
1367
1367
  ]
1368
1368
  }
@@ -1527,14 +1527,14 @@ if (container && Component) {
1527
1527
  "openai/widgetCSP": {
1528
1528
  connect_domains: [
1529
1529
  // always also add the base url of the server
1530
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1530
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1531
1531
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.connect_domains || []
1532
1532
  ],
1533
1533
  resource_domains: [
1534
1534
  "https://*.oaistatic.com",
1535
1535
  "https://*.oaiusercontent.com",
1536
1536
  // always also add the base url of the server
1537
- ...this.serverBaseUrl ? [this.serverBaseUrl] : [],
1537
+ ...this.getServerBaseUrl() ? [this.getServerBaseUrl()] : [],
1538
1538
  ...metadata.appsSdkMetadata?.["openai/widgetCSP"]?.resource_domains || []
1539
1539
  ]
1540
1540
  }
@@ -1545,6 +1545,25 @@ if (container && Component) {
1545
1545
  );
1546
1546
  }
1547
1547
  }
1548
+ /**
1549
+ * Helper to wait for transport.handleRequest to complete and response to be written
1550
+ *
1551
+ * Wraps the transport.handleRequest call in a Promise that only resolves when
1552
+ * expressRes.end() is called, ensuring all async operations complete before
1553
+ * we attempt to read the response.
1554
+ *
1555
+ * @private
1556
+ */
1557
+ waitForRequestComplete(transport, expressReq, expressRes, body) {
1558
+ return new Promise((resolve) => {
1559
+ const originalEnd = expressRes.end;
1560
+ expressRes.end = (...args) => {
1561
+ originalEnd.apply(expressRes, args);
1562
+ resolve();
1563
+ };
1564
+ transport.handleRequest(expressReq, expressRes, body);
1565
+ });
1566
+ }
1548
1567
  /**
1549
1568
  * Mount MCP server endpoints at /mcp
1550
1569
  *
@@ -1693,14 +1712,12 @@ if (container && Component) {
1693
1712
  });
1694
1713
  }
1695
1714
  await this.server.connect(transport);
1696
- await new Promise((resolve) => {
1697
- const originalEnd = expressRes.end;
1698
- expressRes.end = (...args) => {
1699
- originalEnd.apply(expressRes, args);
1700
- resolve();
1701
- };
1702
- transport.handleRequest(expressReq, expressRes, expressReq.body);
1703
- });
1715
+ await this.waitForRequestComplete(
1716
+ transport,
1717
+ expressReq,
1718
+ expressRes,
1719
+ expressReq.body
1720
+ );
1704
1721
  const response = getResponse();
1705
1722
  if (response) {
1706
1723
  return response;
@@ -1717,7 +1734,7 @@ if (container && Component) {
1717
1734
  transport.close();
1718
1735
  });
1719
1736
  await this.server.connect(transport);
1720
- await transport.handleRequest(expressReq, expressRes);
1737
+ await this.waitForRequestComplete(transport, expressReq, expressRes);
1721
1738
  const response = getResponse();
1722
1739
  if (response) {
1723
1740
  return response;
@@ -1734,7 +1751,7 @@ if (container && Component) {
1734
1751
  transport.close();
1735
1752
  });
1736
1753
  await this.server.connect(transport);
1737
- await transport.handleRequest(expressReq, expressRes);
1754
+ await this.waitForRequestComplete(transport, expressReq, expressRes);
1738
1755
  const response = getResponse();
1739
1756
  if (response) {
1740
1757
  return response;
@@ -347,6 +347,16 @@ export declare class McpServer {
347
347
  * @returns Promise that resolves when all widgets are mounted
348
348
  */
349
349
  private mountWidgetsProduction;
350
+ /**
351
+ * Helper to wait for transport.handleRequest to complete and response to be written
352
+ *
353
+ * Wraps the transport.handleRequest call in a Promise that only resolves when
354
+ * expressRes.end() is called, ensuring all async operations complete before
355
+ * we attempt to read the response.
356
+ *
357
+ * @private
358
+ */
359
+ private waitForRequestComplete;
350
360
  /**
351
361
  * Mount MCP server endpoints at /mcp
352
362
  *
@@ -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;IAC7B,OAAO,CAAC,GAAG,CAAW;IACtB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,UAAU,CAAC,CAAS;IAC5B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,eAAe,CAAgB;IACvC,OAAO,CAAC,iBAAiB,CAAgB;IACzC,OAAO,CAAC,mBAAmB,CAAgB;IAE3C;;;;;;;;;OASG;gBACS,MAAM,EAAE,YAAY;IAsGhC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAcxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAo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AO,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.3-canary.2",
4
+ "version": "1.3.3-canary.4",
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.3-canary.2",
111
- "@mcp-use/inspector": "0.5.3-canary.2"
110
+ "@mcp-use/cli": "2.2.3-canary.4",
111
+ "@mcp-use/inspector": "0.5.3-canary.4"
112
112
  },
113
113
  "optionalDependencies": {
114
114
  "@tailwindcss/vite": "^4.1.15",