What is the StyleKit MCP?
StyleKit is an open-source MIT style library for AI-generated interfaces, and stylekit-mcp is its MCP server. It exposes search, design tokens, component recipes and a stylekit_lint_code tool for about 148 curated styles. The agent picks a named style, so output follows real tokens instead of drifting between prompts.
Asking an agent to make a page look good is not a spec, so results look alike. StyleKit turns a visual direction into a named style with tokens, hard constraints and examples the agent can follow.
The MCP server serves that library on demand. The agent searches for a style, reads its tokens and component recipes, and can lint generated code against the rules.
What you get
- Named styles with design tokens and Tailwind constraints
- Component recipes and copyable prompts
- A lint tool that checks generated code against the chosen style
- shadcn registry themes installed with a single command
Best for
- Keeping an agent's UI output consistent across a project
- Trying a distinct look quickly without writing tokens by hand
- Teams already using shadcn and Tailwind
Who it is not for
The project says it does not promise production-ready interfaces, and integration still depends on your codebase. It also targets Tailwind and shadcn projects, so it fits other stacks less well.
Use it with UiChemy
Choose a style here, then pair it with the shadcn UI MCP for components, and use UiChemy to bring the finished design into WordPress.
Connect StyleKit MCP Server: Design Styles and Lint for Agents to your AI client
npx -y --prefer-online stylekit-mcp@latestRun the server
Start it with the npx command above. The --prefer-online flag checks for the latest release whenever the process starts.
Add it to your client
Copy the one-time JSON configuration from the StyleKit site into your MCP client's config file.
Restart the client
A running process keeps its loaded content, so restart to pick up a new release.
Endpoints and ports
npx -y --prefer-online stylekit-mcp@lateststdio servernpx shadcn add https://stylekit.top/r/glassmorphism.jsonReplace the slug with any stylenpx skills@latest add AnxForever/stylekit-skillOptional skill for coding agentsWhat you can do with it
- Curated style libraryThe repository describes around 148 styles, each with tokens, component recipes and prompts.
- shadcn registry themesEach style installs as a shadcn theme with light and dark variables.
- Lint toolGenerated code can be checked against the rules of the chosen style.
- Agent SkillA separate skill lets coding agents apply the library on request.
- Tailwind v4 readyThe registry themes are described as compatible with Tailwind v4.
Tools it exposes
search
Find a style in the library by name or mood.
tokens
Return the design tokens for a style.
component recipes
Return recipes for building components in that style.
stylekit_lint_code
Check generated code against the style rules.
Frequently asked questions
What is StyleKit MCP?
StyleKit MCP is the Model Context Protocol server for StyleKit, an open-source library of named visual styles for AI-generated interfaces. It lets an agent search styles, read design tokens and component recipes, and run a lint tool, so generated UI follows a defined look rather than a vague prompt.
How do I install StyleKit MCP?
Run npx -y --prefer-online stylekit-mcp@latest to start the server, then add the one-time JSON configuration from the StyleKit site to your MCP client. The prefer-online flag makes npx check for the newest release at startup. Restart the client after any config change.
How many styles does StyleKit include?
The GitHub description lists 148 curated styles, while the README text mentions 149, so the count shifts as the library grows. Each style carries design tokens, component recipes, Tailwind constraints and copyable prompts, which is what makes the output consistent between sessions.
Does StyleKit work with shadcn?
Yes. Each style is published as a shadcn registry theme. Running npx shadcn add with a StyleKit theme URL adds the light and dark cssVars to your globals.css. The target project needs a tsconfig.json, or the shadcn CLI stops with an error.
What does the lint tool do?
The stylekit_lint_code tool checks generated code against the rules of the chosen style, so an agent can catch drift before you review it. It is a consistency check, not a guarantee that the interface is production ready or correct for your project.
Is StyleKit free?
Yes. The repository is MIT licensed and the MCP server runs locally through npx. The StyleKit website offers a style gallery, page templates and animations that you can browse before choosing, and optional admin features need your own Supabase setup.


