---
title: Working with AI
description: Use Sveltia CMS with AI coding assistants through our MCP server, official Agent Skill and llms.txt files.
---

We provide an MCP server, an official Agent Skill and `llms.txt` files to help AI agents understand the structure and syntax of the Sveltia CMS configuration. All of them come from this documentation site. Use them with AI coding assistants, such as Claude, ChatGPT, GitHub Copilot and others, to help them write and edit the configuration file.

- The [MCP server](#mcp-server) lets an agent search and read the latest documentation whenever it needs to.
- The [Agent Skill](#agent-skill) bundles the documentation with your agent, so it works offline.
- The [`llms.txt` files](#llms-txt) give you the documentation as plain text to add as context.

## MCP Server

This site hosts a remote [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server, so AI agents can look up the current documentation on demand instead of relying on what they learned during training. The server is free and read-only, and it doesn’t need an account or an API key.

```
https://sveltiacms.app/mcp
```

### Connecting Your Agent

In Claude Code, run:

```sh
claude mcp add --transport http sveltia-cms https://sveltiacms.app/mcp
```

In Codex, run:

```sh
codex mcp add sveltia-cms --url https://sveltiacms.app/mcp
```

For Cursor and VS Code, use the install links in the **Connect to MCP** menu on any documentation page. The same menu also copies the server URL and the commands above.

For other agents, add a remote MCP server with the Streamable HTTP transport and the URL above. Check your agent’s documentation for the steps.

### Available Tools

The server provides these read-only tools:

- `search_docs`: Search the documentation and get the matching pages.
- `get_page`: Get the full content of a page as Markdown.
- `list_pages`: List every page with its title and description.
- `get_navigation`: Get the structure of the documentation, as shown in the sidebar.

Every page is also available as an MCP resource, so agents that attach context by URI can browse the documentation without calling a tool.

## Agent Skill

An [Agent Skill](https://agentskills.io/) is a folder of instructions and reference material that an AI coding agent loads only when it’s relevant. Our official skill teaches agents how to install, configure, migrate and debug Sveltia CMS, with reference pages generated from this documentation site. It needs no tools, dependencies or network access.

:::warning[Unofficial Skills]

Several third-party Sveltia CMS skills are listed in agent skill directories. They are not maintained by us, and the ones we have reviewed are pinned to old releases and repeat outdated version numbers and feature claims. We recommend the official skill below.

:::

### Installing in Claude Code

Add our marketplace, then install the plugin:

```
/plugin marketplace add sveltia/ai-tools
/plugin install sveltia-cms@sveltia
```

Run `/plugin marketplace update sveltia` to pick up documentation updates.

### Installing in Other Agents

The skill follows the open [Agent Skills specification](https://agentskills.io/specification), so it works with any compatible agent, including Claude, Codex, Cursor, GitHub Copilot and Gemini CLI. Copy the [`plugins/sveltia-cms/skills/sveltia-cms`](https://github.com/sveltia/ai-tools/tree/main/plugins/sveltia-cms/skills/sveltia-cms) folder from our [`ai-tools` repository](https://github.com/sveltia/ai-tools) into the location your agent reads skills from, and check your agent’s documentation for that path.

## `llms.txt` [#llms-txt]

We also generate [standard `llms.txt` files](https://llmstxt.org/) from this documentation site.

### Available `llms.txt` Files [#available-llms-txt-files]

There are two versions of the Sveltia CMS documentation available as `llms.txt` files:

- [`llms.txt`](https://sveltiacms.app/llms.txt): A sitemap-style version of the documentation, including the title and description of each page. (5k+ tokens)
  ```
  https://sveltiacms.app/llms.txt
  ```
- [`llms-full.txt`](https://sveltiacms.app/llms-full.txt): A complete version of the documentation, including all page content and code examples. (540k+ tokens)
  ```
  https://sveltiacms.app/llms-full.txt
  ```

### Using the `llms.txt` Files [#using-the-llms-txt-files]

If you use GitHub Copilot in VS Code, you can use the [`#fetch` tool](https://code.visualstudio.com/docs/copilot/chat/copilot-chat-context#_reference-content-from-the-web) in the chat interface to load the `llms.txt` file as context:

```
#fetch https://sveltiacms.app/llms.txt
```

If you use Cursor, you can add the `llms.txt` file using the [`@docs` feature](https://cursor.com/docs/context/mentions#adding-your-own-documentation).

For other AI agents, refer to their documentation on how to add custom knowledge sources or context files.
