Back to Directory/Search & Knowledge

StyleKit

stdio MCP server for StyleKit styles, templates, assets, tokens, recipes, and lint checks.

Search & KnowledgeTypeScriptv0.4.1

What is StyleKit?

StyleKit helps developers and AI coding tools start from a consistent visual direction. Pick a named style to get structured design tokens, component recipes, prompt guidance, and implementation references for a website or dashboard; production integration and completeness still depend on the target project.

AI frontend resources

If you are using AI to design or build a frontend, these focused guides cover the practical workflow:

Design System

  • 148 visual and layout styles with design tokens, color palettes, and typography
  • Live showcases — a full-page interactive demo for every catalog style
  • Component recipes — copy-paste code for buttons, cards, inputs, and more
  • Export anywhere — Tailwind preset, shadcn theme, CSS variables, Figma tokens

AI-Native Workflow

  • AI implementation guidance — hard prompt, design spec, and creative brief
  • IDE export — .cursorrules, claude-rules, windsurf-rules
  • shadcn theme install — light and dark CSS variables for existing projects
  • llms.txt — AI-discoverable docs at /llms.txt

Creative Tools

  • 60 animations with live preview and one-click copy
  • 36 page-template demos — SaaS, dashboard, e-commerce, portfolio, blog
  • Prompt libraries — copyable UI, landing page, dashboard, Tailwind, and dark mode prompts
  • Design resources — gradients, shadows, backgrounds, typography, and component patterns

Platform

  • Bilingual — full English and Chinese support
  • Localized routing — English and Chinese public pages
  • LLM-readable docs — /llms.txt, /llms.md, and /llms-full.txt
  • Production runbooks — deployment, release review, and style authoring docs

Styles

148 visual and layout styles across multiple categories. Every style includes design tokens, component code, AI rules, and a curated preview.

Modern / Tech — Glassmorphism, Liquid Glass, Neumorphism, Bento Grid, Fluent Design, Material Design, Linear Style ...

Clean, professional styles for SaaS products, dashboards, and developer tools. Emphasis on subtle depth, blur effects, and systematic spacing.

Brutalist — Neo-Brutalist, Neo-Brutalist Playful, Neo-Brutalist Soft, Brutalist Web, Anti-Design

Bold borders, raw typography, high contrast. Ranges from aggressive to playful depending on the variant.

Brand-Inspired — Apple Style, Stripe Style, Notion Style, GitHub Style, Shopify Clean, Linear Style

Reverse-engineered design languages from iconic products. Great starting points for product UI.

Retro / Vintage — Art Deco, Vaporwave, VHS Aesthetic, Y2K, Outrun, Synthwave, Retro Vintage, Frutiger Aero

Nostalgic aesthetics spanning decades. From 1920s Art Deco to 2000s Y2K and Frutiger Aero.

Artistic — Watercolor, Impressionist Oil, Pop Art, Risograph, Collage Art, Ink Wash, Generative Art

Fine art movements translated into UI design. Painterly textures, halftone patterns, and organic forms.

Japanese / Anime — Ghibli Style, Cyber Anime, Shoujo Manga, Ukiyo-e, Pixel Anime, Neon Samurai, Kawaii Minimal

Japanese visual culture from traditional woodblock prints to modern anime aesthetics.

Cyberpunk / Sci-Fi — Cyberpunk Neon, Neon Tokyo, Sci-Fi HUD, Mecha, Holographic, Arcade CRT

Neon-drenched, high-tech interfaces. Terminal greens, scan lines, and holographic effects.

Layout Patterns — Magazine Grid, Masonry Flow, Split Screen, Parallax, Dashboard Layout, Holy Grail, F-Pattern, Z-Pattern

Structural patterns that pair with any visual style. Responsive grids, scroll-based layouts, and classic page structures.

Cultural / Regional — Islamic Geometric, Indian Festive, African Textile, Korean Minimal, Cyber Chinese, Dark Academia

Design traditions from around the world, adapted for modern web interfaces.

Nature / Cozy — Cottagecore, Scandinavian, Wabi-Sabi, Natural Organic, Solarpunk, Zen Garden, Tropical Paradise

