@aiwerk/mcp-bridge 2.7.1 → 2.7.2

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.
@@ -153,15 +153,12 @@ export class StdioTransport extends BaseTransport {
153
153
  this.process.once("error", onProcessError);
154
154
  this.process.once("exit", onProcessExit);
155
155
  timeout = setTimeout(() => {
156
- const timeoutError = new Error(`Stdio process startup timeout: no data received within ${connectionTimeout}ms`);
157
- this.logger.warn(`[mcp-bridge] ${timeoutError.message}; terminating unresponsive process`);
158
- try {
159
- this.process?.kill("SIGTERM");
160
- }
161
- catch {
162
- // Ignore kill errors and reject with timeout
163
- }
164
- settleReject(timeoutError);
156
+ // Many MCP servers (e.g. firecrawl) don't write anything to stdout until
157
+ // they receive the client's `initialize` request. Instead of killing the
158
+ // process, resolve optimistically — initializeProtocol() will validate
159
+ // the connection by sending `initialize` and waiting for a response.
160
+ this.logger.info(`[mcp-bridge] No stdout data within ${connectionTimeout}ms — process still running, proceeding to initialize`);
161
+ settleResolve();
165
162
  }, connectionTimeout);
166
163
  });
167
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwerk/mcp-bridge",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Standalone MCP server that multiplexes multiple MCP servers into one interface",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",