We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8bafd commit e084f9eCopy full SHA for e084f9e
src/claude_gateway.ts
@@ -61,6 +61,10 @@ async function runBridge() {
61
debug(`-- Connecting to MCP server at ${baseUrl}`);
62
await connectSSEBackend();
63
process.stdin.on("data", processMessage);
64
+ process.stdin.on("end", () => {
65
+ debug("-- stdin disconnected, exiting");
66
+ process.exit(0);
67
+ });
68
debug(`-- MCP stdio to SSE gateway running - connected to ${baseUrl}`);
69
}
70
0 commit comments