Module resources

Source
Expand description

MCP Resources implementation

Resources allow servers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a URI.

Structsยง

ListResourcesParams
Parameters for listing resources
ListResourcesResult
Result of listing resources
ReadResourceParams
Parameters for reading a resource
ReadResourceResult
Result of reading a resource
Resource
MCP Resource definition
ResourceCapabilities
Resource capabilities as defined by MCP
ResourceContent
Resource content (for reading resources)
ResourceManager
Resource manager for MCP server