mcp-wordpress 1.5.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/README.md +332 -61
  2. package/dist/cache/CacheInvalidation.d.ts.map +1 -1
  3. package/dist/cache/CacheInvalidation.js +4 -4
  4. package/dist/cache/CacheInvalidation.js.map +1 -1
  5. package/dist/client/MockWordPressClient.d.ts +55 -0
  6. package/dist/client/MockWordPressClient.d.ts.map +1 -0
  7. package/dist/client/MockWordPressClient.js +369 -0
  8. package/dist/client/MockWordPressClient.js.map +1 -0
  9. package/dist/client/api.d.ts +1 -0
  10. package/dist/client/api.d.ts.map +1 -1
  11. package/dist/client/api.js +26 -60
  12. package/dist/client/api.js.map +1 -1
  13. package/dist/client/managers/AuthenticationManager.d.ts.map +1 -1
  14. package/dist/client/managers/AuthenticationManager.js +4 -3
  15. package/dist/client/managers/AuthenticationManager.js.map +1 -1
  16. package/dist/config/ConfigurationSchema.d.ts +3 -3
  17. package/dist/config/ConfigurationSchema.d.ts.map +1 -1
  18. package/dist/config/ConfigurationSchema.js +7 -24
  19. package/dist/config/ConfigurationSchema.js.map +1 -1
  20. package/dist/config/ServerConfiguration.d.ts +8 -0
  21. package/dist/config/ServerConfiguration.d.ts.map +1 -1
  22. package/dist/config/ServerConfiguration.js +80 -31
  23. package/dist/config/ServerConfiguration.js.map +1 -1
  24. package/dist/docs/DocumentationGenerator.d.ts.map +1 -1
  25. package/dist/docs/DocumentationGenerator.js +5 -7
  26. package/dist/docs/DocumentationGenerator.js.map +1 -1
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +33 -29
  29. package/dist/index.js.map +1 -1
  30. package/dist/security/InputValidator.d.ts.map +1 -1
  31. package/dist/security/InputValidator.js +3 -11
  32. package/dist/security/InputValidator.js.map +1 -1
  33. package/dist/server/ToolRegistry.d.ts +4 -0
  34. package/dist/server/ToolRegistry.d.ts.map +1 -1
  35. package/dist/server/ToolRegistry.js +71 -8
  36. package/dist/server/ToolRegistry.js.map +1 -1
  37. package/dist/tools/auth.d.ts.map +1 -1
  38. package/dist/tools/auth.js +8 -3
  39. package/dist/tools/auth.js.map +1 -1
  40. package/dist/tools/posts.d.ts.map +1 -1
  41. package/dist/tools/posts.js +287 -20
  42. package/dist/tools/posts.js.map +1 -1
  43. package/dist/tools/site.d.ts.map +1 -1
  44. package/dist/tools/site.js +47 -9
  45. package/dist/tools/site.js.map +1 -1
  46. package/dist/tools/users.d.ts.map +1 -1
  47. package/dist/tools/users.js +113 -10
  48. package/dist/tools/users.js.map +1 -1
  49. package/dist/utils/enhancedError.d.ts +61 -0
  50. package/dist/utils/enhancedError.d.ts.map +1 -0
  51. package/dist/utils/enhancedError.js +221 -0
  52. package/dist/utils/enhancedError.js.map +1 -0
  53. package/dist/utils/streaming.d.ts +104 -0
  54. package/dist/utils/streaming.d.ts.map +1 -0
  55. package/dist/utils/streaming.js +312 -0
  56. package/dist/utils/streaming.js.map +1 -0
  57. package/dist/utils/validation.d.ts +19 -3
  58. package/dist/utils/validation.d.ts.map +1 -1
  59. package/dist/utils/validation.js +174 -24
  60. package/dist/utils/validation.js.map +1 -1
  61. package/docs/ARCHITECTURE.md +850 -0
  62. package/docs/CACHING.md +20 -17
  63. package/docs/CONFIGURATION.md +660 -0
  64. package/docs/DOCKER.md +61 -60
  65. package/docs/EVALUATION.md +397 -0
  66. package/docs/INSTALLATION.md +423 -0
  67. package/docs/PERFORMANCE_MONITORING.md +17 -15
  68. package/docs/SECURITY.md +621 -0
  69. package/docs/SECURITY_TESTING.md +22 -26
  70. package/docs/TEST_SITE_SETUP.md +136 -0
  71. package/docs/TROUBLESHOOTING.md +578 -0
  72. package/docs/api/README.md +76 -91
  73. package/docs/api/categories/auth.md +0 -2
  74. package/docs/api/categories/cache.md +0 -2
  75. package/docs/api/categories/comment.md +0 -2
  76. package/docs/api/categories/media.md +0 -2
  77. package/docs/api/categories/page.md +0 -2
  78. package/docs/api/categories/performance.md +0 -2
  79. package/docs/api/categories/post.md +0 -2
  80. package/docs/api/categories/site.md +0 -2
  81. package/docs/api/categories/taxonomy.md +0 -2
  82. package/docs/api/categories/user.md +0 -2
  83. package/docs/api/summary.json +1 -1
  84. package/docs/api/tools/wp_approve_comment.md +11 -3
  85. package/docs/api/tools/wp_cache_clear.md +14 -5
  86. package/docs/api/tools/wp_cache_info.md +14 -5
  87. package/docs/api/tools/wp_cache_stats.md +14 -5
  88. package/docs/api/tools/wp_cache_warm.md +14 -5
  89. package/docs/api/tools/wp_create_application_password.md +11 -3
  90. package/docs/api/tools/wp_create_category.md +11 -3
  91. package/docs/api/tools/wp_create_comment.md +14 -5
  92. package/docs/api/tools/wp_create_page.md +13 -5
  93. package/docs/api/tools/wp_create_post.md +14 -7
  94. package/docs/api/tools/wp_create_tag.md +11 -3
  95. package/docs/api/tools/wp_create_user.md +13 -5
  96. package/docs/api/tools/wp_delete_application_password.md +11 -3
  97. package/docs/api/tools/wp_delete_category.md +11 -3
  98. package/docs/api/tools/wp_delete_comment.md +11 -3
  99. package/docs/api/tools/wp_delete_media.md +10 -3
  100. package/docs/api/tools/wp_delete_page.md +10 -3
  101. package/docs/api/tools/wp_delete_post.md +11 -5
  102. package/docs/api/tools/wp_delete_tag.md +11 -3
  103. package/docs/api/tools/wp_delete_user.md +10 -3
  104. package/docs/api/tools/wp_get_application_passwords.md +11 -3
  105. package/docs/api/tools/wp_get_auth_status.md +11 -3
  106. package/docs/api/tools/wp_get_category.md +11 -3
  107. package/docs/api/tools/wp_get_comment.md +11 -3
  108. package/docs/api/tools/wp_get_current_user.md +11 -3
  109. package/docs/api/tools/wp_get_media.md +11 -3
  110. package/docs/api/tools/wp_get_page.md +11 -3
  111. package/docs/api/tools/wp_get_page_revisions.md +11 -3
  112. package/docs/api/tools/wp_get_post.md +12 -5
  113. package/docs/api/tools/wp_get_post_revisions.md +11 -3
  114. package/docs/api/tools/wp_get_site_settings.md +10 -3
  115. package/docs/api/tools/wp_get_tag.md +11 -3
  116. package/docs/api/tools/wp_get_user.md +11 -3
  117. package/docs/api/tools/wp_list_categories.md +11 -3
  118. package/docs/api/tools/wp_list_comments.md +11 -3
  119. package/docs/api/tools/wp_list_media.md +14 -5
  120. package/docs/api/tools/wp_list_pages.md +14 -5
  121. package/docs/api/tools/wp_list_posts.md +15 -7
  122. package/docs/api/tools/wp_list_tags.md +11 -3
  123. package/docs/api/tools/wp_list_users.md +11 -3
  124. package/docs/api/tools/wp_performance_alerts.md +17 -7
  125. package/docs/api/tools/wp_performance_benchmark.md +17 -7
  126. package/docs/api/tools/wp_performance_export.md +17 -7
  127. package/docs/api/tools/wp_performance_history.md +17 -7
  128. package/docs/api/tools/wp_performance_optimize.md +17 -7
  129. package/docs/api/tools/wp_performance_stats.md +17 -7
  130. package/docs/api/tools/wp_search_site.md +11 -3
  131. package/docs/api/tools/wp_spam_comment.md +11 -3
  132. package/docs/api/tools/wp_switch_auth_method.md +14 -5
  133. package/docs/api/tools/wp_test_auth.md +11 -3
  134. package/docs/api/tools/wp_update_category.md +11 -3
  135. package/docs/api/tools/wp_update_comment.md +14 -5
  136. package/docs/api/tools/wp_update_media.md +14 -5
  137. package/docs/api/tools/wp_update_page.md +13 -5
  138. package/docs/api/tools/wp_update_post.md +14 -7
  139. package/docs/api/tools/wp_update_site_settings.md +14 -5
  140. package/docs/api/tools/wp_update_tag.md +11 -3
  141. package/docs/api/tools/wp_update_user.md +13 -5
  142. package/docs/api/tools/wp_upload_media.md +13 -5
  143. package/docs/api/types/WordPressPost.md +2 -0
  144. package/docs/code-improvements.md +40 -0
  145. package/docs/contract-testing.md +1 -1
  146. package/docs/developer/API_REFERENCE.md +19 -59
  147. package/docs/developer/ARCHITECTURE.md +8 -11
  148. package/docs/developer/BUILD_SYSTEM.md +2 -2
  149. package/docs/developer/CONTRIBUTING.md +3 -5
  150. package/docs/developer/GITHUB_ACTIONS_SETUP.md +2 -2
  151. package/docs/developer/MIGRATION_GUIDE.md +5 -6
  152. package/docs/developer/README.md +2 -1
  153. package/docs/developer/REFACTORING.md +9 -15
  154. package/docs/developer/RELEASE_PROCESS.md +4 -3
  155. package/docs/developer/TESTING.md +2 -2
  156. package/docs/examples/claude-desktop-config.md +8 -0
  157. package/docs/integrations/claude-desktop.md +426 -0
  158. package/docs/integrations/cline.md +537 -0
  159. package/docs/integrations/vs-code.md +515 -0
  160. package/docs/releases/COMMUNITY_ANNOUNCEMENT_v1.1.2.md +30 -23
  161. package/docs/releases/RELEASE_NOTES_v1.1.2.md +7 -6
  162. package/docs/testing-configurations.md +11 -0
  163. package/docs/user-guides/DOCKER_NPM_DTX_SETUP.md +3 -2
  164. package/docs/user-guides/DOCKER_SETUP.md +3 -2
  165. package/docs/user-guides/DTX_SETUP.md +6 -5
  166. package/docs/user-guides/DXT_INSTALLATION.md +4 -4
  167. package/docs/user-guides/NPM_SETUP.md +4 -2
  168. package/docs/user-guides/NPX_SETUP.md +4 -2
  169. package/docs/user-guides/SMITHERY_SETUP.md +402 -0
  170. package/docs/wordpress-rest-api-authentication-troubleshooting.md +45 -42
  171. package/package.json +12 -2
  172. package/src/cache/CacheInvalidation.ts +7 -18
  173. package/src/client/MockWordPressClient.ts +398 -0
  174. package/src/client/api.ts +77 -237
  175. package/src/client/managers/AuthenticationManager.ts +19 -56
  176. package/src/config/ConfigurationSchema.ts +14 -45
  177. package/src/config/ServerConfiguration.ts +98 -71
  178. package/src/docs/DocumentationGenerator.ts +39 -123
  179. package/src/dxt-entry.cjs +4 -1
  180. package/src/index.ts +35 -54
  181. package/src/security/InputValidator.ts +15 -57
  182. package/src/server/ToolRegistry.ts +88 -17
  183. package/src/tools/auth.ts +15 -22
  184. package/src/tools/posts.ts +347 -64
  185. package/src/tools/site.ts +69 -46
  186. package/src/tools/users.ts +142 -44
  187. package/src/utils/enhancedError.ts +248 -0
  188. package/src/utils/streaming.ts +428 -0
  189. package/src/utils/validation.ts +253 -92
  190. package/dist/mcp-wordpress-1.5.2.tgz +0 -0
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- This document outlines the technical debt refactoring performed to improve code quality, maintainability, and performance.
5
+ This document outlines the technical debt refactoring performed to improve code quality, maintainability, and
6
+ performance.
6
7
 
