NAME
Catalyst::Plugin::MCP::Role::ResourceProvider - MCP resource provider contract
REQUIRED METHODS
list( $cursor )
Return { resources => \@items, nextCursor => $opt }. $cursor is the opaque pagination cursor from the request (or undef). Echo a nextCursor only when more pages remain.
templates
Return { resourceTemplates => \@items }.
read( $uri )
Return the read result hashref ({ contents => [...] }), or undef if the URI is unknown (the engine turns undef into a -32002 error).