Astro, SvelteKit & Remix Blueprint: Deterministic /llms.txt, /pricing.md & /.well-known/mcp.json
Updated 2026-11-01 · Grounded in 2381 audited B2B SaaS domains (average HTML payload: 241.5 KB) · All guides: /guides/

Modern DevTools marketing sites built with Astro (Starlight), SvelteKit, or Remix frequently ship static docs alongside SSR marketing routes without exposing root-level /pricing.md or /.well-known/mcp.json, or accidentally rewrite dot-prefixed /.well-known/* paths to HTML 404 shells. Expose explicit server endpoints with RFC 8288 Link headers:

// Astro endpoint: src/pages/pricing.md.ts (or SvelteKit src/routes/pricing.md/+server.ts)
import type { APIRoute } from "astro";
import pricingMd from "../../aso/pricing.md?raw";

export const GET: APIRoute = () =>
  new Response(pricingMd, {
    status: 200,
    headers: {
      "Content-Type": "text/plain; charset=utf-8",
      "Cache-Control": "public, max-age=3600, s-maxage=86400",
      "X-Robots-Tag": "all",
      "Link": '</llms.txt>; rel="service-doc", </.well-known/mcp.json>; rel="service-desc"',
    },
  });
[ Ship 14-Route Worker / 26-File PR ($1,490 · $0 Today) ]