-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Sometimes additional stuff needs to be done before connecting to the MCP server. In those cases, it would be helpful to disable the connection until that stuff is completed.
Describe the solution you'd like
Add an option like disabled: true or enabled: false
Describe alternatives you've considered
A workaround is to delay mounting the component that calls useMcp, but setting that up requires boilerplate and isn't optimal.
Additional context
Some libraries like Tanstack Query support enabled: false and I think it would also be helpful here.
adrianliechti
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request