Agent ready
What an agent can run
The registry JSON and the local script are real. The script can answer two tools over stdio. There is no hosted MCP server, and no model is connected.
Stdio only, nothing hosted
There is no hosted MCP server, no installable package, and no live model. npm run onefold -- mcp speaks MCP on stdin in this repository. A local check of initialize, tools/list, and tools/call returned list_components and show_tokens. That is the whole protocol this script implements.
Scaffold a project
Copy
Open design to codesrc/design-systeminto the other app, then download the CSS and JSON for the theme in the editor. The handoff page does that download.Discover components
The catalog has 126 components. Search them on the components page, or read the same list from the registry.
Browse templates
Dashboard, enterprise, AI experience, and form each open in the playground.
Open templatesGenerate themes
The theme studio edits the live theme. This page can copy the CSS and JSON for Blue app. Saving a named copy stays in this browser.
Retrieve documentation
Foundations describe color, type, space, and focus. Each component page shows that component.
Use the local script
Run these from the repository root.
listprints slug, name, and summary.tokensprints light and dark values for sable, kiln, grove, or ink.registryprints the same JSON as /registry. There is nothing to install.npm run onefold -- list npm run onefold -- tokens grove npm run onefold -- registry npm run onefold -- mcp
Registry preview
Full JSON126 components from src/design-system/catalog.ts. The block below is the start of that registry, read in this page from the same function that serves /registry.
{
"name": "onefold",
"version": "2.0.0",
"source": "src/design-system/catalog.ts",
"componentCount": 126,
"components": [
{
"slug": "button",
"name": "Button",
"playground": true
},
{
"slug": "input",
"name": "Text field",
"playground": true
},
{
"slug": "textarea",
"name": "Text area",
"playground": true
},
{
"slug": "checkbox",
"name": "Checkbox",
"playground": true
},
{
"slug": "switch",
"name": "Switch",
"playground": true
},
{
"slug": "tabs",
"name": "Tabs",
"playground": true
},
{
"slug": "badge",
"name": "Badge",
"playground": true
},
{
"slug": "avatar",
"name": "Avatar",
"playground": true
}
],
"themes": [
"Blue app",
"Shop",
"Health notes",
"Editorial"
]
}