Description
I’m currently building a chatbot with many tools attached. As expected, this consumes a significant number of tokens, even for simple conversations. To manage this, I’ve created multiple chat templates to selectively enable tools.
However, I often want to use a tool that relies on context from a previous conversation using a different toolkit.
After trying MCP in Claude desktop, it inspired me to use an MCP client in Chainlit. Unfortunately, in Chainlit’s UI, the MCP connection can only be destroyed, meaning I have to reinsert the connection details every time.
Feature Question / Suggestion
Is there a way to disable (but not delete) an MCP connection from the UI? Or am I missing an existing feature?
I think the on_mcp_disconnect
decorator could potentially serve the same cleanup function as when deleting a connection, without permanently removing it from the UI.
Thanks for your time!