Class Nexus\Mcp\Server\Resource\CompositeResourceStore

final
readonly
implements ResourceStoreInterface

Chains a primary ResourceStoreInterface (exact-URI matches) with a fallback ResourceTemplateStoreInterface (URI-template matches). read() tries the primary first. On ResourceNotFoundException it falls through to the template store, only re-raising the not-found when neither side matches. list() delegates to the primary unchanged.

Methods