Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/content/docs/style-guide/ai-tooling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ import { Render, Tabs, TabItem } from "~/components";

Use the following AI tools to get the most out of Cloudflare (and our docs).

## llms.txt
## Docs in Markdown for LLMs

<Render file="llms-txt" product="style-guide" />

## MCP
## Documentation MCP Server

Cloudflare runs a catalog of managed remote MCP Servers which you can connect to using OAuth on clients like [Claude](https://modelcontextprotocol.io/quickstart/user), [Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp), our own [AI Playground](https://playground.ai.cloudflare.com/) or any [SDK that supports MCP](https://github.com/cloudflare/agents/tree/main/packages/agents/src/mcp).

One of the available MCP servers is the [Documentation MCP Server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/docs-vectorize), which you can use to get up-to-date reference information on Cloudflare.

<Tabs>
<TabItem label="Cursor">

Expand Down Expand Up @@ -60,7 +62,7 @@ Our docs site also supports [agent skills](https://agentskills.io/home) that are
To install them:

```sh
$ npx skills add https://developers.cloudflare.com
npx skills add https://developers.cloudflare.com
```

## AI resources for documentation contributors
Expand Down
20 changes: 14 additions & 6 deletions src/content/partials/style-guide/llms-txt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@

import { Width } from "~/components";

We have implemented `llms.txt`, `llms-full.txt` and also created per-page Markdown links as follows:
We have implemented `llms.txt` and `llms-full.txt` as follows:

- [`llms.txt`](/llms.txt)
- [`llms-full.txt`](/llms-full.txt)
- We also provide a `llms-full.txt` file on a per-product basis, i.e [`/workers/llms-full.txt`](/workers/llms-full.txt)
- [`/$page/index.md`](index.md)
- Add `/index.md` to the end of any page to get the Markdown version, i.e [`/style-guide/index.md`](/style-guide/index.md)
- [`llms.txt`](/llms.txt) — An LLM-friendly directory of all available documentation pages for Dev Platform products in Markdown format.
- [`llms-full.txt`](/llms-full.txt) — The full contents of the Developer Docs for LLM consumption in Markdown format. We also provide a `llms-full.txt` file on a per-product basis - for example, [`/workers/llms-full.txt`](/workers/llms-full.txt).

To obtain a Markdown version of a single documentation page, you can:

- Send a request to `/$page/index.md` — Add `/index.md` to the end of any page to get the Markdown version. For example, [`/style-guide/index.md`](/style-guide/index.md).

- Send a request to `/$page/` with an `Accept` header requesting a page in Markdown format — Uses [Markdown for Agents](/fundamentals/reference/markdown-for-agents/). For example:

```bash
curl "https://developers.cloudflare.com/style-guide/" \
--header "Accept: text/markdown"
```

In the top right of this page, you will see a `Page options` button where you can copy the current page as Markdown that can be given to your LLM of choice.

Expand Down
Loading