Skip to content

Conversation

@Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Apr 7, 2025

The StdioClientTransport implementation sends SIGTERM upon calling close(), but it looks like they don't close the Stdin pipe. This PR adds SIGTERM and SIGINT signals as triggers to our exit routine.

Closes #141

It's hard to test this because of modelcontextprotocol/typescript-sdk#271, sadly.

@Skn0tt Skn0tt requested a review from dgozman April 7, 2025 09:01
@Skn0tt Skn0tt self-assigned this Apr 7, 2025
@dgozman dgozman requested a review from pavelfeldman April 7, 2025 09:28
@pavelfeldman pavelfeldman merged commit 31ac1ed into microsoft:main Apr 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP server hangs when MCP client calls close() before browser_close tool is called

2 participants