Warm, organic, and calming. Earthy palettes, soft textures, and generous whitespace.

Quick Start

git clone https://github.com/AnxForever/stylekit.git
cd stylekit
pnpm install
pnpm dev

Open localhost:3000. See .env.example for optional Supabase and admin configuration.

Project Structure

See docs/PROJECT_STRUCTURE.md for the repository map, runtime flow, source boundaries, and cleanup guidance. See docs/STYLE_AUTHORING.md before adding or changing catalog styles. Deployment is environment-specific: build locally, then serve the .next output with your process manager of choice (ecosystem.config.cjs holds a PM2 example).

API Surface

The stable JSON endpoints expose published style metadata, tokens, recipes, and rules.

GET  /api/styles                      # List all styles
GET  /api/styles/{slug}               # Style record (tokens + recipes + rules)
GET  /api/styles/{slug}/tokens        # Design tokens only
GET  /api/styles/{slug}/recipes       # Component recipes only
GET  /api/styles/stats                # Aggregate views, favorites, and ratings per style

Use in your shadcn project

Every style is also published as a shadcn registry theme. Install any style's light + dark color theme into an existing shadcn project with one command:

npx shadcn add https://stylekit.top/r/glassmorphism.json

Swap glassmorphism for any slug — browse the full list at /registry.json or in the styles gallery. The CLI injects the style's cssVars (light + dark) into your globals.css and works with Tailwind v4.

Prerequisite: the target project must contain a tsconfig.json, or the shadcn CLI exits with Couldn't find tsconfig.json.

See docs/registry.md for the full guide.

Use as an Agent Skill

Give Cursor, Claude Code, Windsurf, or any Agent-Skills-compatible coding agent built-in knowledge of StyleKit — how to browse styles and install them — with one command:

npx skills add AnxForever/stylekit-skill

Your agent can then apply any of the 148 styles on request ("make this look like Stripe", "cyberpunk dashboard") using the correct tokens and rules. The skill lives in its own repository (AnxForever/stylekit-skill); see docs/AGENT_SKILL_GUIDE.md for how it's built and published.

Support This Project

If StyleKit happens to help you, that honestly means a lot.

You can support the project with any amount you like. It helps keep StyleKit going and offsets server, domain, and maintenance costs.

For Chinese readers:

如果 StyleKit 恰好帮到了你,欢迎扫码支持我把它继续做下去。金额随意,每一份心意我都很感谢。

Current QR assets (cropped to the code block itself plus a white quiet zone, so the scannable area fills the frame):

The uncropped originals are kept at public/alipay-qr.jpg and public/wechat-qr.png for reference.

The website support section is driven from a single config file: lib/site/support.ts.

Tech Stack

LayerTechnology
FrameworkNext.js 16 + Turbopack
UIReact 19, Radix UI, Lucide Icons
StylingTailwind CSS 4, CVA
Auth & DBSupabase (PostgreSQL + auth helpers)
ValidationZod 4
TestingVitest + Playwright
DeploymentAlibaba Cloud ECS + Nginx + PM2

Production Deployment

Current production for www.stylekit.top runs on an Alibaba Cloud ECS instance in Beijing.

  • Edge and TLS: Nginx on the ECS host
  • App process: PM2 app stylekit
  • App directory: /www/stylekit rsynced from a verified local checkout
  • Runtime command: PM2 runs next start -p 13000 directly via node_modules/next/dist/bin/next (no npm wrapper)

vercel.json is no longer part of the active production deployment path and should not be treated as the source of truth for where StyleKit is hosted.

Run the verification gate above before shipping; /api/health reports service status once the app is running.

Contributing

Contributions welcome. Please read these before opening a PR:

  1. CONTRIBUTING.md
  2. STYLE_ADDITION_CHECKLIST.md — required for new styles
git checkout -b feat/your-feature
pnpm lint && pnpm test && pnpm build
git commit -m "feat: add your feature"

Star History

Contributors

StyleKit contributors

License

MIT — see LICENSE.


Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y stylekit-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-anxforever-stylekit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "stylekit-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

stylekit-mcpnpm

Compatible MCP Clients

StyleKit works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More