MCP server
MCP server
Give Claude Code, Cursor, VS Code, Codex and OpenCode Fragiola's components, docs and APIs with one command: npx fragiola@latest mcp.
fragiola mcp is an MCP server that gives your coding agent every Fragiola component, docs page
and API. It also knows which ones are source code to copy and which are npm packages to install.
Two kinds of components, never mixed up
Fragiola ships components in two ways, and the server says which one every item is:
- Fragiola UI: source code. Components on Base UI and Tailwind v4, copied into your project
with
npx shadcn@latest add @fragiola/<name>. The code is yours, styled with six palette roles. - Libraries: npm packages. Headless libraries: install the adapter for your framework, which brings the core, and import everything from it. Behaviour and accessibility, no CSS.
Set it up in your client
Run one command in your project. It writes the client's config, keeps your other servers, and changes nothing on a second run.
npx fragiola@latest mcp init --client claudeRestart Claude Code and approve the fragiola server: /mcp shows its status. Or configure it by
hand:
{
"mcpServers": {
"fragiola": {
"command": "npx",
"args": ["fragiola@latest", "mcp"]
}
}
}Every client runs npx fragiola@latest mcp, so the server is always the latest one, and nothing
is added to your dependencies. It needs Node.js 24 or later.
Pair it with the agent skills
The server answers what exists; the fragiola skill teaches the agent how to build with it: palettes, composition and the libraries.