# PatternFly MCP server

> Provides access to PatternFly rules and documentation to assist with design and development tasks.

- Repository: https://github.com/patternfly/patternfly-mcp
- Page: https://hostedmcp.org/servers/patternfly/patternfly-mcp
- Transport: stdio
- Stars: 5
- License: MIT

## Install

### Claude Code

```sh
claude mcp add patternfly-mcp -- npx -y @patternfly/patternfly-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "patternfly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@patternfly/patternfly-mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "patternfly-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@patternfly/patternfly-mcp"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "patternfly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@patternfly/patternfly-mcp"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.patternfly-mcp]
command = "npx"
args = ["-y", "@patternfly/patternfly-mcp"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "patternfly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@patternfly/patternfly-mcp"
      ]
    }
  }
}
```

## FAQ

### 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.
