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
Description:
Currently, FastMCP provides mount and import_server methods to attach resources and integrate external MCP servers. However, there are no corresponding methods to remove or detach them (unmount) or to export a server instance once it has been imported (export_server).
This leads to a few issues:
No clean way to selectively release mounted resources without shutting down the entire client.
Imported servers cannot be “exported” (e.g., detached and reused in another context) without tearing down the whole environment.
Makes it harder to manage dynamic or long‑running MCP environments with changing resource sets.
Proposal:
Introduce unmount(resource_id) to cleanly detach a previously mounted resource or tool.
Introduce export_server(server_id) to detach an imported server, making it available for reuse elsewhere.