Repository navigation
feat(mcp): advertise server title, description, website, and icon - #3394
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: e983afc The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
[Medium impact] The PR appears safe to merge; no actionable new issues remain. SummaryAdds a title, description, website, and optional SVG icon to the MCP server’s initialize response.
Reviews (5) · Last reviewed commit: "Merge branch 'main' into agent/mcp-serve..." · Reviewed by Greptile |
E2E Test Results✅ All tests passed • 431 passed • 1 skipped • 1321s
Tests ran across 4 shards in parallel. |
🔵 Tier 2 — Low RiskSmall, isolated change with no API route or data model modifications. Why this tier:
Review process: AI review + quick human skim (target: 5–15 min). Reviewer validates AI assessment and checks for domain-specific concerns. Stats
|
PR Review✅ No issues found. |
Deep Review✅ No critical issues found. This is a small, additive change to the MCP 🔵 P3 nitpicks (3)
Reviewers (9): correctness, testing, maintainability, project-standards, agent-native, learnings, kieran-typescript, api-contract, previous-comments. Testing gaps:
No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
Summary
MCP directories and clients score servers on the
Implementationmetadata in the initialize response (spec 2026-07-28: Implementation, Icon): a human-readable title, a useful description, a public website, and a scalable or >=128px icon. We only sentnameandversion.This adds to the MCP server's
serverInfo:title: "ClickStack"description: a short summary of what the server doeswebsiteUrl: the ClickStack docsicons: the HyperDX logo SVG (sizes: ["any"]), served by the app at${FRONTEND_URL}/favicons/hyperdx/favicon.svg. Omitted whenFRONTEND_URLis unset, since icon sources must be absolute URLsInstructions and capabilities are unchanged. All fields exist on the SDK 1.29
Implementationtype. Covered bypackages/api/src/mcp/__tests__/serverMetadata.test.ts.How to reproduce
Starting point: local full stack via
yarn dev(the MCP server needs the API).On
main:yarn dev.npx @modelcontextprotocol/inspectorand connect it to the local MCP endpoint (seeMCP.md).serverInfohas onlynameandversion.On this branch:
serverInfonow also hastitle,description,websiteUrl, andicons.tools/listand instructions matchmain.References