Skip to content

design-system-mcp: Improve README overview and setup instructions#79238

Merged
aduth merged 9 commits into
trunkfrom
update/mcp-pkg-description
Jun 16, 2026
Merged

design-system-mcp: Improve README overview and setup instructions#79238
aduth merged 9 commits into
trunkfrom
update/mcp-pkg-description

Conversation

@aduth

@aduth aduth commented Jun 16, 2026

Copy link
Copy Markdown
Member

What?

Applies a handful of general improvements to the README instructions for the @wordpress/design-system-mcp package, each implemented as its own standalone commit with extended commit description for additional context.

Why?

  • Make it clearer what the package is and why it's beneficial
  • Support adoption and reduce setup confusion with additional instructions for common clients

Testing Instructions

Review updated document for legibility and accuracy.

Use of AI Tools

No AI was used.

@aduth aduth requested a review from a team as a code owner June 16, 2026 14:06
@aduth aduth added [Type] Developer Documentation Documentation for developers [Package] Design System MCP /packages/design-system-mcp labels Jun 16, 2026
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: aduth <[email protected]>
Co-authored-by: ciampo <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Comment on lines -3 to +5
<div class="callout callout-alert">
<p class="callout callout-alert">
This package is still experimental. “Experimental” means this is an early implementation subject to drastic and breaking changes.
</div>
</p>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<div> doesn't format very well on GitHub previews, which results in the description being hard to see and read, since it ends up looking like it's part of the same paragraph as the experimental notice.

Before After
image image

The specific element and class is relevant for how this ends up showing on the developer.wordpress.org package reference page, which appears to work just as well with a <p> tag when testing with some manual DevTools inspector manipulation:

image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably open a follow-up PR to update all markdown docs with similar callouts?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably open a follow-up PR to update all markdown docs with similar callouts?

Yeah, I think that makes sense. I'll confirm first that it looks okay on the developer site after merge.

Comment on lines -21 to -22
Install link: [cursor://anysphere.cursor-deeplink/mcp/install?name=wordpress-design-system&config=eyJjb21tYW5kIjoibnB4IC15IC0taWdub3JlLXNjcmlwdHMgLS1taW4tcmVsZWFzZS1hZ2U9MiBAd29yZHByZXNzL2Rlc2lnbi1zeXN0ZW0tbWNwQGxhdGVzdCJ9](cursor://anysphere.cursor-deeplink/mcp/install?name=wordpress-design-system&config=eyJjb21tYW5kIjoibnB4IC15IC0taWdub3JlLXNjcmlwdHMgLS1taW4tcmVsZWFzZS1hZ2U9MiBAd29yZHByZXNzL2Rlc2lnbi1zeXN0ZW0tbWNwQGxhdGVzdCJ9)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link causes some weird layout issues in some environments that don't handle line wrapping as well, like the npm package preview:

image

It's also one more thing to maintain with the config being embedded as base64 in the URL. The install button should be fine for most people, I don't know if there's a particular advantage why someone would want to use this style of link instead.

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

Flaky tests detected in dd939ae.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/27640578551
📝 Reported issues:

@ciampo ciampo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Feel free to merge once feedback is addressed

Comment on lines -3 to +5
<div class="callout callout-alert">
<p class="callout callout-alert">
This package is still experimental. “Experimental” means this is an early implementation subject to drastic and breaking changes.
</div>
</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably open a follow-up PR to update all markdown docs with similar callouts?

</p>

An [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server for the WordPress Design System. Provides AI coding agents with component documentation, prop definitions, usage examples, and design tokens.
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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the removal of "prop definitions" on purpose?

Suggested change
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.
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server for the WordPress Design System. Provides AI agents with component documentation, prop definitions, usage examples, and design tokens.

@aduth aduth Jun 16, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the removal of "prop definitions" on purpose?

It was on purpose, yes. I added some rationale to the extended commit description of 4132c54:

Largely covered through "component documentation" and not everyone would be familiar with (or frankly care about) React technical implementation specifics

Happy to revisit or refine if you have ideas. I think the main thing for me was "props" being a bit jargon-y to people not intimately familiar with the implementation details of the components (since the audience for the package includes non-engineers), and we could perhaps replace with "options" or "configuration" or something like that.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No strong opinions, happy to omit

Comment thread packages/design-system-mcp/README.md Outdated
Comment on lines +11 to +13
- What components you should use for a certain type of 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nitty, but the leading sentence to the bullet points sets up questions. We could therefore rephrase the bullet points as such, for example "Which components to use for a given interaction or UI element, like a button or dropdown"

Feel free to ignore, though.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. The first in particular didn't really flow seamlessly from the preceding sentence. Updated in rebased dd939ae. I think the rest are question-y enough to not seem out of place?

aduth and others added 9 commits June 16, 2026 14:49
Clarify that the package is a self-contained MCP server
Avoid the text bumping into eachother in GitHub and npm previews
This doesn't format very well in every environment (e.g. npm detail)
The design system MCP server isn't only useful for coding, but also design and product development
Largely covered through "component documentation" and not everyone would be familiar with (or frankly care about) React technical implementation specifics
@aduth aduth force-pushed the update/mcp-pkg-description branch from 5e6440e to dd939ae Compare June 16, 2026 18:52
@aduth aduth merged commit 9bcdcea into trunk Jun 16, 2026
40 of 41 checks passed
@aduth aduth deleted the update/mcp-pkg-description branch June 16, 2026 20:16
@github-actions github-actions Bot added this to the Gutenberg 23.5 milestone Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Design System MCP /packages/design-system-mcp [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants