Module resource

Source
Expand description

Resource system for MCP servers

This module provides the abstraction for implementing and managing resources in MCP servers. Resources represent data that can be read by clients, such as files, database records, or API endpoints.

Structs§

FileSystemResource
File system resource handler
Resource
A registered resource with its handler
ResourceBuilder
Builder for creating resources with fluent API
ResourceTemplate
Template for parameterized resources
TextResource
Simple text resource

Traits§

ResourceHandler
Trait for implementing resource handlers