Skip to content

Conversation

@zheruiqiu
Copy link
Contributor

Summary

  • Handle MCP shutdown on stdio close/EPIPE and extra signals
  • Ensure server stop disposes content/search stores to release watchers
  • Add stdio close integration test (non-Windows)

Testing

  • bun run check .
  • bunx tsc --noEmit
  • bun test src/test/mcp-stdio-exit.test.ts

Risk

  • Low; shutdown-path only. Potential exit if stdin is intentionally closed.

@MrLesk MrLesk merged commit 9127e43 into MrLesk:main Jan 23, 2026
7 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.

2 participants