@eznix/mcp-gateway 1.3.3 → 1.3.6

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -4
  2. package/package.json +5 -2
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.0",
24884
+ name: "@eznix/mcp-gateway",
24885
+ version: "1.3.6",
24886
24886
  description: "MCP Gateway - Aggregate multiple MCP servers into a single gateway",
24887
24887
  type: "module",
24888
24888
  bin: {
@@ -24894,7 +24894,10 @@ var package_default = {
24894
24894
  build: "bun build src/index.ts --outdir dist --target node",
24895
24895
  "build:docker": "bun build src/docker.ts --target bun --outfile=gateway",
24896
24896
  "docker:build": "docker build -t mcp-gateway .",
24897
- "docker:run": "docker run -p 3000:3000 -v ./examples/config.json:/home/gateway/.config/mcp-gateway/config.json:ro mcp-gateway"
24897
+ "docker:run": "docker run -p 3000:3000 -v ./examples/config.json:/home/gateway/.config/mcp-gateway/config.json:ro mcp-gateway",
24898
+ preversion: 'bun run build && git add dist && git commit -m "chore: update build"',
24899
+ prepublishOnly: "bun run build",
24900
+ postversion: "git push && git push --tag"
24898
24901
  },
24899
24902
  devDependencies: {
24900
24903
  "@types/bun": "latest",
@@ -26178,9 +26181,12 @@ class MCPGateway {
26178
26181
  }
26179
26182
  async startWithStdio() {
26180
26183
  console.error("MCP Gateway starting (stdio)...");
26181
- await this.connectAll();
26182
26184
  const transport = new StdioServerTransport;
26183
26185
  await this.server.connect(transport);
26186
+ console.log(`__MCP_GATEWAY_STDIO_READY__`);
26187
+ this.connectAll().catch((err) => {
26188
+ console.error(`Background connection error: ${err.message}`);
26189
+ });
26184
26190
  this.config.watch((cfg) => this.handleConfigChange(cfg));
26185
26191
  }
26186
26192
  async startWithHttp(port = 3000) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eznix/mcp-gateway",
3
- "version": "1.3.3",
3
+ "version": "1.3.6",
4
4
  "description": "MCP Gateway - Aggregate multiple MCP servers into a single gateway",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,7 +12,10 @@
12
12
  "build": "bun build src/index.ts --outdir dist --target node",
13
13
  "build:docker": "bun build src/docker.ts --target bun --outfile=gateway",
14
14
  "docker:build": "docker build -t mcp-gateway .",
15
- "docker:run": "docker run -p 3000:3000 -v ./examples/config.json:/home/gateway/.config/mcp-gateway/config.json:ro mcp-gateway"
15
+ "docker:run": "docker run -p 3000:3000 -v ./examples/config.json:/home/gateway/.config/mcp-gateway/config.json:ro mcp-gateway",
16
+ "preversion": "bun run build && git add dist && git commit -m \"chore: update build\"",
17
+ "prepublishOnly": "bun run build",
18
+ "postversion": "git push && git push --tag"
16
19
  },
17
20
  "devDependencies": {
18
21
  "@types/bun": "latest",