The PatternFly MCP server is centered around the concept of a library for all things PatternFly. It is intended to be extensible to meet the needs of different teams and projects, from simple to complex, from design to development.
The current PatternFly MCP server is centered on a Resource Metadata discovery layer that enables the following core concepts:
- Searching for resources: Querying the library for relevant documentation and components.
- Reading resources: Accessing full documentation and machine-readable schemas.
- Discovering resources: Navigating the library via resource indexes and URI templates.
A more in-depth version of our hybrid documentation concept is currently in progress.
Instead of a standalone "discovery" tool, the server implements a robust Resource Metadata system. This system:
- Generates automated indexes for all available documentation (
patternfly://docs/index), components (patternfly://components/index), and schemas (patternfly://schemas/index). - Supports completion logic for MCP clients, allowing LLMs and users to browse available resources effortlessly.
- Provides parameterized URI templates (RFC 6570) like
patternfly://docs/{name}for direct, predictable access. - Provides generated
metaresources that document available MCP resource template parameters for MCP clients that do not have completion (patternfly://docs/meta,patternfly://components/meta,patternfly://schemas/meta).
This discovery layer treats the MCP server as a living library. It enables the server to provide updates for all built-in tools and resources while maintaining a tailored experience based on user patterns (e.g., tailoring responses for designers vs. developers).
We'll be introducing more updates based on our hybrid documentation concept in upcoming releases. The base concept balances stability and currentness by integrating core guidelines and standards directly into the server while syncing from the latest available PatternFly implementation.
- Baseline data: Core guidelines and standards integrated directly into the server for standalone purposes, quick starts, and immediate access.
- Dynamic content: Content synced from the latest available PatternFly implementation while you work, ensuring the LLM always has access to the latest documentation and patterns.
The PatternFly MCP server aggregates content from multiple official sources to provide a comprehensive development resource.
The server integrates the patternfly/ai-helpers repository to provide specialized, LLM-optimized guidance. This integration powers several key resource categories:
- AI Guidance: Specialized patterns for React Charts, Chatbot, and general React development.
- Styling Standards: CSS and styling requirements tailored for AI code generation.
- Prompt Engineering: Includes
ai-prompt-guidance.mdto help users write more effective prompts for PatternFly.
These helpers are a core part of our Hybrid documentation, acting as the bridge between stable design patterns and dynamic implementation details.
Customizable plugins for tools, resources, and prompts follow predictable MCP SDK patterns. In the case of the PatternFly MCP server, this actively plays a role in the library architecture because it allows us to focus on providing stability.
Key goals aided by moving towards plugins:
- Providing a tailored experience for users - Plugins a designer uses may differ from those of a developer, researcher, or community member.
- Evolving/future proofing - Plugins can evolve over time, and the MCP server can evolve to support them. (e.g., a new JS framework or design framework, etc.)
- Maintainability - MCP server core can focus on features and issues while plugins are added and maintained by the community.
flowchart TD
subgraph A1["MCP server"]
subgraph E1["Session context"]
subgraph F1["Logging, Resource discovery context"]
subgraph F1A["Built-In tools"]
F1AA(["Search PatternFly docs"])
F1AB(["Use PatternFly docs"])
end
F1B <--> F1A
F1B(["Built-In resources & discovery layer"])
end
end
D1(["Server proxy"])
D1 <--> F1
subgraph G1["Child process host"]
G1A(["Tools host & isolation sandbox"])
end
D1 <--> G1
end
B1(["Local and remote external tools, prompts, resources"])
B1 <--> D1
Our roadmap focuses on expanding the server's reach and providing a more integrated development experience.
- Hybrid documentation: A JSON API for documentation, components, and patterns that ensures the server is always in sync with the latest releases.
- PatternFly API Integration: Embedded integration into the server for standalone purposes, quick starts, and immediate access.
- Child Process Lifecycle Management: Background process while you work for API synchronization.
- Resource-Tool Integration: Directly integrate MCP resources into tool responses to reduce token counts and allow tools to accept URI links as inputs.
- Environment & Analysis Tooling: A third built-in tool focused on environment snapshots, code analysis, and whitelisted resource access for local project analysis.
- Agentless MCP Client: An MCP client for use without an LLM, allowing PatternFly tooling to integrate into CLI tools and CI/CD pipelines.
- YAML Configuration: Remote tool, resource, and prompt plugins configured via YAML.
- Resource/Helper Sharing: Mechanisms to share resources and helper functions across external tool plugins.
flowchart TD
subgraph A1["MCP server"]
subgraph E1["Session context"]
subgraph F1["Logging, Resource discovery context"]
F1C(["Built-In prompts"])
F1C <--> F1A
subgraph F1A["Built-In tools"]
F1AA(["Search PatternFly docs"])
F1AB(["Use PatternFly docs"])
F1AC(["Analyze environment"])
end
F1B <--> F1A
F1B(["Built-In resources & discovery layer"])
end
end
D1(["Server proxy"])
D1 <--> F1
subgraph G1["Child process host"]
G1A(["Tools host & isolation sandbox"])
G1B(["API synchronization process"])
end
D1 <--> G1
end
subgraph H1["Agentless client layer"]
H1A(["CLI & Automation integration"])
end
A1 <--> H1
B1(["Local and remote external tools, prompts, resources"])
B1 <--> D1