Verify live A2A, MCP, OAuth & AEO discovery in production
In RungLab's N=140 B2B SaaS Readiness Benchmark, 98.4% (62/63) of full-telemetry domains lacked agent-card.json. Audit your live domain with ReadyCheck, cut MCP schema token tax with MCPDiet, or automate fleet discovery checks via Apify & RapidAPI.
RFC9728-BR-001: Bearer token header transport declaredPASS
Methods: header
HTTP Header & Caching Deployment Checklist
Serve with `Content-Type: application/json; charset=utf-8` (never `text/plain` or SPA HTML fallback).
Include `Access-Control-Allow-Origin: *` so browser-based agent inspectors and web clients can fetch discovery JSON.
Use `Cache-Control: public, max-age=300` instead of `immutable` so skill/scope updates propagate quickly.
Return `WWW-Authenticate: Bearer resource_metadata="https://<domain>/.well-known/oauth-protected-resource"` on HTTP 401 (prevents `MCP-PRO-002`).
Live Well-Known Audit98.4% Lack Agent Cards
Verify live A2A, MCP, OAuth & AEO discovery in production
In RungLab's N=140 B2B SaaS Readiness Benchmark, 98.4% (62/63) of full-telemetry domains lacked agent-card.json. Audit your live domain with ReadyCheck, cut MCP schema token tax with MCPDiet, or automate fleet discovery checks via Apify & RapidAPI.
Extensionless static files in public/.well-known/oauth-protected-resource frequently default to application/octet-stream or trigger browser downloads unless vercel.json explicitly overrides Content-Type: application/json; charset=utf-8.
On Vite/React SPAs deployed to Vercel, a greedy "source": "/(.*)" rewrite swallows /.well-known/* unless excluded with a negative lookahead or placed inside public/.well-known/.
Do not enable Vercel Deployment Protection on production domains if external A2A orchestrators and ReadyCheck audits need unauthenticated access to public discovery cards.
Author valid Model Context Protocol server.json manifests for the official MCP Registry and self-hosted /.well-known/mcp/server.json discovery with Streamable HTTP and clean token budgets.
Implement RFC 9728 OAuth 2.0 Protected Resource Metadata and HTTP 401 WWW-Authenticate headers so MCP clients dynamically discover your Authorization Server without manual client setup.
Deploy /.well-known/agent-card.json, /.well-known/mcp/server.json, and /.well-known/oauth-protected-resource on Cloudflare Workers and Cloudflare Pages with strict JSON MIME types and CORS.
Why does Vercel serve /.well-known/oauth-protected-resource as binary download instead of JSON?
Because the RFC 9728 filename has no .json extension, static CDNs cannot infer application/json from extension alone. Add the explicit Content-Type: application/json; charset=utf-8 rule in vercel.json shown above.
Will public/.well-known/ files survive Vite or Next.js builds on Vercel?
Yes — both Vite and Next.js copy files from public/ into the final build output root, preserving the .well-known/ directory.
Should I set Access-Control-Allow-Origin: * on /.well-known/* in vercel.json?
Yes. Public discovery documents contain zero private credentials and browser-based MCP/A2A inspectors require CORS headers to read them.