# AI and agents

This page describes what a site offers AI assistants. The frontend serves it, from what the CMS gives.

## Markdown

With `settings.markdown_enabled`, a page is also there as Markdown, with `?format=md`. A page can opt out. The content type per AI tool comes from `site.content_types`. These are rules by user agent, and the first match wins.

## The search endpoint

With `settings.search_enabled`, the site answers searches on its own host, for tools and agents: `/search.json?q=…&module=docs,help&context=1`.

- `module=` only searches those kinds.
- With `context=1`, each result comes with its `ai_context`. That comes from `locales.<lang>.ai.context`, cut at about 500 characters.
- The order follows the score of the site. See [Search](/md/docs/delivery-api/search/).
- Pages with noindex are never in it.

## llms.txt

`site.llms` gives, per language, a summary and an introduction, the main menu, the newest items of each overview, and which overviews are optional. A page can stay out with `llms_exclude`, or have its own line with `llms_description`. It is only there on the live site, without a password.

## WebMCP

`site.webmcp` holds the tools that an agent in the browser of the visitor may use. It is `null` when it is off. Each tool has a name, a description per language, an `inputSchema`, annotations and a handler. The tools are searching, a page as markdown, opening hours, a list of records with its filters, and sending a live form for the visitor. Offer them through WebMCP, where the browser has it.

Do not confuse this with the [MCP server](/md/docs/ai/mcp/) of the CMS itself. That is for the AI apps of the people who work in Lightbolt.

*Also called: AI readiness, LLM optimisation, GEO, MCP, agent tools, markdown for LLMs.*

Last changed 26 November 2026
