fix(server): handle empty declared lists - #2213
Conversation
|
@modelcontextprotocol/client
@modelcontextprotocol/codemod
@modelcontextprotocol/server
@modelcontextprotocol/server-legacy
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
ab4b16f to
21469d6
Compare
|
Rebased on current Validated locally:
The pre-push hook also completed the repo-wide build, typecheck, and lint steps successfully. |
|
Closing this during backlog cleanup. This queue has many review-required MCP TypeScript SDK PRs, and this item is lower priority than the remaining transport/protocol fixes with clearer current value. I can reopen or refresh it if maintainers want this exact change. |
Summary
McpServeris constructed with tools, prompts, or resources capabilities already declaredtools/list,prompts/list,resources/list, andresources/templates/listresults when no items are registered yetCovers the U-7 item in #2202.
Test plan