@roxybrowser/openapi 1.0.10-beta.5 → 1.0.11

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/lib/index.cjs CHANGED
@@ -3048,6 +3048,14 @@ var RoxyBrowserMCPServer = class {
3048
3048
  }
3049
3049
  });
3050
3050
  }
3051
+ /**
3052
+ * Connect the server to any MCP transport (stdio, InMemoryTransport, SSE, etc.).
3053
+ * Use this for in-process embedding — e.g. passing an InMemoryTransport from
3054
+ * @modelcontextprotocol/sdk to avoid spawning a subprocess.
3055
+ */
3056
+ async connect(transport) {
3057
+ await this.server.connect(transport);
3058
+ }
3051
3059
  async run() {
3052
3060
  console.error("\u{1F680} Starting RoxyBrowser MCP Server...");
3053
3061
  const transport = new stdio_js.StdioServerTransport();