MCP server
@wallarm-org/mcp is a Model Context Protocol server that
gives AI coding assistants the design system's component and token metadata: props, variants,
sub-components, import paths and token values, plus the design guidelines: foundations
(spacing, color, typography) and patterns for whole screens. With it, an assistant looks
components up instead of guessing their API, and reads the pattern before composing a screen.
The server runs locally over stdio and reads the metadata shipped with the installed
@wallarm-org/design-system package, so the answers match the version your project uses.
Run the assistant in a project that has @wallarm-org/design-system installed: the server looks
for it in node_modules, walking up from the working directory, then in apps/*/node_modules and
packages/*/node_modules. Elsewhere, pass the metadata file explicitly with
--metadata-path <path-to>/components.json. If nothing is found, the server uses the snapshot
bundled into @wallarm-org/mcp, and every answer says so: it may differ from your installed version.
Set up
Every client uses the same server key, @wallarm-org/mcp, and the same command,
npx -y @wallarm-org/mcp.
Claude Code
Cursor
Add to Cursor,
or add the server to .cursor/mcp.json in the project:
VS Code
Add the server to .vscode/mcp.json in the project. VS Code uses a servers key:
Other clients
Any MCP client with stdio transport works: register the command npx with the arguments
["-y", "@wallarm-org/mcp"].
Tools
Every tool only reads the design system's metadata and is marked read-only, so clients can run it without asking.
get_component also names the guidelines that use the component or any of its sub-components,
and so does a sub-component's section. Every response stays under 40,000 characters, below Claude
Code's limit for MCP output; a longer one is split into pages, and its last line tells the
assistant which page to ask for next.
When a client connects, the server sends its instructions: the design-system rules digest, which tool to use for what, and where the metadata came from. Clients such as Claude Code add them to the assistant's context.
Resources
Without MCP
The same metadata is published as JSON at
components.json; the installed package
also ships the guidelines as Markdown in dist/guidelines/ and as JSON at
@wallarm-org/design-system/guidelines, and every page of
this site is available as Markdown; see llms.txt.