StyleKit MCP Server
io.github.AnxForever/stylekit-mcp
Search 148 curated design styles and pull tokens, recipes, and shadcn commands into your AI IDE.
What is the StyleKit MCP server?
StyleKit is an open-source visual style library for AI-generated web pages, containing 148 curated design styles. Each style includes design tokens, component recipes, Tailwind constraints, and AI-ready prompts that can be integrated into shadcn projects, Agent Skills, or accessed via MCP. It helps AI agents produce consistent, visually coherent interfaces by providing concrete style specifications instead of vague design directions.
StyleKit solves the problem of AI-generated websites looking generic and inconsistent by packaging visual directions into machine-readable specifications. It provides 148 design styles across 10 categories (modern, brutalism, brand-inspired, retro, art, anime, cyberpunk, layout patterns, cultural, and natural), each with design tokens, component code, and real-time previews. You can integrate styles into shadcn projects, use them via Agent Skills in Claude/Cursor/Windsurf, or query them through MCP.
How to install StyleKit
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
style_search— Search and retrieve design styles from the 148 curated collectionget_design_tokens— Extract design tokens (colors, typography, spacing) for a specific styleget_component_recipes— Retrieve component code and configuration for a styleget_shadcn_command— Generate shadcn CLI commands to install a style into a projectstylekit_lint_code— Validate generated UI code against a style's rules and constraints
Use cases
- Generate consistent AI-designed landing pages by specifying a StyleKit style (e.g., 'Stripe-inspired', 'cyberpunk dashboard')
- Integrate curated design tokens and component recipes into existing shadcn/ui projects via one-line commands
- Validate that AI-generated UI code adheres to a chosen style's design rules and constraints
- Access 60 animations and 36 page templates (SaaS, dashboards, e-commerce, portfolios) for rapid prototyping
- Export design systems as Tailwind presets, CSS variables, or Figma tokens for cross-tool consistency
StyleKit MCP server FAQ
StyleKit is an open-source library of 148 curated design styles for AI-generated web pages. Each style includes design tokens, component recipes, Tailwind constraints, and AI prompts to help AI agents produce visually consistent interfaces.
Yes, StyleKit is MIT-licensed and free to use. The library, styles, animations, and templates are all open-source.
You can use StyleKit three ways: (1) install individual styles into shadcn projects via `npx shadcn add https://stylekit.top/r/{style}.json`, (2) add the Agent Skill with `npx skills add AnxForever/stylekit-skill` for Claude Code/Cursor/Windsurf, or (3) run the MCP server with `npx -y stylekit-mcp`.
No, StyleKit does not require authentication or API keys. The MCP server and CLI tools work out of the box.
148 styles across 10 categories: modern & tech, brutalism, brand-inspired (Apple, Stripe, Notion, GitHub), retro, art, anime & Japanese, cyberpunk & sci-fi, layout patterns, cultural & regional, and natural & cozy.
Yes. If you use shadcn/ui, you can install any style's Tailwind theme directly. You can also export design tokens as CSS variables, Tailwind presets, or Figma tokens for use in other frameworks.
README (reference)
Source of truth, from the repository.
StyleKit 是什么?
让 AI 帮你做个落地页,出来的东西能跑,但和所有 AI 做的落地页长得一样。问题不在模型 —— 而是「做得好看点」本来就不算一句规格。
StyleKit 把一个视觉方向变成代理真正能照着做的东西:一个有名字的风格,配上真实的令牌、硬性约束,以及可以先看的示例。选定一个,产出就不再漂移。
它不保证产出可以直接上线的界面。集成与完整度仍然取决于你的项目。
快速开始
git clone https://github.com/AnxForever/stylekit.git
cd stylekit
pnpm install
pnpm dev
打开 localhost:3000。Supabase 与管理员相关的可选配置见 .env.example。
三种使用方式
1. 把风格装进现有的 shadcn 项目
每套风格都以 shadcn registry 主题的形式发布。一条命令即可把它的亮色与暗色 cssVars 加进你的 globals.css:
npx shadcn add https://stylekit.top/r/glassmorphism.json
把 glassmorphism 换成任意 slug,兼容 Tailwind v4。
目标项目必须包含
tsconfig.json,否则 shadcn CLI 会以Couldn't find tsconfig.json退出。完整指南见docs/registry.md。
2. 把整个库交给你的编码代理
npx skills add AnxForever/stylekit-skill
之后 Claude Code、Cursor、Windsurf 以及任何兼容 Agent Skills 的工具,都能按需套用这 148 套风格 ——「做成 Stripe 的样子」「赛博朋克仪表盘」—— 并使用正确的令牌与规则。技能本体在 AnxForever/stylekit-skill。
3. 通过 MCP 调用
npx -y stylekit-mcp
提供风格检索、设计令牌、组件配方,以及一个 stylekit_lint_code 工具,用来检查生成的 UI 代码是否真的守住了该风格的规则。见 packages/mcp/README.md。
风格目录
148 套风格,分属十大类 —— 现代与科技、粗野主义、品牌启发(Apple、Stripe、Notion、GitHub)、复古与怀旧、艺术、日式与动漫、赛博朋克与科幻、布局模式、文化与地域、自然与温馨。
每套风格都自带设计令牌、组件代码、AI 规则和整页实时演示。
仓库里还有什么
- 60 个动效 —— 实时预览,一键复制
- 36 个页面模板 —— SaaS、仪表盘、电商、作品集、博客
- 随处导出 —— Tailwind preset、shadcn 主题、CSS 变量、Figma tokens
- IDE 规则 ——
.cursorrules、claude-rules、windsurf-rules - 双语 —— 完整的中英文内容与本地化路由
- 面向机器可读 ——
/llms.txt、/llms.md、/llms-full.txt,以及有文档的 HTTP API(docs/API.md)
用 AI 构建前端的实战指南
站点上的实操文章 —— 当问题出在工作流而不是风格本身时看这些:
- AI 生成的网站不好看怎么修
- 怎么选 AI 网页设计工具
- AI 生成 UI 界面 —— 把一句话需求变成可用的界面结构
- AI 前端工作流
- English: Fix an AI-generated website · AI frontend workflow
参与贡献
欢迎贡献。提交 PR 前请先阅读:
docs/CONTRIBUTING.mddocs/STYLE_ADDITION_CHECKLIST.md—— 新增风格必读docs/STYLE_AUTHORING.md—— 风格是怎么写的,动手前先看
git checkout -b feat/your-feature
pnpm lint && pnpm test && pnpm build
git commit -m "feat: add your feature"
在改代码?先看上面的贡献文档,再看仓库根目录的 AGENTS.md 了解代码规则。
支持这个项目
如果 StyleKit 恰好帮到了你,点个 star 就已经很够了。想再往前一步的话,网站上有专门的支持页面,写明了服务器与域名成本 —— stylekit.top/contact#support-maintenance。
也欢迎扫码支持我把它继续做下去,金额随意,每一份心意我都很感谢。
Star 趋势
<a href="https://star-history.com/#AnxForever/stylekit&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=AnxForever/stylekit&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=AnxForever/stylekit&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=AnxForever/stylekit&type=Date" /> </picture> </a>贡献者
<a href="https://github.com/AnxForever/stylekit/graphs/contributors"> <img src="https://contrib.rocks/image?repo=AnxForever/stylekit" alt="StyleKit 贡献者" /> </a>许可证
MIT —— 详见 LICENSE。
<p align="center"> <a href="https://stylekit.top"><strong>www.stylekit.top</strong></a> <br> 由 <a href="https://github.com/AnxForever">AnxForever</a> 构建 </p>
Related MCP servers
Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.

TrainTools
Recommend paper-backed diagnostics for PyTorch and Hugging Face training problems.

web3agent
Web3 MCP proxy for AI agents: DeFi swaps, bridges, market data, wallets, and gated writes.

Aperion Shield
Local guardrail proxy that blocks destructive MCP tool calls, rug pulls, and tool poisoning
Web3 founder diligence: code audit, jurisdiction, fund matching, portfolio, scoring.


