Provides access to PatternFly rules and documentation to assist with design and development tasks.
Also known as patternfly/patternfly-mcp, @patternfly/patternfly-mcp
- Stars
- 5
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Nov 12, 2026
- License
- MIT
What is PatternFly MCP?
PatternFly provides access to PatternFly rules and documentation to assist with design and development tasks.
Summary generated from the project's README
About PatternFly MCP server
Accessing PatternFly design rules and documentation from within your development environment is what this MCP server enables. It serves as a library resource for design and development teams who need to maintain consistency with PatternFly standards. The server is built with Node.js 22+ and can be integrated into an IDE using npx or run via HTTP transport mode on a specific port.
Developers can use the latest released package directly or build the server from source for advanced customization. The tool supports multiple configurations, including an embedded option for TypeScript applications. It provides a structured way to interact with PatternFly collections and data sources through built-in tools and resources, making it suitable for both simple tasks and complex project requirements.
What you can do with it
- 1Integrating documentation into workflowsUse the server to pull PatternFly documentation directly into your coding session via an MCP client.
Written from the project's README. Every use case is checked against a quote from it.
How to install PatternFly MCP
Formats verified 10 Nov 2026Install PatternFly MCP in Claude Code
$ claude mcp add patternfly-mcp -- npx -y @patternfly/patternfly-mcpInstall PatternFly MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"patternfly-mcp": {
"command": "npx",
"args": [
"-y",
"@patternfly/patternfly-mcp"
]
}
}
}Install PatternFly MCP in VS Code
.vscode/mcp.json
{
"servers": {
"patternfly-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@patternfly/patternfly-mcp"
]
}
}
}Install PatternFly MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"patternfly-mcp": {
"command": "npx",
"args": [
"-y",
"@patternfly/patternfly-mcp"
]
}
}
}Install PatternFly MCP in Codex
~/.codex/config.toml
[mcp_servers.patternfly-mcp] command = "npx" args = ["-y", "@patternfly/patternfly-mcp"]
Install PatternFly MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"patternfly-mcp": {
"command": "npx",
"args": [
"-y",
"@patternfly/patternfly-mcp"
]
}
}
}Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablepatternfly/patternfly-mcp is public and reachablegithub.com/patternfly/patternfly-mcp ↗Pass
- Package names this repository as its source@patternfly/patternfly-mcp names patternfly/patternfly-mcp as sourcenpmjs.com/package/@patternfly/patternfly-mcp ↗Pass
- Build provenance (Sigstore attestation)Sigstore attestation for @patternfly/patternfly-mcpnpmjs.com/package/@patternfly/patternfly-mcp/v/2.6.0#provena ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-12github.com/patternfly/patternfly-mcp ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from @patternfly/patternfly-mcpPass
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubPatternFly MCP Server
A Model Context Protocol (MCP) server that provides access to PatternFly rules and documentation, built with Node.js.
The PatternFly MCP server is a comprehensive library resource for PatternFly. It is intended to be extensible to meet the needs of different teams and projects, from simple to complex, from design to development. Read more about our roadmap and how we've structured the server in our architecture docs.
Requirements
- Node.js 22+
- NPM (or equivalent package manager)
Quick start
The PatternFly MCP Server supports multiple configurations; see the usage documentation for details.
For integrated use with an IDE
Set a basic MCP configuration
Unable to update to the required Node.js version? See pinned MCP configuration examples for earlier Node.js versions.
Minimal configuration
{
"mcpServers": {
"patternfly-mcp": {
"command": "npx",
"args": ["-y", "@patternfly/patternfly-mcp@latest"],
"description": "PatternFly rules and documentation"
}
}
}
HTTP transport mode
{
"mcpServers": {
"patternfly-mcp": {
"command": "npx",
"args": ["-y", "@patternfly/patternfly-mcp@latest", "--http", "--port", "8080"],
"description": "PatternFly rules and documentation (HTTP transport)"
}
}
}
See the MCP Server Configuration documentation for more examples.
For development, advanced usage
Run the latest released server
Run the latest published package immediately via npx:
npx -y @patternfly/patternfly-mcp@latest
Or with options
npx -y @patternfly/patternfly-mcp@latest --log-stderr --verbose
Run a locally built server
# clone the repo, change the directory, npm install, npm run build, then in the repo context run...
npm start
Inspect the server
Visualize and test the packaged MCP interface:
npx -y @modelcontextprotocol/inspector npx -y @patternfly/patternfly-mcp@latest
Build from source and test a local built MCP interface:
# clone the repo, change the directory, npm install, npm run build, then in the repo context run...
npx -y @modelcontextprotocol/inspector node dist/cli.js
Embed the server in your application
import { start } from '@patternfly/patternfly-mcp';
// Remember to avoid using console.log and info, they pollute STDOUT
async function main() {
const server = await start();
// Graceful shutdown
process.on('SIGINT', async () => {
await server.stop();
process.exit(0);
});
}
main();
See the development documentation for additional examples, CLI and embedded server options.
Documentation
For comprehensive usage, development, and project state read the docs.
- Architecture: Learn about our architecture, collections, and data sources.
- Usage: Detailed guide on built-in tools, resources, and troubleshooting for general use.
- Development: Reference for CLI options and tool plugins.
Security & Governance
See SECURITY.md for vulnerability reporting and GOVERNANCE.md for how contributions are reviewed.
Contributing
Contributing? Guidelines can be found here CONTRIBUTING.md.
AI agent
If you're using an AI assistant to help with development in this repository, please prompt it to review the repo guidelines to ensure adherence to project conventions.
Guidelines for developer-agent interaction can be found in CONTRIBUTING.md.
PatternFly MCP questions
How do I add PatternFly MCP to Claude Code?
Run claude mcp add patternfly-mcp -- npx -y @patternfly/patternfly-mcp in your terminal. Add --scope user to make it available in every project.
How do I add PatternFly MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What are the system requirements for the PatternFly MCP server?
You need Node.js version 22 or higher and NPM or an equivalent package manager.
How can I run the server using npx?
You can run the latest released version immediately by using the command: npx -y @patternfly/patternfly-mcp@latest
Can I use this server in HTTP transport mode?
Yes, you can configure the server to use HTTP transport mode by adding the --http and --port arguments to the npx command.