Skip to content

Commit ba57157

Browse files
committed
fix: prevent process from exiting prematurely by keeping stdin open
1 parent 99f3946 commit ba57157

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

mcp-http-bridge.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,6 @@ log(`Server: ${SERVER_URL}`);
209209
log(`API Key: ${HTTP_AUTHORIZATION ? 'Set' : '(not set)'}`);
210210
log(`Proffix User: ${PROFFIX_USERNAME || '(not set)'}`);
211211
log(`Ready for JSON-RPC requests via stdio...`);
212+
213+
// Keep the process alive by preventing stdin from closing
214+
process.stdin.resume();

server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/pitwch/pfx-mcp-server",
88
"source": "github"
99
},
10-
"version": "1.1.4",
10+
"version": "1.1.5",
1111
"remotes": [
1212
{
1313
"type": "streamable-http",

0 commit comments

Comments
 (0)