createMcpHandler passes serverInfo straight to new McpServer(serverInfo, …), and the SDK's Implementation already carries optional title, description, websiteUrl and icons. These reach clients today, in the 2025-11-25 initialize result and in the 2026-07-28 server/discover result. But McpHandlerOptions types serverInfo as { name; version }, so setting them needs a cast.
This types serverInfo as Implementation, updates the options listing in docs/ADVANCED.md, and adds an e2e test that the client sees the full metadata through getServerVersion(). Includes a patch changeset.
Validated with pnpm exec tsc --noEmit and pnpm test (156 passing). The tsconfig excludes tests, so the new test checks what reaches the client rather than the type itself.
🤖 Generated with Claude Code