Working with AI
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 lets an agent search and read the latest documentation whenever it needs to.
- The Agent Skill bundles the documentation with your agent, so it works offline.
- The
llms.txtfiles give you the documentation as plain text to add as context.
MCP Server
This site hosts a remote Model Context Protocol (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:
claude mcp add --transport http sveltia-cms https://sveltiacms.app/mcp
In Codex, run:
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 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.
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, so it works with any compatible agent, including Claude, Codex, Cursor, GitHub Copilot and Gemini CLI. Copy the plugins/sveltia-cms/skills/sveltia-cms folder from our ai-tools repository into the location your agent reads skills from, and check your agent’s documentation for that path.
llms.txt
We also generate standard llms.txt files from this documentation site.
Available llms.txt Files
There are two versions of the Sveltia CMS documentation available as llms.txt files:
llms.txt: A sitemap-style version of the documentation, including the title and description of each page. (5k+ tokens)https://sveltiacms.app/llms.txtllms-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
If you use GitHub Copilot in VS Code, you can use the #fetch tool 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.
For other AI agents, refer to their documentation on how to add custom knowledge sources or context files.