-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
P1Significant bug affecting many users, highly requested featureSignificant bug affecting many users, highly requested featureenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixesIdeas, requests and plans for v2 of the SDK which will incorporate major changes and fixes
Description
Summary
Provide a reliable way to cleanly shut down a running MCP server, ensuring all resources are properly released.
Motivation
- Currently there's no clean way to stop a running server programmatically
- Resources (connections, tasks, file handles) may not be properly cleaned up on shutdown
- Important for testing, graceful restarts, and production deployments
Goal
- API for triggering graceful shutdown
- Proper cleanup of all active sessions and transports
- Configurable shutdown timeout / drain period
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1Significant bug affecting many users, highly requested featureSignificant bug affecting many users, highly requested featureenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixesIdeas, requests and plans for v2 of the SDK which will incorporate major changes and fixes