# Automated /llms.txt & Agent Documentation Context Compiler

> Automated /llms.txt & Agent Documentation Context Compiler is a paid API for AI agents from mcp-security.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Crawls any documentation or SaaS site and compiles a standards-compliant /llms.txt manifest and JSON-LD schema bundle for AI agent consumption

## Facts

- Endpoint: GET https://mcp-security.agentdiet.dev/v1/llms-txt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: mcp-security.agentdiet.dev
- Website: https://mcp-security.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/mcp-security-agentdiet-dev-automated-llms-txt-agent-documentation-6a87372c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_npr1SoUVW7sPA6RlBgPkA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mcp-security-agentdiet-dev-automated-llms-txt-agent-documentation-6a87372c
```

Example prompt: Can you crawl the documentation at https://stripe.com/docs and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can properly understand and navigate the site?

## When to prefer this

Choose this endpoint when you need to make any external documentation or SaaS website consumable by AI agents via the emerging /llms.txt standard. It is especially useful when onboarding a third-party API or docs site into an agent pipeline, when you want to self-host an /llms.txt for your own product, or when you need a JSON-LD schema bundle alongside the manifest. Prefer this over manually authoring /llms.txt files or generic web scrapers that don't produce agent-standard output.

## Known failure modes

- Target URL is unreachable or returns non-200 status — crawl fails with error
- URL points to login-gated or paywalled content — incomplete or empty manifest
- Very large documentation sites may yield truncated output due to token/page limits
- Malformed or JavaScript-heavy SPAs may not yield enough static content to parse
- Invalid or missing `url` parameter returns a 400-level error

## How this service works

Crawls any documentation or SaaS site and compiles a standards-compliant /llms.txt manifest and JSON-LD schema bundle. (Live x402 v2, IETF MPP & MCP endpoint at https://mcp-security.agentdiet.dev/v1/llms-txt)

## Output

Returns a standards-compliant /llms.txt manifest and JSON-LD schema bundle compiled from the crawled website, structured for direct consumption by AI agents and LLMs. Includes hierarchical documentation context, links, and semantic metadata derived from the target site.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "minLength": 1,
   "description": "Website URL to crawl and generate a ready-to-consume /llms.txt manifest for"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mcp-security-agentdiet-dev-automated-llms-txt-agent-documentation-6a87372c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-security.agentdiet.dev](https://www.zero.xyz/host/mcp-security.agentdiet.dev/llms.txt)
