StyleKit

Design and media

MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.

Your AI app calls the StyleKit MCP server, which does the design and media work and sends the result back to the chat.

About StyleKit

StyleKit is a community MCP server from AnxForever, filed in our directory under design and media. MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.

StyleKit runs on your own machine: your AI app starts it with the command npx -y stylekit-mcp@0.6.0 and talks to it over standard input and output.

The README for StyleKit lists tools such as tokens, recipe and brief, which your AI app can call once the server is connected.

StyleKit is listed in the official MCP registry as io.github.AnxForever/stylekit-mcp, version 0.6.0.

At a glance

Publisher
AnxForever (community)
Runs
Locally or as a hosted remote server
Install from
Node.js package on npm: stylekit-mcp
Written in
TypeScript
License
MIT
GitHub stars
944
Official MCP registry
io.github.AnxForever/stylekit-mcp

Tools StyleKit gives your AI app

  • tokens, typed design tokens: border, shadow, typography, spacing, colors;.
  • recipe, one component's className + JSX (component picks the recipe id);.
  • brief, the complete stylekit-brief-v1 contract (tokens, recipes, global.

Tool names as the StyleKit README lists them. Your AI app shows the live list once StyleKit is connected.

How to set up StyleKit

  1. Install Node.js on the machine that runs your AI app, because StyleKit starts with npx and downloads its package on first run.
  2. Check the StyleKit README for keys or settings; the registry lists none that StyleKit requires.
  3. Add StyleKit to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the StyleKit tools to confirm the connection.
  5. Run one read-only task with StyleKit first, such as a call to tokens, before you allow anything that writes or sends.

StyleKit compared with similar servers

  • Panache by SXP-Simon has fewer GitHub stars than StyleKit (893 against 944); both are community servers, and Panache runs on your own machine and StyleKit runs as a remote server.
  • After Effects by Dakkshin has more GitHub stars than StyleKit (972 against 944); both are community servers, and After Effects runs on your own machine and StyleKit runs as a remote server.
  • Kali by Wh0am123 has fewer GitHub stars than StyleKit (889 against 944); both are community servers, and Kali runs on your own machine and StyleKit runs as a remote server.

Before you connect StyleKit

  • Give StyleKit its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each StyleKit tool call until you trust what it does with them.
  • Treat text that StyleKit fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for StyleKit on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for StyleKit

How marketing and sales teams put StyleKit to work, by company size. Pick the size closest to yours and start StyleKit on one use case.

Small business

  • A small business can use StyleKit to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask StyleKit to pull brand assets and make quick ad and social variations that still look on brand.
  • StyleKit runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Creative teams can connect StyleKit so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use StyleKit to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start with tokens and recipe, the tools StyleKit lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can use StyleKit with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use StyleKit to localize and version assets for many markets with review built in.
  • StyleKit is a community server, so have security review the code and pin a version before StyleKit touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

StyleKit README

From AnxForever/stylekit on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

stylekit-mcp

MCP server for StyleKit, search design styles and retrieve templates, assets, tokens, recipes, and lint checks from Claude, Cursor, or Windsurf.

The server runs locally over stdio using the official MCP SDK. It bundles stylekit-core; the published process depends on @modelcontextprotocol/sdk and zod, and needs network access only for live catalogue data and remote assets. It is MIT-licensed.

Tools

All tools are read-only. Five tools total: get_style carries the optional tokens, recipe, and brief sections so the catalogue stays small.

Tool What it does
stylekit_search_styles Search styles by keyword and/or category
stylekit_list_assets Browse public templates and design assets by kind or query, with pagination and source provenance
stylekit_get_asset Retrieve a namespaced public asset detail and any source files the license permits
stylekit_get_style Full style profile, plus optional include: ["tokens" | "recipe" | "brief"] sections
stylekit_lint_code Check generated UI code against a style's rules, with a reason and a fix per violation

stylekit_get_style returns the philosophy, palette, do/don't rules, quality signals and the shadcn install command. Pass include to attach:

  • tokens, typed design tokens: border, shadow, typography, spacing, colors;
  • recipe, one component's className + JSX (component picks the recipe id);
  • brief, the complete stylekit-brief-v1 contract (tokens, recipes, global CSS, merged lint rules, provenance).

stylekit_lint_code is the one worth building into your loop: call it after the agent writes UI code, so a style's constraints are verified rather than assumed. It resolves variant prefixes (dark:, md:, hover:) before matching, and understands JSX/HTML class attributes, cn()/clsx() calls, and template literals.

Setup

Add this configuration once to your MCP client:

{
  "mcpServers": {
    "stylekit": {
      "command": "npx",
      "args": ["-y", "--prefer-online", "stylekit-mcp@latest"]
    }
  }
}
  • Claude Desktop / Claude Code: claude_desktop_config.json or .mcp.json
  • Cursor: .cursor/mcp.json
  • Windsurf: the Windsurf MCP config

When the client starts the MCP process, npx checks npm for the current latest release, including when the package is already cached. A running MCP process does not replace itself; restart the server or client to load an update. For a reproducible setup, replace stylekit-mcp@latest with an exact published version such as stylekit-mcp@0.6.0. The npm caching options describe how --prefer-online handles cached packages.

To run a locally built copy instead, point your client at the absolute path:

{
  "mcpServers": {
    "stylekit": { "command": "node", "args": ["/abs/path/to/packages/mcp/dist/index.js"] }
  }
}

Public assets

stylekit_list_assets accepts optional kind and query filters plus offset/limit. It returns a structured page with the namespace, content level, availability, license and attribution metadata, and whether the page came from the live API or bundled snapshot. An offset beyond the last result is an empty successful page.

stylekit_get_asset returns the complete asset detail as structured data and JSON text. contentLevel tells you what is actually available: source and remote assets can include source files; metadata and restricted entries do not. availability distinguishes bundled, remote, external and restricted content. External and restricted entries provide metadata or source links only; they are not represented as downloadable full source. Remote templates require the live API to return their actual file set; if that source is unavailable, the tool reports an error instead of returning a placeholder as code.

Example

In your editor's AI chat:

"Search StyleKit for a frosted glass style, then give me its button recipe and the shadcn install command."

The agent calls stylekit_search_styles → stylekit_get_style with include: ["recipe", "brief"] and hands back ready-to-use code.

Development

pnpm --filter stylekit-mcp build # compile to dist/
node scripts/smoke.mjs  # smoke-test all tools over stdio

License

MIT

Release contents

The published MCP package includes the public asset tools, source provenance, and discovery reliability fixes described above. It bundles stylekit-core; the runtime npm dependencies remain the MCP SDK and Zod.

Call stylekit_get_style with include: ["brief"] before generation and save its stylekit-brief-v1 payload for later validation. provenance.source identifies the data origin; contentHash detects drift.

Lint returns status: pass | fail | inconclusive. ok is true only for a conclusive static pass. Runtime expressions are reported as inconclusive unless known literals already contain a violation. Missing requirements are advisory; pass strict: true and checkRequired: ["button"] to fail them in a static component snippet. Required checks cover the entire input, not each element. These checks do not certify visual quality or accessibility.

Questions about StyleKit

What is the StyleKit MCP server?

MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP. StyleKit is maintained by AnxForever on GitHub at AnxForever/stylekit, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the StyleKit MCP server?

Add StyleKit to your AI app's MCP config with the command npx -y stylekit-mcp@0.6.0. In Claude Code, run claude mcp add --transport stdio anxforever -- npx -y stylekit-mcp@0.6.0. To run StyleKit this way you need Node.js installed.

Does StyleKit need an API key?

The registry lists no required keys for StyleKit. Check the StyleKit README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is StyleKit an official MCP server?

No. StyleKit is a community server maintained by AnxForever. Community servers can be excellent; read the code and the open issues before you give StyleKit access to company data.

What license is StyleKit under?

StyleKit is released under the MIT license, according to its GitHub repository. The license covers the code of StyleKit; the service it connects to has its own terms.