Skip to content

Commit 06a2474

Browse files
committed
feat: require close
1 parent fca7dd3 commit 06a2474

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MCPProxy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ export type SSEServer = {
210210
};
211211

212212
type ServerLike = {
213-
connect: Server['connect'];
213+
connect: Server["connect"];
214+
close: Server["close"];
214215
};
215216

216217
export const startSSEServer = async <T extends ServerLike>({

0 commit comments

Comments
 (0)