Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.

Uses

  • shutdown

Used By

Source

View on GitHub

praisonaiagents/mcp/mcp.py at line 626