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