Is there an easy workflow for disabling certain tools when the MCP server starts?
Currently the best way I've been able to figure this out is by manually implementing the ServerHandler for my server however it would be nice to just be able to use the #[tool_handler] macro and maybe add in my custom disable logic within the get_info function which needs to be manually implemented (just an idea).
Maybe I'm missing something and this is already possible. Thanks for the great work!
Is there an easy workflow for disabling certain tools when the MCP server starts?
Currently the best way I've been able to figure this out is by manually implementing the
ServerHandlerfor my server however it would be nice to just be able to use the#[tool_handler]macro and maybe add in my custom disable logic within theget_infofunction which needs to be manually implemented (just an idea).Maybe I'm missing something and this is already possible. Thanks for the great work!