View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/utils.py
Core
Utils
Utils API Documentation
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Utils API Documentation
function singletonfrom mcp_use.utils import singleton
SignaturerequiredThe class to be decorated.
def singleton(cls):
Was this page helpful?