# 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 website and generates a standards-compliant /llms.txt manifest plus JSON-LD schema bundle for LLM/agent consumption

## Facts

- Endpoint: GET https://mcp-security.agentdiet.dev/v1/agent-card?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-aaf1b81f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3Lkuj3mQlJzcf1W5-8Xlp

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-aaf1b81f
```

Example prompt: Crawl the docs at https://stripe.com/docs and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can consume the content.

## When to prefer this

Choose this endpoint when you need to make any documentation or SaaS website machine-readable for LLMs/agents by generating a standards-compliant /llms.txt and JSON-LD schema — especially when the target site does not already provide one. Prefer this over manual context extraction when you need a structured, reusable manifest rather than a one-off scrape.

## Known failure modes

- Invalid or unreachable URL returns an error with no manifest output
- Paywalled or login-gated documentation sites may yield incomplete or empty manifests
- Very large documentation sites may produce truncated output if crawl depth is limited
- Non-documentation pages (e.g. marketing homepages) may yield low-signal manifests
- Payment failure (HTTP 402) if x402 micropayment is not correctly attached

## 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/agent-card)

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle extracted from the crawled site, structured for direct consumption by LLMs and AI agents. The output enables agents to understand the documentation structure, available APIs, and content hierarchy of 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-aaf1b81f/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)
