-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Installing the @modelcontextprotocol/sdk package will include examples, which add signal handlers to process of application.
To Reproduce
Steps to reproduce the behavior:
- Install version
1.16.0
of@modelcontextprotocol/sdk
- Examine installed node_module folder (
node_modules/@modelcontextprotocol/sdk/dist/esm/examples
) - Notice that examples are loaded due to exports declaration
Expected behavior
Examples should not be included in production distribution and signal handlers should not be attached
Logs
If applicable, add logs to help explain your problem.
Additional context
This causes some downstream plugins (like our webserver signal processor) to have issues. Seems like these were included unintentionally during the packaging process.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working