MCP::AbstractResource
Abstract base class for all resources
Class methods
resource_description
Sourceresource_mime_type
Sourceresource_name
SourceInstance methods
Abstract method that must be implemented by subclasses Should return the resource content as a string
Optional method for subscription handling Default implementation does nothing
supports_subscription?
Abstract method for subscription support (optional implementation) Should return true if the resource supports change notifications