Skip to content

Shut down local MCP server when the client disconnects #709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025

Conversation

rhernandez35
Copy link
Contributor

@rhernandez35 rhernandez35 commented May 24, 2025

For some reason, Q chat isn't attempting to terminate our process when it exits. It looks like it should, but they also expect local servers that are "implemented well" to exit when the input pipe closes. We will now follow that expectation.

@rhernandez35 rhernandez35 requested a review from adwsingh May 24, 2025 01:03
@rhernandez35 rhernandez35 merged commit fc93554 into main May 24, 2025
2 checks passed
@rhernandez35 rhernandez35 deleted the mcp-server-shutdown branch May 24, 2025 01:31
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.

2 participants