AI, MCP & CLI
Prismora is designed so coding agents can build correct UI on the first try: one predictable API, machine-readable manifests, and tools that validate their output.
Machine-readable sources
| Resource | Contents |
|---|---|
/llms.txt | A short index of the docs and the core rules for agents. |
/llms-full.txt | Every component with its attributes, enums, events, slots, parts and examples. |
@prismora/elements/components.json | The same API as JSON: the source for wrappers, docs and the MCP server. |
custom-elements.json | The standard Custom Elements Manifest (IDE and Storybook tooling). |
MCP server
Give Claude Code, Cursor or any MCP client direct access to the design system:
| Tool | Does |
|---|---|
list_components | Lists every component with a one-line summary. |
get_component | Returns the full API plus a usage snippet for a framework (html, react, vue, svelte, solid, angular). |
search_tokens | Finds design tokens by name or purpose. |
generate_theme | Seed and options → theme CSS plus a contrast report. |
import_theme_url | Turns a generator share link into a config and CSS. |
validate_markup | Flags unknown tags, invalid attribute values and missing labels. |
scaffold_page | A whole page from any template (see Templates), in your framework. Templates with working controls also return their data and behaviour files. |
scaffold_app_shell | The app shell as a layout component: sidebar, app bar and the place for your pages. |
ai_ui_kit | For an app with its own AI chat: the prompt and tool that let its model answer with components. |
validate_ai_ui | Checks the components of such an answer against the catalogue. |
CLI
Drop-in agent instructions
Paste this into your project's AGENTS.md or CLAUDE.md: