Summary
The badge endpoint at https://smithery.ai/badge/<namespace>/<slug> returns HTTP 500 for every server, every namespace, every URL variant tested. The response body is empty (Content-Length: 0) and the server returns a generic Vercel 500 page.
Impact
Reproduction
curl -sI https://smithery.ai/badge/misakanet/misakanet
# HTTP/2 500
curl -sI https://smithery.ai/badge/brave
# HTTP/2 500
Debug info from response headers
x-matched-path: /badge/[...id] — the route is being hit
x-vercel-cache: MISS — fresh invocation each time
Content-Length: 0 — the function crashes before producing output
content-type is absent — no error page is rendered either
Expected behavior
The endpoint should return an SVG image (e.g. image/svg+xml) showing the server's Kin score, similar to how https://smithery.ai/servers/misakanet/misakanet renders the score in the page.
Additional context
The server page at https://smithery.ai/servers/misakanet/misakanet works fine and shows "82 /100" as the Kin score. The badge endpoint at /badge/[...id] is a separate route in the Next.js application that appears to be crashing.
Summary
The badge endpoint at
https://smithery.ai/badge/<namespace>/<slug>returns HTTP 500 for every server, every namespace, every URL variant tested. The response body is empty (Content-Length: 0) and the server returns a generic Vercel 500 page.Impact
https://smithery.ai/badge/...renders as a broken imageReproduction
Debug info from response headers
x-matched-path: /badge/[...id]— the route is being hitx-vercel-cache: MISS— fresh invocation each timeContent-Length: 0— the function crashes before producing outputcontent-typeis absent — no error page is rendered eitherExpected behavior
The endpoint should return an SVG image (e.g.
image/svg+xml) showing the server's Kin score, similar to howhttps://smithery.ai/servers/misakanet/misakanetrenders the score in the page.Additional context
The server page at
https://smithery.ai/servers/misakanet/misakanetworks fine and shows "82 /100" as the Kin score. The badge endpoint at/badge/[...id]is a separate route in the Next.js application that appears to be crashing.