You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.**Interact**: The inspector opens a web interface (typically at `http://localhost:5173`) where you can list tools, execute them, and view resource contents.
3.**Interact**: The inspector opens a web interface (typically at `http://localhost:5173`) where you can list tools, resources, and prompts, then execute and view their responses.
@@ -129,7 +130,7 @@ Most MCP clients use JSON configuration to specify how the server is started. Be
129
130
```json
130
131
{
131
132
"mcpServers": {
132
-
"patternfly-docs": {
133
+
"patternfly-mcp": {
133
134
"command": "npx",
134
135
"args": [
135
136
"-y",
@@ -148,7 +149,7 @@ Most MCP clients use JSON configuration to specify how the server is started. Be
148
149
```json
149
150
{
150
151
"mcpServers": {
151
-
"patternfly-docs": {
152
+
"patternfly-mcp": {
152
153
"command": "npx",
153
154
"args": [
154
155
"-y",
@@ -172,3 +173,69 @@ Most MCP clients use JSON configuration to specify how the server is started. Be
172
173
You can extend the server's capabilities by loading custom **Tool Plugins** at startup.
173
174
174
175
[See development documentation for tool plugins.](./development.md#mcp-tool-plugins)
176
+
177
+
## Troubleshooting
178
+
179
+
This guide is designed to help resolve common environment-related issues across macOS, Linux, and Windows.
180
+
181
+
> **Note on Operating Systems**: Our primary development and testing environments are **macOS and Linux**. While we provide instructions for **Windows**, these commands are run at your own discretion. If you are unsure, please verify them with your IT or system administrator before proceeding.
182
+
183
+
### 1. Verify Node.js Version
184
+
The PatternFly MCP server requires **Node.js 20 or higher**.
185
+
186
+
-**How to check**:
187
+
-**macOS/Linux**: Open **Terminal** and type `node -v`.
188
+
-**Windows**: Open **PowerShell** or **Command Prompt** and type `node -v`.
189
+
-**Requirement**: You should see a version starting with `v20`, `v22`, or higher.
190
+
-**Solution**: If your version is lower than 20, please download and install the latest "LTS" (Long Term Support) version from [nodejs.org](https://nodejs.org/).
191
+
192
+
### 2. Reset the npx Cache
193
+
If you encounter an `ERR_MODULE_NOT_FOUND` error or don't see the latest features, your system may be using a "stale" or corrupted version in its cache.
**Next Step**: Restart your MCP client (e.g., Claude Desktop, IDE, or Cursor) to force a fresh download.
213
+
214
+
### 3. Windows-Specific: Symbolic Links
215
+
If you are developing locally or have cloned the repository on Windows, you may encounter issues with "missing" files in `.agents/skills` and `.claude/skills`. This is often due to Git not creating symbolic links correctly on Windows.
216
+
217
+
-**The Fix**: Enable **Developer Mode** in Windows Settings (Privacy & security → For developers).
218
+
-**Git Config**: Run `git config --global core.symlinks true` and then re-clone the repository or run `git checkout .` to restore the links.
219
+
220
+
### 4. Configuration Best Practices
221
+
To ensure you stay up to date with the latest PatternFly documentation, use the `@latest` tag in your configuration:
"description": "PatternFly rules and documentation"
228
+
}
229
+
```
230
+
231
+
Using `@latest` tells the system to check for updates periodically, helping to ensure you are working with the most current PatternFly specifications.
232
+
233
+
### 5. Common Error: `ERR_MODULE_NOT_FOUND`
234
+
If your logs show `Error [ERR_MODULE_NOT_FOUND]`, it likely indicates a corrupted cache following a PatternFly MCP version update. Please follow the [Reset the npx Cache](#2-reset-the-npx-cache) steps above for your specific operating system.
235
+
236
+
### 6. Community Support
237
+
If you have tried the steps above and are still encountering issues, or if you have specific questions about using PatternFly with your AI assistant, the following community resources are available:
238
+
239
+
-**[PatternFly Slack](https://patternfly.slack.com/)**: Join our Slack community for real-time support and conversation.
240
+
-**[GitHub Discussions](https://github.com/orgs/patternfly/discussions)**: A great place to ask questions, share ideas, and see how others are leveraging PatternFly.
241
+
-**[PatternFly on Medium](https://medium.com/patternfly)**: Read articles and deep-dives into PatternFly design and development practices.
0 commit comments