⚡ SpecPulse v8.4 Diagnostic Hub
/llms.txt Validator MCP 2026-07-28 Validator MCP Directory
NEXTJS_APP_ROUTER_LLMS_TXT_HTML_SOFT_404 Next.js App Router, Vercel & Headless React SaaS

Fix Next.js App Router & Vercel /llms.txt Returning HTML Soft-404 or Corrupted Encoding

Detect Next.js App Router dynamic [slug] catch-alls or middleware rewrites serving text/html on /llms.txt and compile a verified UTF-8 text/markdown Edge Route Handler + 7-file fix bundle.

Affected Agents: OAI-SearchBot • ClaudeBot • PerplexityBot • ChatGPT-User — Unfixed Impact: 100% /llms.txt rejection due to text/html RSC layout catch-all

Optional: Paste raw JSON (ACP feed / mcp.json / server.json), llms.txt, or robots.txt for instant paste validation
⚡ $9 Quick Fix Patch (One-Time) → ⚡ Unlock $19 Instant Fix & Export Pass (One-Time) → 🔒 $29 90-Day Sandbox Lock → 👑 $99 Sovereign Full-Stack Pass (Save $48) → 📦 Unlock Full 7-File Fix Bundle ($49 One-Time) → 🏢 $49 5-Client Agency Pack → 🚀 $29/mo Pro Auto-Sync → ⚡ 1-Page Express Order → Open Full Interactive Deal Room →

Technical FAQ — NEXTJS_APP_ROUTER_LLMS_TXT_HTML_SOFT_404

Q: Why does app/llms.txt/route.ts or public/llms.txt return HTML on Vercel / Next.js?

Dynamic catch-all segments (app/[...slug]/page.tsx), i18n locale middleware, or trailingSlash redirects intercept /llms.txt and render an HTML layout shell that AI crawlers drop immediately.

Q: Can I fix Next.js /llms.txt and /.well-known/mcp.json without redeploying my app?

Yes. Unlock the $19 One-Time Instant Fix Pass for drop-in static/Route Handler files, or paste 1-line embed.js ($29/mo Pro) for instant Cloudflare Edge delivery.