def sse_mcp(self):
        """
        Decorator to register a class as an MCP tool that uses Server-Sent Events (SSE).
        Usage:
        @client.sse_mcp()
        class ToolName:
            url = "https://example.com/sse"
        
        """
        def decorator(cls):
            url = getattr(cls, "url", None)

            name = cls.__name__

            if not url:
                raise ValueError("SSE MCP tool class must have a 'url' attribute")
            
            self.add_sse_mcp(name, url)
            return cls
        return decorator

        Decorator to register a class as an MCP tool that uses Server-Sent Events (SSE).
        Usage:
        @client.sse_mcp()
        class ToolName:
            url = "https://example.com/sse"
        
        
src/upsonic/client/tools/tools.py