fix(server): include registered tool icons#1977
fix(server): include registered tool icons#1977Genmin wants to merge 3 commits intomodelcontextprotocol:mainfrom
Conversation
🦋 Changeset detectedLatest commit: e30c472 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@modelcontextprotocol/client
@modelcontextprotocol/server
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
e2ecb3e to
57b39a3
Compare
|
The remaining red check appears unrelated to this PR: |
57b39a3 to
d80da41
Compare
|
Rebased onto current main to clear the stale/behind state and trigger a fresh CI run. The prior remaining red check was the unrelated Miniflare Cloudflare Worker |
|
Pushed an empty retry commit for the isolated Miniflare failure. No code changes in this retry; all other checks were already green. |
|
Pushed an empty retry commit for the isolated |
|
Pushed another empty retry commit for the isolated Cloudflare Workers/Miniflare "Network connection lost" failure, this time on the Node 20 shard. No code changes in this retry; the failure remains outside the registered-tool-icons diff. |
Summary
iconsto the high-levelMcpServer.registerTool()config and registered tool statetools/listresponsesiconsoption through experimental task tool registrationFixes #1864.
Testing
pnpm --filter @modelcontextprotocol/server typecheckpnpm --filter @modelcontextprotocol/server lintpnpm --filter @modelcontextprotocol/test-integration lint -- test/server/mcp.test.tspnpm --filter @modelcontextprotocol/test-integration test -- test/server/mcp.test.ts -t "should register tool with icons"Typecheck,Build, andLintpassed