Skip to content

Commit b6bd74c

Browse files
authored
feat(fix): re-add health endpoint for streamable http (#24)
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
1 parent 552b4ac commit b6bd74c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mcp/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,10 @@ async function main() {
529529
}
530530
}
531531
});
532+
533+
app.get("/health", (_: Request, res: Response) => {
534+
res.status(200).send("OK");
535+
});
532536

533537
const PORT = process.env.PORT || 3001;
534538
webserver = app.listen(PORT, () => {

0 commit comments

Comments
 (0)