@eznix/mcp-gateway 1.3.3 → 1.3.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.
- package/dist/index.js +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24881,8 +24881,8 @@ class ConnectionManager {
|
|
|
24881
24881
|
}
|
|
24882
24882
|
// package.json
|
|
24883
24883
|
var package_default = {
|
|
24884
|
-
name: "mcp-gateway",
|
|
24885
|
-
version: "1.3.
|
|
24884
|
+
name: "@eznix/mcp-gateway",
|
|
24885
|
+
version: "1.3.4",
|
|
24886
24886
|
description: "MCP Gateway - Aggregate multiple MCP servers into a single gateway",
|
|
24887
24887
|
type: "module",
|
|
24888
24888
|
bin: {
|
|
@@ -26178,9 +26178,12 @@ class MCPGateway {
|
|
|
26178
26178
|
}
|
|
26179
26179
|
async startWithStdio() {
|
|
26180
26180
|
console.error("MCP Gateway starting (stdio)...");
|
|
26181
|
-
await this.connectAll();
|
|
26182
26181
|
const transport = new StdioServerTransport;
|
|
26183
26182
|
await this.server.connect(transport);
|
|
26183
|
+
console.log(`__MCP_GATEWAY_STDIO_READY__`);
|
|
26184
|
+
this.connectAll().catch((err) => {
|
|
26185
|
+
console.error(`Background connection error: ${err.message}`);
|
|
26186
|
+
});
|
|
26184
26187
|
this.config.watch((cfg) => this.handleConfigChange(cfg));
|
|
26185
26188
|
}
|
|
26186
26189
|
async startWithHttp(port = 3000) {
|