Skip to content

docs(AI): Adds PatternFly MCP documentation.#4857

Merged
nicolethoen merged 16 commits intopatternfly:mainfrom
edonehoo:iss4844
Apr 29, 2026
Merged

docs(AI): Adds PatternFly MCP documentation.#4857
nicolethoen merged 16 commits intopatternfly:mainfrom
edonehoo:iss4844

Conversation

@edonehoo
Copy link
Copy Markdown
Collaborator

@edonehoo edonehoo commented Nov 10, 2025

Closes #4844

This PR adds a new page to patternfly.org in the PatternFly AI section explaining & overviewing the PatternFly MCP.

Preview: https://pf-org--pr-4857-site.surge.sh/ai/patternfly-mcp

@patternfly-build
Copy link
Copy Markdown
Collaborator

patternfly-build commented Nov 10, 2025

Preview: https://pf-org--pr-4857-site.surge.sh

@edonehoo edonehoo requested a review from evwilkin November 10, 2025 19:15
For full technical documentation, setup instructions, and to contribute, visit our [PatternFly MCP GitHub Repository](https://github.com/patternfly/patternfly-mcp).

## What is the PatternFly MCP?
The **PatternFly MCP** is a new tool designed to integrate our design guidelines, component documentation, and accessibility best practices directly into your AI-powered development environment.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seeing "new" in our docs immediately makes me think we're building in tech debt as this becomes dated.

Suggested change
The **PatternFly MCP** is a new tool designed to integrate our design guidelines, component documentation, and accessibility best practices directly into your AI-powered development environment.
The **PatternFly MCP** is a tool designed to integrate our design guidelines, component documentation, and accessibility best practices directly into your AI-powered development environment.

Copy link
Copy Markdown
Member

@evwilkin evwilkin left a comment

Choose a reason for hiding this comment

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

Added a few small tweaks to help adopt this from our testing overview to our official docs.

One thing potentially missing here is that we're focusing on direct communication with the MCP in all examples - asking it a question and getting an answer to that question. I'd suspect the more common use case is having this work in the background as an always-on reference that's incorporated into existing workflows. For example, a designer vibe coding a design or interactive POC, or developer building/enhancing a product codebase, that automatically pulls in the correct components, props, accessibility considerations, etc. without them needing to specifically ask what that is but just for the agent to be aware of & use that information.

I originally tried to hint at this with the below statement, but not sure how to more clearly indicate the power of the MCP as the magic behind the curtain rather than just a chatbot-style interaction

Here are a few sample prompts to get you started, but the MCP tools are available for reference by your AI agent across all applicable use cases (code generation, design review, etc.):

@nicolethoen
Copy link
Copy Markdown
Collaborator

I couldn't get the mcp set up in cursor myself until I added @latest in the configuration args... has anyone else seen that? Should we provide that suggestion for some people? (if it's just me, then ignore this)

@evwilkin
Copy link
Copy Markdown
Member

I couldn't get the mcp set up in cursor myself until I added @latest in the configuration args... has anyone else seen that? Should we provide that suggestion for some people? (if it's just me, then ignore this)

@nicolethoen it looks like I was hitting an error with @latest due to a caching issue, clearing my npm cache and trying again with @latest worked just fine 👍

@nicolethoen
Copy link
Copy Markdown
Collaborator

This should be rebased given the nav redesign - and this page should go under AI not PatternFly AI

@edonehoo
Copy link
Copy Markdown
Collaborator Author

edonehoo commented Nov 18, 2025

@evwilkin @nicolethoen I added @latest to the places where I thought it might belong, but lmk if I misinterpreted your comments and need to adjust!

Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
@evwilkin
Copy link
Copy Markdown
Member

@edonehoo following up on this, the tools in the MCP are being finalized in the next week or two and at that point we should be good to update the wording here and move forward - thanks for the patience! 😄

Copy link
Copy Markdown
Member

@cdcabrera cdcabrera left a comment

Choose a reason for hiding this comment

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

@edonehoo been a bit, some surgical updates

Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
@edonehoo
Copy link
Copy Markdown
Collaborator Author

ty @cdcabrera ! I made those updates, but we can keep refining as needed

Copy link
Copy Markdown
Member

@cdcabrera cdcabrera left a comment

Choose a reason for hiding this comment

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

The MCP tools are the primary thing that need to be updated

Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
Comment thread packages/documentation-site/patternfly-docs/content/AI/patternfly-mcp.md Outdated
@edonehoo
Copy link
Copy Markdown
Collaborator Author

@cdcabrera ah, my bad! Could've sworn I made those changes, but I must have been half awake 😅

I think I just got to the remainder of what you commented -- lmk if I missed anything. I also added a few links to the repo to try and increase visibility to some of those docs, but we can back those out if you think it's not helpful or if the links are too likely to change

Copy link
Copy Markdown
Member

@cdcabrera cdcabrera left a comment

Choose a reason for hiding this comment

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

LGTM!

@edonehoo edonehoo requested a review from evwilkin April 28, 2026 18:48

MCP stands for Model Context Protocol, an open standard that allows AI assistants to securely and accurately access external data sources and tools. The PatternFly MCP is a server that connects your AI assistant (like those within Cursor or Claude Code) directly to official PatternFly documentation. Instead of relying on a model's potentially outdated or overgeneralized knowledge, your assistant can query the PatternFly MCP to get answers based on real, up-to-date, and verified sources.

Beyond offering these enhanced AI assistant conversations, the PatternFly MCP can also work in the background and incorporate into your existing workflows. For example, it can ensure that vibe coding will automatically utilize the latest and most applicable PatternFly elements, without requiring you to specifically ask an assistant to do so. It will quietly supply an assistant with the information necessary to make these recommendations and decisions.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

PatternFly elements

Not blocking but flagging this for potential confusion with PFE

Copy link
Copy Markdown
Member

@evwilkin evwilkin left a comment

Choose a reason for hiding this comment

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

LGTM - added 1 callout of using "PatternFly elements" text which could cause potential confusion.

@nicolethoen nicolethoen merged commit 7dd7267 into patternfly:main Apr 29, 2026
6 of 7 checks passed
@patternfly-build
Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/ast-helpers@1.4.0-alpha.357
  • @patternfly/documentation-framework@6.38.5

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PF MCP - add overview documentation to the website

5 participants