Skip to main content

disconnect

AsyncMethod
This is a method of the MCP class in the mcp module.
Disconnect from the MCP server

Signature

async def disconnect(&mut self) -> Result<()>

Returns

Returns
Result<()>
The result of the operation.