# Use with AI agents (/docs/agents)

Coding agents build better integrations when they read the current docs instead of what they remember. These docs are served in three forms an agent can use.

| Form | What it gives the agent | Where |
| --- | --- | --- |
| MCP server | Search, read any page, list the pages, read the skills | `/mcp` |
| Agent Skills | Short instructions loaded when a task needs them | `/.well-known/agent-skills/index.json` |
| Markdown | Every page as Markdown, and an index of the docs | `/llms.txt`, `/llms-full.txt`, any page followed by `.md` |

## The docs MCP server [#the-docs-mcp-server]

The server answers over Streamable HTTP at <SiteAddress path="/mcp" />. It needs no sign in and only reads the docs. Its tools:

- `search_docs`: finds the pages and sections that match a query, with their paths.
- `read_doc`: returns one page as Markdown, from a path such as `/docs/quickstart/react`.
- `list_docs`: returns every page with its title, path and summary.

The Agent Skills below are also listed as resources of the server, so a connected agent can read them without installing anything.

Add it to your agent:

<McpSetup />

In Claude on the web or the desktop app, open Settings, then Connectors, choose Add custom connector, and give it the same address.

## Agent Skills [#agent-skills]

The skills follow the [Agent Skills](https://agentskills.io/specification) format, and this site lists them where the [Agent Skills Discovery RFC](https://github.com/cloudflare/agent-skills-discovery-rfc) expects them, at <SiteAddress path="/.well-known/agent-skills/index.json" />. Each entry carries the SHA-256 digest of its file, so clients can check what they download.

| Skill | Use it to |
| --- | --- |
| `aiconnect-integrate` | Add AI Connect to a React, Next.js or JavaScript site, from the provider to the chat |
| `aiconnect-mcp-tools` | Serve a site's tools as an MCP server and design them so a model uses them well |

Install them in your agent with the skills command line, which finds them from the site's address:

<SkillsSetup />

## Markdown and llms.txt [#markdown-and-llmstxt]

- `/llms.txt` lists every page with its summary, following [llmstxt.org](https://llmstxt.org).
- `/llms-full.txt` holds the whole documentation in one file.
- Any page followed by `.md`, such as `/docs/quickstart/react.md`, returns that page as Markdown. A request with the header `Accept: text/markdown` on the page's own address returns the same Markdown.
- The **Copy Markdown** button at the top of each page copies it for a chat.