7
8
  ## Issues Addressed
8
9
 
@@ -170,10 +171,7 @@ import { WordPressClient } from "./client/api.js";
170
171
 
171
172
  // New way (recommended for internal development)
172
173
  import { WordPressClient } from "./client/WordPressClient.js";
173
- import {
174
- AuthenticationManager,
175
- RequestManager,
176
- } from "./client/managers/index.js";
174
+ import { AuthenticationManager, RequestManager } from "./client/managers/index.js";
177
175
  ```
178
176
 
179
177
  ### For Tool Development
@@ -184,13 +182,10 @@ New tools can leverage standardized patterns:
184
182
  import { withErrorHandling, validators } from "../utils/toolWrapper.js";
185
183
 
186
184
  // Standardized error handling
187
- const handleGetPost = withErrorHandling(
188
- "Failed to get post",
189
- async (client, params) => {
190
- validators.requireId(params);
191
- return await client.getPost(params.id);
192
- },
193
- );
185
+ const handleGetPost = withErrorHandling("Failed to get post", async (client, params) => {
186
+ validators.requireId(params);
187
+ return await client.getPost(params.id);
188
+ });
194
189
  ```
195
190
 
196
191
  ## Future Improvements
@@ -215,9 +210,8 @@ const handleGetPost = withErrorHandling(
215
210
 
216
211
  ## Conclusion
217
212
 
218
- This refactoring addresses the major technical debt items while maintaining full backward compatibility.
219
- The codebase is now more maintainable, testable, and performant, setting a solid foundation for future
220
- enhancements.
213
+ This refactoring addresses the major technical debt items while maintaining full backward compatibility. The codebase is
214
+ now more maintainable, testable, and performant, setting a solid foundation for future enhancements.
221
215
 
222
216
  **Key Achievements**:
223
217
 
@@ -1,6 +1,7 @@
1
1
  # Release Process Guide
2
2
 
3
- Complete guide to the automated release pipeline, semantic versioning, and deployment process for the MCP WordPress Server.
3
+ Complete guide to the automated release pipeline, semantic versioning, and deployment process for the MCP WordPress
4
+ Server.
4
5
 
5
6
  ## 🚀 Release Pipeline Overview
6
7
 
@@ -524,5 +525,5 @@ For breaking changes, create migration guides in `docs/developer/MIGRATION_GUIDE
524
525
 
525
526
  ---
526
527
 
527
- **Planning a release?** This automated system ensures consistent, reliable releases while maintaining high
528
- quality standards. Every release is tested, verified, and documented automatically.
528
+ **Planning a release?** This automated system ensures consistent, reliable releases while maintaining high quality
529
+ standards. Every release is tested, verified, and documented automatically.
@@ -730,5 +730,5 @@ describe("Debug Example", () => {
730
730
 
731
731
  ---
732
732
 
733
- **Need help with testing?** This comprehensive testing infrastructure ensures code quality, security,
734
- and performance. All tests are designed to be fast, reliable, and maintainable.
733
+ **Need help with testing?** This comprehensive testing infrastructure ensures code quality, security, and performance.
734
+ All tests are designed to be fast, reliable, and maintainable.
@@ -0,0 +1,8 @@
1
+ # Claude Desktop Configuration Examples
2
+
3
+ See README.md for all configuration examples including:
4
+
5
+ - NPM installation
6
+ - Docker installation
7
+ - Local development
8
+ - Multi-site configuration
@@ -0,0 +1,426 @@
1
+ # Claude Desktop Integration Guide
2
+
3
+ Complete guide for integrating MCP WordPress Server with Claude Desktop using the DXT extension.
4
+
5
+ ## 🎯 Overview
6
+
7
+ The WordPress MCP DXT extension provides the **easiest way** to integrate WordPress management with Claude
8
+ Desktop. No command line, no configuration files - just click and configure.
9
+
10
+ ### Why Choose DXT Extension?
11
+
12
+ | Feature | DXT Extension | NPX Method |
13
+ |---------|---------------|------------|
14
+ | **Installation** | 2 clicks | Command line setup |
15
+ | **Configuration** | Built-in UI | Manual JSON editing |
16
+ | **Updates** | Automatic | Manual |
17
+ | **Security** | Encrypted storage | Environment variables |
18
+ | **Multi-site** | Single site only | Unlimited sites |
19
+
20
+ ## 🚀 Quick Installation
21
+
22
+ ### Step 1: Download DXT Package
23
+
24
+ **Option A: Direct Download**
25
+
26
+ - Click here: [`mcp-wordpress.dxt`](https://github.com/docdyhr/mcp-wordpress/raw/main/mcp-wordpress.dxt) (2.6MB)
27
+
28
+ **Option B: Command Line**
29
+
30
+ ```bash
31
+ curl -L -o mcp-wordpress.dxt https://github.com/docdyhr/mcp-wordpress/raw/main/mcp-wordpress.dxt
32
+ ```
33
+
34
+ ### Step 2: Install in Claude Desktop
35
+
36
+ 1. **Open Claude Desktop**
37
+ 2. **Navigate to Extensions**
38
+ - Click the gear icon (⚙️) in the top-right
39
+ - Select "Extensions" from the menu
40
+ 3. **Install Extension**
41
+ - Click "Install Extension" button
42
+ - Select the downloaded `mcp-wordpress.dxt` file
43
+ - Wait for installation to complete
44
+
45
+ ### Step 3: Configure WordPress Connection
46
+
47
+ 1. **Extension Settings**
48
+ - Find "WordPress MCP Server" in your extensions list
49
+ - Click the settings/configuration button
50
+
51
+ 2. **Enter WordPress Details**
52
+ - **Site URL**: Your WordPress site URL (e.g., `https://yoursite.com`)
53
+ - **Username**: Your WordPress username
54
+ - **Application Password**: Generated WordPress app password
55
+ - **Authentication Method**: Leave as "app-password" (recommended)
56
+
57
+ 3. **Test Connection**
58
+ - Click "Test Connection" to verify setup
59
+ - You should see a success message
60
+
61
+ ## 🔑 WordPress Application Password Setup
62
+
63
+ ### Creating Application Password
64
+
65
+ 1. **Log into WordPress Admin**
66
+ - Go to your WordPress admin panel
67
+ - Navigate to **Users** → **Your Profile**
68
+
69
+ 2. **Generate Application Password**
70
+ - Scroll down to **Application Passwords** section
71
+ - In the "New Application Password Name" field, enter: `Claude Desktop MCP`
72
+ - Click **Add New Application Password**
73
+
74
+ 3. **Copy the Password**
75
+ - WordPress will show a password like: `AbCd EfGh IjKl MnOp QrSt UvWx`
76
+ - **Important**: Copy this exactly with spaces
77
+ - You won't be able to see this password again
78
+
79
+ ### Application Password Security
80
+
81
+ - **Never share** your application password
82
+ - **Regenerate regularly** for security
83
+ - **Use specific names** to track different applications
84
+ - **Revoke unused passwords** immediately
85
+
86
+ ## ⚙️ DXT Configuration Options
87
+
88
+ ### User Configuration Fields
89
+
90
+ The DXT extension provides these configuration options:
91
+
92
+ | Field | Required | Description | Example |
93
+ |-------|----------|-------------|---------|
94
+ | **WordPress Site URL** | Yes | Full URL to your WordPress site | `https://mysite.com` |
95
+ | **WordPress Username** | Yes | Your WordPress username | `admin` |
96
+ | **WordPress Application Password** | Yes | Generated app password | `AbCd EfGh IjKl MnOp QrSt UvWx` |
97
+ | **Authentication Method** | No | Auth method (default: app-password) | `app-password` |
98
+ | **Debug Mode** | No | Enable verbose logging | `false` |
99
+
100
+ ### Advanced Configuration
101
+
102
+ For advanced users, the DXT extension supports:
103
+
104
+ - **Encrypted credential storage** via OS keychain
105
+ - **Automatic error recovery** with retry logic
106
+ - **Performance monitoring** and optimization
107
+ - **Cache management** for improved speed
108
+
109
+ ## 🧪 Testing Your Installation
110
+
111
+ ### Basic Functionality Test
112
+
113
+ 1. **Restart Claude Desktop**
114
+ - Close and reopen Claude Desktop after configuration
115
+ - This ensures the extension loads properly
116
+
117
+ 2. **Test with Simple Command**
118
+ Try typing in Claude:
119
+
120
+ ```text
121
+ "List my recent WordPress posts"
122
+ ```
123
+
124
+ 3. **Expected Response**
125
+ - Claude should connect to your WordPress site
126
+ - You should see a list of your recent posts
127
+ - Each post should show title, status, and date
128
+
129
+ ### Advanced Testing
130
+
131
+ **Test Different Tool Categories:**
132
+
133
+ ```text
134
+ # Content Management
135
+ "Show me my WordPress site settings"
136
+ "List all my WordPress users"
137
+ "Check my recent comments"
138
+
139
+ # Performance Monitoring
140
+ "Show WordPress cache statistics"
141
+ "Check my site performance metrics"
142
+
143
+ # Media Management
144
+ "List recent media uploads"
145
+ ```
146
+
147
+ ## 🎯 Real-World Usage Examples
148
+
149
+ ### Content Creation Workflow
150
+
151
+ ```text
152
+ 👤 "Help me create a blog post about sustainable living with SEO optimization"
153
+
154
+ 🤖 Claude will:
155
+ 1. Generate SEO-optimized content
156
+ 2. Create the post in WordPress
157
+ 3. Add appropriate categories and tags
158
+ 4. Set featured image if provided
159
+ 5. Schedule or publish as requested
160
+ ```
161
+
162
+ ### Site Management Tasks
163
+
164
+ ```text
165
+ 👤 "Analyze my WordPress site performance and suggest improvements"
166
+
167
+ 🤖 Claude will:
168
+ 1. Check cache statistics
169
+ 2. Review performance metrics
170
+ 3. Analyze content structure
171
+ 4. Provide optimization recommendations
172
+ 5. Implement suggested changes if approved
173
+ ```
174
+
175
+ ### Bulk Operations
176
+
177
+ ```text
178
+ 👤 "Update all posts from 2023 to include my new author bio"
179
+
180
+ 🤖 Claude will:
181
+ 1. List all posts from 2023
182
+ 2. Show current author bios
183
+ 3. Update each post with new bio
184
+ 4. Confirm changes and provide summary
185
+ ```
186
+
187
+ ## 🔧 Troubleshooting
188
+
189
+ ### Common Issues and Solutions
190
+
191
+ #### 1. Extension Not Loading
192
+
193
+ **Symptoms:**
194
+
195
+ - WordPress tools don't appear in Claude
196
+ - "Extension failed to load" message
197
+
198
+ **Solutions:**
199
+
200
+ ```bash
201
+ # Check if DXT package is corrupted
202
+ ls -la mcp-wordpress.dxt
203
+
204
+ # Re-download if file size seems wrong
205
+ curl -L -o mcp-wordpress.dxt https://github.com/docdyhr/mcp-wordpress/raw/main/mcp-wordpress.dxt
206
+
207
+ # Reinstall extension
208
+ # Remove from Claude Desktop and reinstall
209
+ ```
210
+
211
+ #### 2. Connection Failures
212
+
213
+ **Symptoms:**
214
+
215
+ - "Cannot connect to WordPress" errors
216
+ - "Authentication failed" messages
217
+
218
+ **Solutions:**
219
+
220
+ 1. **Verify WordPress URL**
221
+
222
+ ```bash
223
+ # Test if WordPress REST API is accessible
224
+ curl https://yoursite.com/wp-json/wp/v2/
225
+ ```
226
+
227
+ 2. **Check Application Password**
228
+ - Ensure password includes spaces: `AbCd EfGh IjKl MnOp`
229
+ - Regenerate if unsure about format
230
+ - Verify WordPress user has sufficient permissions
231
+
232
+ 3. **WordPress Configuration**
233
+ - Ensure REST API is enabled
234
+ - Check if Application Passwords are enabled
235
+ - Verify user role has necessary permissions
236
+
237
+ #### 3. Tools Not Working
238
+
239
+ **Symptoms:**
240
+
241
+ - Some WordPress tools return errors
242
+ - Partial functionality only
243
+
244
+ **Solutions:**
245
+
246
+ 1. **Check WordPress Permissions**
247
+
248
+ ```text
249
+ # Test specific permission in Claude
250
+ "Test my WordPress authentication status"
251
+ ```
252
+
253
+ 2. **WordPress User Role Requirements**
254
+
255
+ | Tool Category | Minimum Role |
256
+ |---------------|--------------|
257
+ | **Read Operations** | Subscriber |
258
+ | **Posts/Pages** | Author |
259
+ | **Media** | Author |
260
+ | **Users** | Editor |
261
+ | **Site Settings** | Administrator |
262
+
263
+ #### 4. Performance Issues
264
+
265
+ **Symptoms:**
266
+
267
+ - Slow response times
268
+ - Timeout errors
269
+
270
+ **Solutions:**
271
+
272
+ 1. **Enable Caching**
273
+ - DXT extension has built-in caching
274
+ - Check cache statistics: `"Show WordPress cache stats"`
275
+
276
+ 2. **WordPress Optimization**
277
+ - Use caching plugins on WordPress
278
+ - Optimize database and media files
279
+ - Consider upgrading hosting
280
+
281
+ ### Debug Mode
282
+
283
+ Enable debug mode for detailed troubleshooting:
284
+
285
+ 1. **In DXT Configuration**
286
+ - Set "Debug Mode" to `true`
287
+ - Save configuration
288
+
289
+ 2. **Check Debug Output**
290
+ - Look for detailed logs in Claude Desktop
291
+ - Check for specific error messages
292
+
293
+ ## 🔄 Updates and Maintenance
294
+
295
+ ### Automatic Updates
296
+
297
+ The DXT extension includes automatic update capabilities:
298
+
299
+ - **Background Updates**: New versions download automatically
300
+ - **Change Notifications**: You'll be notified of important updates
301
+ - **Rollback Support**: Ability to rollback if issues occur
302
+
303
+ ### Manual Updates
304
+
305
+ To manually update:
306
+
307
+ 1. **Download Latest Version**
308
+ - Get newest `mcp-wordpress.dxt` from GitHub
309
+ - Check release notes for changes
310
+
311
+ 2. **Replace Extension**
312
+ - Remove current extension from Claude Desktop
313
+ - Install new DXT package
314
+ - Reconfigure if necessary (settings usually persist)
315
+
316
+ ### Version Compatibility
317
+
318
+ | DXT Version | Claude Desktop | WordPress |
319
+ |-------------|----------------|-----------|
320
+ | **v1.5.3+** | Latest | 5.0+ |
321
+ | **v1.4.x** | 0.8+ | 5.0+ |
322
+ | **v1.3.x** | 0.7+ | 5.0+ |
323
+
324
+ ## 🆚 DXT vs Alternative Methods
325
+
326
+ ### When to Use DXT Extension
327
+
328
+ ✅ **Best for:**
329
+
330
+ - Non-technical users
331
+ - Single WordPress site
332
+ - Easy setup and maintenance
333
+ - Built-in security and updates
334
+
335
+ ### When to Use NPX Method
336
+
337
+ ✅ **Best for:**
338
+
339
+ - Multiple WordPress sites
340
+ - Command line comfort
341
+ - Custom configuration needs
342
+ - Development environments
343
+
344
+ ### Migration Between Methods
345
+
346
+ **From DXT to NPX:**
347
+
348
+ 1. Note your current DXT configuration
349
+ 2. Remove DXT extension from Claude Desktop
350
+ 3. Follow NPX setup guide with same credentials
351
+ 4. Configure multi-site if needed
352
+
353
+ **From NPX to DXT:**
354
+
355
+ 1. Note your current NPX configuration
356
+ 2. Remove NPX from Claude Desktop config
357
+ 3. Install DXT extension
358
+ 4. Enter same WordPress credentials
359
+
360
+ ## 🎓 Advanced Features
361
+
362
+ ### Built-in Tool Discovery
363
+
364
+ The DXT extension includes intelligent tool discovery:
365
+
366
+ ```text
367
+ # Ask Claude about available tools
368
+ "What WordPress tools are available?"
369
+ "Show me tools for managing WordPress media"
370
+ "What performance monitoring tools do you have?"
371
+ ```
372
+
373
+ ### Context-Aware Assistance
374
+
375
+ Claude understands WordPress context with DXT:
376
+
377
+ ```text
378
+ # WordPress-specific help
379
+ "Help me optimize my WordPress site for speed"
380
+ "What's the best way to manage WordPress comments?"
381
+ "Show me WordPress security best practices"
382
+ ```
383
+
384
+ ### Integration with Claude's Knowledge
385
+
386
+ DXT combines with Claude's knowledge for enhanced assistance:
387
+
388
+ ```text
389
+ # Content strategy with WordPress integration
390
+ "Analyze my WordPress posts and suggest a content calendar"
391
+ "Help me improve my WordPress site's SEO"
392
+ "Create a social media strategy based on my WordPress content"
393
+ ```
394
+
395
+ ## 🆘 Getting Help
396
+
397
+ ### Support Resources
398
+
399
+ 1. **Documentation**
400
+ - [Complete Documentation](../README.md)
401
+ - [Troubleshooting Guide](../TROUBLESHOOTING.md)
402
+ - [API Reference](../api/README.md)
403
+
404
+ 2. **Community Support**
405
+ - [GitHub Discussions](https://github.com/docdyhr/mcp-wordpress/discussions)
406
+ - [Issue Tracker](https://github.com/docdyhr/mcp-wordpress/issues)
407
+
408
+ 3. **Professional Support**
409
+ - For enterprise needs
410
+ - Custom integrations
411
+ - Priority support
412
+
413
+ ### Reporting Issues
414
+
415
+ When reporting DXT-related issues, include:
416
+
417
+ 1. **DXT Version**: Check in Claude Desktop extensions
418
+ 2. **WordPress Version**: From WordPress admin
419
+ 3. **Error Messages**: Exact text of any errors
420
+ 4. **Steps to Reproduce**: What you were trying to do
421
+ 5. **Configuration**: WordPress role, site type, etc.
422
+
423
+ ---
424
+
425
+ **Ready to get started?** [Download the DXT extension](https://github.com/docdyhr/mcp-wordpress/raw/main/mcp-wordpress.dxt)
426
+ and transform your WordPress management experience!