You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove a Tool (or Resource or Prompt) during server runtime #964
I am quite new to this mcp library (not to other libraries though) and still experimenting with it. Reading the user guide (https://modelcontextprotocol.io/docs/concepts/tools#tool-discovery-and-updates) I understand that "Tools can be added or removed during runtime". Nevertheless I just see methods to add tools to a server.
I am sorry if the question results too easy. Thanks for helping.
I had the same question for the typescript sdk and stumbled uppon this post. In the typescript sdk the registerResource() function resturns an object, which has an interface for lifecycle support, with methods like update() or remove() . Maybe its the same in python, havent checked
Activity
Lurchfresser commentedon Sep 21, 2025
I had the same question for the typescript sdk and stumbled uppon this post. In the typescript sdk the
registerResource()function resturns an object, which has an interface for lifecycle support, with methods likeupdate()orremove(). Maybe its the same in python, havent checkedfelixweinberger commentedon Oct 7, 2025
Supported now by #1322 should be in the next release (Thursday)