Hacker News
MCP Hello Page: Solving the '401 JSON Blob' Problem When Users Open MCP Server URLs in Browsers — 118 Points
Luke Lanchester's blog post describes a practical fix for a common MCP (Model Context Protocol) deployment problem: users receive raw 401 JSON when they open an MCP server URL in a browser instead of pasting it into their AI client. The solution checks if GET /mcp arrives with Accept: text/html (but not application/json or text/event-stream) and returns an HTML explainer page instead. Support tickets dropped significantly after deployment. A small but telling signal about MCP maturing from protocol spec to production infrastructure.
↳ Follow the thread