Seems modelcontextprotocol/csharp-sdk#821 was not fixed since I can't use a UriTemplate like samples://{dependency}/{/path+} or samples://{dependency}/{path*} or several other variations based on the URI template level.
Instead, either do #1 or just have the samples tool return file:/// resources to the actual files on disk. The only downside with the latter is that VSCode lets us browse resources via the command bar, which might be kind of handy in some cases. Still, all our resource handler is currently doing is proffering local file system paths; though, perhaps eventually it could pull online content as well so maybe it's worth it?
Seems modelcontextprotocol/csharp-sdk#821 was not fixed since I can't use a
UriTemplatelikesamples://{dependency}/{/path+}orsamples://{dependency}/{path*}or several other variations based on the URI template level.Instead, either do #1 or just have the
samplestool returnfile:///resources to the actual files on disk. The only downside with the latter is that VSCode lets us browse resources via the command bar, which might be kind of handy in some cases. Still, all our resource handler is currently doing is proffering local file system paths; though, perhaps eventually it could pull online content as well so maybe it's worth it?