style-system
Design-system lookup for coding agents: theme tokens, Tailwind classes, Storybook components and previews
Pulls StyleKit design styles, tokens, recipes, lint and repair checks into an AI coding client
Official · Anx TypeScript Remote (hosted) · Streamable HTTPLocal · stdio Developer toolsDesign
52 popularity score ★ 778 ↓ 126/wk
Opens the app, which asks before it adds the server.
Its docs show no set-up for a particular client: add this address in your client the way it adds a remote MCP server.
https://www.stylekit.top/mcpOpens the app, which asks before it adds the server.
claude mcp add stylekit -- npx -y --prefer-online stylekit-mcp@latest{
"mcpServers": {
"stylekit": {
"command": "npx",
"args": [
"-y",
"--prefer-online",
"stylekit-mcp@latest"
]
}
}
}{
"mcpServers": {
"stylekit": {
"command": "npx",
"args": [
"-y",
"--prefer-online",
"stylekit-mcp@latest"
]
}
}
}{
"servers": {
"stylekit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"--prefer-online",
"stylekit-mcp@latest"
]
}
}
}[mcp_servers.stylekit]
command = "npx"
args = ["-y", "--prefer-online", "stylekit-mcp@latest"]gemini mcp add --scope user stylekit npx -- -y --prefer-online stylekit-mcp@latestOpens the app, which asks before it adds the server. Then replace each <NAME> in its settings with your value.
git clone https://github.com/AnxForever/stylekit.git
cd stylekit
git checkout mcp-v0.5.0
pnpm install
pnpm --filter stylekit-mcp buildclaude mcp add stylekit -- node '<ABSOLUTE_PATH_TO_CLONE>/packages/mcp/dist/index.js'{
"mcpServers": {
"stylekit": {
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_CLONE>/packages/mcp/dist/index.js"
]
}
}
}{
"mcpServers": {
"stylekit": {
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_CLONE>/packages/mcp/dist/index.js"
]
}
}
}{
"servers": {
"stylekit": {
"type": "stdio",
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_CLONE>/packages/mcp/dist/index.js"
]
}
}
}[mcp_servers.stylekit]
command = "node"
args = ["<ABSOLUTE_PATH_TO_CLONE>/packages/mcp/dist/index.js"]gemini mcp add --scope user stylekit node -- '<ABSOLUTE_PATH_TO_CLONE>/packages/mcp/dist/index.js'STYLEKIT_MCP_TOOLSET |
Optional: Tool subset for stdio: all, core, assets or design. An unknown value stops the server. |
|---|---|
MCP_HTTP_TOKEN secret |
Optional: Bearer token clients must send in --http mode. Unset means no token is checked. |
MCP_HTTP_PORT |
Optional: Port for --http mode when --port is not given. Unset picks a random free port. |
MCP_HTTP_HOST |
Optional: Address to bind in --http mode when --host is not given. |
MCP_HTTP_PATH |
Optional: Path the MCP endpoint is served at in --http mode. |
MCP_ALLOWED_ORIGINS |
Optional: Comma-separated Origin allowlist. Unset allows all origins, or only loopback ones on a loopback bind. |
MCP_ALLOWED_HOSTS |
Optional: Comma-separated Host header allowlist. On a loopback bind it defaults to localhost names. |
MCP_RATE_LIMIT |
Optional: Requests per minute per client IP. 0 turns the limit off. |
MCP_TRUST_PROXY |
Optional: Set to 1, true or yes to take the client IP from proxy headers. |
MCP_MAX_BODY_BYTES |
Optional: Largest request body accepted, in bytes. |
STYLEKIT_MCP_BASE_URL |
Optional: Overrides the StyleKit catalogue origin, for a self-hosted copy. |
stylekit-mcp is the MCP server for StyleKit, an open catalogue of named visual styles for web pages: glassmorphism, neo-brutalist and brand-inspired looks among them. A coding assistant uses it to pick one style and then build against that style's concrete rules, instead of guessing at what "make it look modern" means.
There are 10 tools and all of them only read. You can search styles and pull a style's profile, its typed design tokens or Tailwind and JSX recipes for components like buttons. Another tool gives the shadcn command that installs its theme. The implementation brief bundles the rules and tokens with a content hash, so you can tell later whether the source data changed. Two asset tools browse StyleKit's public templates and hand back source files where the licence allows it.
The useful loop is lint then repair. stylekit_lint_code reads JSX, HTML or a bare class string and flags classes that break the style, each with a reason and a suggested fix. stylekit_repair_code, which arrived in 0.5.0, swaps those classes for the style's own tokens and returns the edited code plus anything it could not fix. It does not touch your files; the assistant applies the result.
By default it runs over stdio. Since 0.5.0 you can also start it with --http to serve stateless Streamable HTTP on 127.0.0.1, and a STYLEKIT_MCP_TOOLSET setting cuts the tool list down for stdio clients. In HTTP mode the same subsets live at /mcp/core, /mcp/assets and /mcp/design (src/server.ts and src/http.ts at tag mcp-v0.5.0). Style data comes from the live catalogue with a five-minute cache and falls back to a bundled snapshot, marked with origin and fallbackReason, when the network is down. StyleKit's developer page labels the MCP server a public beta.
| To run it yourself | Node.js 20+ |
|---|---|
| Runs on | macOS, Windows, Linux |
Node.js 20 or later with npx (engines in package.json at 0.5.0). Network access to stylekit.top for live data and remote templates, or only the bundled snapshot is served. The shadcn command it returns needs a project with tsconfig.json. To serve HTTP, start it yourself with npx -y stylekit-mcp@latest --http --port <port> and point clients at the address. Building from source needs git and pnpm.
The documented config runs stylekit-mcp@latest. npm now lists 0.6.0, and its README describes five tools, with tokens, recipes and the brief folded into stylekit_get_style. That release has no tag or source in the repository, so this page follows 0.5.0. Pin stylekit-mcp@0.5.0 to get the tools listed here.
Suits front-end developers who generate pages with Claude or Cursor and want the agent to commit to one named style, especially in Tailwind or shadcn/ui projects, and to check and fix its own output with lint and repair. It needs no key and only reads, so it is easy to try. Teams that want one shared endpoint can run the --http mode behind a token. It is less useful for teams enforcing their own design system or where people must review the visual result: it offers StyleKit's catalogue and class-level checks, not design review.
10 only read. A ? marks an optional parameter.
stylekit_search_stylesquery?: stringcategory?: enumlimit?: integeroffset?: integerstylekit_list_assetskind?: enumquery?: stringoffset?: integerlimit?: integerstylekit_get_assetkind: enumid: stringincludeSource?: booleanfiles?: arraystylekit_get_styleslug: stringstylekit_get_style_tokensslug: stringstylekit_get_component_recipeslug: stringcomponent: stringstylekit_get_shadcn_installslug: stringstylekit_lint_codeslug: stringcode: stringcheckRequired?: arraystrict?: booleanstylekit_repair_codeslug: stringcode: stringstylekit_get_implementation_briefslug: stringsections?: array