The MCP manifest and all related files (
/llms.txt, per-page manifests, and JSON Schema contracts) are regenerated on every npm run build. Keep a build step in your deployment pipeline to ensure agents always receive current data.What is the MCP manifest?
The MCP manifest is a structured JSON index served at/mcp-manifest.json. It gives any consuming agent a complete map of your site in a single request: every page with its slug, title, description, a link to its per-page manifest, and a link to its JSON Schema contract.
The manifest follows the olonjs-mcp-manifest-index kind and is designed to be the first stop for any agent that wants to understand or interact with your site. From the master manifest an agent can discover individual pages, read their full content bundles, validate against typed schemas, and query raw collection data — all without any custom integration code.
The master manifest
The master manifest is a flat JSON document at/mcp-manifest.json. The following example shows the structure with one representative page entry (a real site will have one entry per page in the pages[] array):
/mcp-manifest.json
Accessing the manifest
Fetch the manifest with a plain HTTP GET request:Content-Type: application/json document. No authentication is required — the manifest is always publicly served as a static file.
MCP URI protocol
OlonJS implements a lightweightolon:// URI scheme for AI agents that support resource-based navigation. Two URIs are defined:
Both URIs resolve via the
/mcp-manifest.json endpoint. Per-page manifests also declare their own olon://pages/[slug] URI in their capabilities.resources array, so agents that read a per-page manifest can navigate directly to siblings without returning to the master index.
llms.txt
OlonJS also generates a/llms.txt file at build time. This is a human- and machine-readable plain-text index of all pages, following the llms.txt standard that LLM crawlers and retrieval systems recognise natively.
The file opens with a site description and an AI agent preamble, then lists every page with its title, slug, description, and direct links to its JSON Schema contract and per-page manifest:
/llms.txt
llms.txt file gives LLM crawlers a low-overhead way to index your full site content hierarchy without needing to parse HTML or follow sitemap XML..png?fit=max&auto=format&n=AyzhRn9-CO-nDNc4&q=85&s=63c78e2325701880237e6cbce1399c2a)
.png?fit=max&auto=format&n=AyzhRn9-CO-nDNc4&q=85&s=0db283df6e4d31745079d6d03fd029ed)