feat: surface server icon and website URL in MCP serverInfo (SEP-973) - #87
Conversation
Add icons and websiteUrl to the Implementation metadata returned during initialize (MCP spec 2025-11-25). Clients that support SEP-973 render the project icon beside the connection instead of a generic or domain-derived favicon. The icon is served from the repo's raw GitHub URL so it stays valid regardless of deployment domain. Generated with Claude Code Co-authored-by: Claude <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 55 minutes and 13 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
## Summary Bump umm-actually from v0.3.14 to v0.4.0 (`65ccbe7`). ### Changes in v0.4.0 - feat: staged review phases — parallel and sequential modes (\#79) - feat: content-based cross-run dedup for shifted/reworded findings (\#85) - fix: content dedup follow-ups — coalesceAnchors, titleSimilarity, logging (\#86) - fix: filter self-negating findings (\#84) - chore: bump default context_budget_tokens from 80K to 300K (\#87) - docs: drop the early-development status section (\#83)
Summary
Adds
iconsandwebsiteUrlto theImplementationmetadata returned duringinitialize(MCP spec 2025-11-25, SEP-973). Clients that support server icons render the project mark beside the connection instead of a generic or domain-derived favicon.Why
MCP clients that don't implement SEP-973 fall back to deriving a connection icon from the server URL's domain — for an API Gateway deployment that resolves to the AWS favicon rather than anything project-related. Publishing the icon in
serverInfois the spec-correct, domain-independent fix: compliant clients pick it up immediately, and clients that currently ignore the field (tracked upstream in anthropics/claude-ai-mcp#152) inherit it the moment they add support, with no further server change.Changes
src/vault-mcp/mcp-router.ts—SERVER_ICONS(the existingassets/icon-400.png, referenced via its raw GitHub URL so it stays valid regardless of deployment domain) andSERVER_WEBSITE_URLconstants, passed to theMcpServerconstructor alongside the existingname/title/version/description.src/vault-mcp/__tests__/mcp-router.test.ts—SERVER_INFOexpectation extended to the new fields (exact-match assertion; fails if the metadata is removed).Verification
tscandeslintclean.@modelcontextprotocol/sdk1.29.0ImplementationSchema(icons,websiteUrlboth present).Generated with Claude Code
Generated by Claude Code
Summary by CodeRabbit