Skip to main content

shutdown

Method
This is a method of the MCP class in the mcp module.
Explicitly shut down MCP resources. Call this method when done using the MCP instance to ensure all background threads and connections are properly cleaned up.

Signature

def shutdown() -> Any

Returns

Returns
Any
The result of the operation.