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