Open
Description
Describe the bug
No Resource
constructor on McpServer
has a description
parameter:
typescript-sdk/src/server/mcp.ts
Lines 443 to 514 in 87197fb
though the field exists on the ResourceSchema
Line 429 in 87197fb
To Reproduce
N/A
Expected behavior
We should be able to create a resource on a server with a description, so that the LLM knows what to do with the resource. A workaround is to stuff this into the name but this is inconsistent with tools.
Additional context
I haven't checked yet if this is true for prompts too but it should be checked there as well.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To triage