Title: @wordpress/design-system-mcp
Published: April 20, 2026
Last modified: October 29, 2026

---

# @wordpress/design-system-mcp

## In this article

 * [Setup](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#setup)
    - [Claude Code](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#claude-code)
    - [OpenAI Codex](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#openai-codex)
    - [Cursor](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#cursor)
    - [Other (Claude Desktop, VS Code)](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#other-claude-desktop-vs-code)
 * [Importing the package](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#importing-the-package)
 * [Contributing](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#contributing)

 The Design System MCP server is still experimental. “Experimental” means this is
an early implementation subject to drastic and breaking changes.

An [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server for the
WordPress Design System. Provides AI agents with component documentation, usage 
examples, and design tokens.

By using the MCP server, you can be confident that your AI agents are correctly 
following the latest design system guidance when asking questions like:

 * Which components should be used for a given interaction or user interface, like
   a button or a dropdown
 * How to implement those components in code, following sample code from the design
   system documentation
 * How to implement new components following the design system styling standards
   with design tokens
 * How to compose those components into an interaction, following the design system
   patterns, like confirming a destructive action or wording an error message

Without the MCP server, an AI agent may produce a functional and convincing result,
but there’s a higher risk that its resources are out-of-date or inaccurate, and 
it may try to use components which are no longer recommended for use. Since AI agents
are unable to read [the WordPress Gutenberg Storybook documentation](https://wordpress.github.io/gutenberg/),
the MCP server provides an alternative, machine-readable interface to that same 
information.

## 󠀁[Setup](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#setup)󠁿

### 󠀁[Claude Code](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#claude-code)󠁿

    ```bash
    claude mcp add wordpress-design-system -- npx -y --ignore-scripts --min-release-age=2 @wordpress/design-system-mcp@latest
    ```

### 󠀁[OpenAI Codex](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#openai-codex)󠁿

The [Codex CLI](https://developers.openai.com/codex/cli) must be installed first.

    ```bash
    codex mcp add wordpress-design-system -- npx -y --ignore-scripts --min-release-age=2 @wordpress/design-system-mcp@latest
    ```

### 󠀁[Cursor](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#cursor)󠁿

[⌊Install MCP Server⌉⌊Install MCP Server⌉[

### 󠀁[Other (Claude Desktop, VS Code)](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#other-claude-desktop-vs-code)󠁿

Add to your MCP client configuration (`mcp.json` or equivalent):

    ```language-json
    {
        "mcpServers": {
            "wordpress-design-system": {
                "command": "npx",
                "args": [
                    "-y",
                    "--ignore-scripts",
                    "--min-release-age=2",
                    "@wordpress/design-system-mcp@latest"
                ]
            }
        }
    }
    ```

Configuration instructions for common clients:

 * [VSCode](https://code.visualstudio.com/docs/agent-customization/mcp-servers#_configure-the-mcpjson-file)
 * [Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers#installing-the-filesystem-server)
    - This guide is for the “filesystem” server, but you can substitute the `mcpServers`
      entry from the snippet above and the rest of the instructions still apply.

## 󠀁[Importing the package](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#importing-the-package)󠁿

Most people only need the setup instructions above. To embed the server in your 
own tooling, install the `@wordpress/design-system-mcp` package from npm:

    ```bash
    npm install @wordpress/design-system-mcp
    ```

The package is ESM-only and requires Node.js 22.13.0 or newer. It exports `createServer`,
which returns a ready-to-connect MCP server, and the `parseComponents` and `parseComponentDetail`
helpers. TypeScript consumers that import the package require TypeScript 5 or newer.

## 󠀁[Contributing](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-design-system-mcp/?output_format=md#contributing)󠁿

The Design System MCP server is published as the `@wordpress/design-system-mcp` 
package, an individual package that’s part of the [Gutenberg project](https://github.com/WordPress/gutenberg).
The project is organized as a monorepo. It’s made up of multiple self-contained 
software packages, each with a specific purpose. The packages in this monorepo are
published to [npm](https://www.npmjs.com/org/wordpress) and used by [WordPress](https://make.wordpress.org/core/)
as well as by the broader JavaScript ecosystem.

To find out more about contributing to the Design System MCP server or Gutenberg
as a whole, please read the project’s main [contributor guide](https://github.com/WordPress/gutenberg/tree/HEAD/CONTRIBUTING.md).

First published

April 20, 2026

Last updated

October 29, 2026

Edit article

[ Improve it on GitHub: @wordpress/design-system-mcp ](https://github.com/WordPress/gutenberg/edit/trunk/packages/design-system-mcp/README.md)

[  Previous: @wordpress/deprecated](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-deprecated/)

[  Next: @wordpress/docgen](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-docgen/)