You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that there may be some incompatibility with the format CC is expecting?
Additional context
Basic implementation
[McpServerResourceType]publicstaticclassDocumentByKeywordResource{[McpServerResource(UriTemplate="docs://document/{keyword}",Name="Document",MimeType="text/plain")][Description("Get a document by keyword.")]publicstaticasyncTask<ResourceContents>GetDocumentByKeyword(stringkeyword){returnnewTextResourceContents{Uri=$"docs://document/{keyword}",MimeType="text/plain",Text="Document content goes here",};}}
Describe the bug
Resources are not discoverable by Claude Code; possibly some format mismatch?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Resource is shown in CC CLI
Logs
Resource is present when working with MCP Inspector:
However, hitting the same endpoint, it is missing in CC:
Kapture.2026-03-06.at.18.47.05.mp4
In VSCP, this is present:
Kapture.2026-03-06.at.18.48.14.mp4
This works correctly with the reference implementation here in
Everything Server: https://modelcontextprotocol.io/examplesIt appears that there may be some incompatibility with the format CC is expecting?
Additional context
Basic implementation
Extracted message from MCP Inspector:
{ "result": { "resourceTemplates": [ { "name": "Document", "uriTemplate": "docs://document/{keyword}", "description": "Get a document by keyword.", "mimeType": "text/plain" } ] }, "id": 3, "jsonrpc": "2.0" }Note: server is in sessionless mode.