mcp-wordpress 2.4.2 → 2.5.1

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 (653) hide show
  1. package/README.md +124 -54
  2. package/bin/status.js +1 -1
  3. package/dist/cache/CacheInvalidation.d.ts +3 -1
  4. package/dist/cache/CacheInvalidation.d.ts.map +1 -1
  5. package/dist/cache/CacheInvalidation.js +10 -4
  6. package/dist/cache/CacheInvalidation.js.map +1 -1
  7. package/dist/cache/CacheManager.d.ts +3 -2
  8. package/dist/cache/CacheManager.d.ts.map +1 -1
  9. package/dist/cache/CacheManager.js +11 -3
  10. package/dist/cache/CacheManager.js.map +1 -1
  11. package/dist/cache/HttpCacheWrapper.d.ts +7 -6
  12. package/dist/cache/HttpCacheWrapper.d.ts.map +1 -1
  13. package/dist/cache/HttpCacheWrapper.js +8 -5
  14. package/dist/cache/HttpCacheWrapper.js.map +1 -1
  15. package/dist/cache/index.d.ts +3 -3
  16. package/dist/cache/index.d.ts.map +1 -1
  17. package/dist/cache/index.js +1 -1
  18. package/dist/cache/index.js.map +1 -1
  19. package/dist/client/CachedWordPressClient.d.ts +23 -9
  20. package/dist/client/CachedWordPressClient.d.ts.map +1 -1
  21. package/dist/client/CachedWordPressClient.js +4 -1
  22. package/dist/client/CachedWordPressClient.js.map +1 -1
  23. package/dist/client/MockWordPressClient.d.ts +2 -1
  24. package/dist/client/MockWordPressClient.d.ts.map +1 -1
  25. package/dist/client/MockWordPressClient.js +3 -1
  26. package/dist/client/MockWordPressClient.js.map +1 -1
  27. package/dist/client/api.d.ts +17 -13
  28. package/dist/client/api.d.ts.map +1 -1
  29. package/dist/client/api.js +135 -30
  30. package/dist/client/api.js.map +1 -1
  31. package/dist/client/auth.d.ts.map +1 -1
  32. package/dist/client/auth.js +2 -3
  33. package/dist/client/auth.js.map +1 -1
  34. package/dist/client/managers/AuthenticationManager.d.ts +55 -2
  35. package/dist/client/managers/AuthenticationManager.d.ts.map +1 -1
  36. package/dist/client/managers/AuthenticationManager.js +269 -71
  37. package/dist/client/managers/AuthenticationManager.js.map +1 -1
  38. package/dist/client/managers/BaseManager.d.ts +3 -3
  39. package/dist/client/managers/BaseManager.d.ts.map +1 -1
  40. package/dist/client/managers/BaseManager.js +11 -5
  41. package/dist/client/managers/BaseManager.js.map +1 -1
  42. package/dist/client/managers/RequestManager.d.ts +2 -2
  43. package/dist/client/managers/RequestManager.d.ts.map +1 -1
  44. package/dist/client/managers/RequestManager.js +25 -12
  45. package/dist/client/managers/RequestManager.js.map +1 -1
  46. package/dist/config/Config.d.ts +155 -0
  47. package/dist/config/Config.d.ts.map +1 -0
  48. package/dist/config/Config.js +215 -0
  49. package/dist/config/Config.js.map +1 -0
  50. package/dist/config/ConfigurationSchema.d.ts +21 -21
  51. package/dist/config/ConfigurationSchema.d.ts.map +1 -1
  52. package/dist/config/ConfigurationSchema.js +19 -2
  53. package/dist/config/ConfigurationSchema.js.map +1 -1
  54. package/dist/config/ServerConfiguration.d.ts +2 -1
  55. package/dist/config/ServerConfiguration.d.ts.map +1 -1
  56. package/dist/config/ServerConfiguration.js +73 -43
  57. package/dist/config/ServerConfiguration.js.map +1 -1
  58. package/dist/docs/DocumentationGenerator.d.ts +9 -8
  59. package/dist/docs/DocumentationGenerator.d.ts.map +1 -1
  60. package/dist/docs/DocumentationGenerator.js +10 -7
  61. package/dist/docs/DocumentationGenerator.js.map +1 -1
  62. package/dist/docs/MarkdownFormatter.d.ts.map +1 -1
  63. package/dist/docs/MarkdownFormatter.js +3 -2
  64. package/dist/docs/MarkdownFormatter.js.map +1 -1
  65. package/dist/dxt-entry.js +15 -14
  66. package/dist/dxt-entry.js.map +1 -1
  67. package/dist/index.d.ts +3 -1
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +37 -21
  70. package/dist/index.js.map +1 -1
  71. package/dist/performance/MetricsCollector.d.ts +13 -7
  72. package/dist/performance/MetricsCollector.d.ts.map +1 -1
  73. package/dist/performance/MetricsCollector.js +69 -27
  74. package/dist/performance/MetricsCollector.js.map +1 -1
  75. package/dist/performance/PerformanceAnalytics.d.ts +8 -2
  76. package/dist/performance/PerformanceAnalytics.d.ts.map +1 -1
  77. package/dist/performance/PerformanceAnalytics.js +17 -47
  78. package/dist/performance/PerformanceAnalytics.js.map +1 -1
  79. package/dist/performance/PerformanceMonitor.d.ts +2 -1
  80. package/dist/performance/PerformanceMonitor.d.ts.map +1 -1
  81. package/dist/performance/PerformanceMonitor.js +12 -13
  82. package/dist/performance/PerformanceMonitor.js.map +1 -1
  83. package/dist/performance/index.d.ts +2 -2
  84. package/dist/performance/index.d.ts.map +1 -1
  85. package/dist/security/AISecurityScanner.d.ts +1 -0
  86. package/dist/security/AISecurityScanner.d.ts.map +1 -1
  87. package/dist/security/AISecurityScanner.js +22 -12
  88. package/dist/security/AISecurityScanner.js.map +1 -1
  89. package/dist/security/AutomatedRemediation.d.ts +4 -3
  90. package/dist/security/AutomatedRemediation.d.ts.map +1 -1
  91. package/dist/security/AutomatedRemediation.js +46 -15
  92. package/dist/security/AutomatedRemediation.js.map +1 -1
  93. package/dist/security/InputValidator.d.ts +13 -9
  94. package/dist/security/InputValidator.d.ts.map +1 -1
  95. package/dist/security/InputValidator.js +4 -2
  96. package/dist/security/InputValidator.js.map +1 -1
  97. package/dist/security/SecurityCIPipeline.d.ts +1 -1
  98. package/dist/security/SecurityCIPipeline.d.ts.map +1 -1
  99. package/dist/security/SecurityCIPipeline.js +38 -29
  100. package/dist/security/SecurityCIPipeline.js.map +1 -1
  101. package/dist/security/SecurityConfig.d.ts +3 -3
  102. package/dist/security/SecurityConfig.d.ts.map +1 -1
  103. package/dist/security/SecurityConfig.js +13 -9
  104. package/dist/security/SecurityConfig.js.map +1 -1
  105. package/dist/security/SecurityConfigManager.d.ts +2 -2
  106. package/dist/security/SecurityConfigManager.d.ts.map +1 -1
  107. package/dist/security/SecurityConfigManager.js +20 -15
  108. package/dist/security/SecurityConfigManager.js.map +1 -1
  109. package/dist/security/SecurityMonitoring.d.ts +2 -2
  110. package/dist/security/SecurityMonitoring.d.ts.map +1 -1
  111. package/dist/security/SecurityMonitoring.js +19 -17
  112. package/dist/security/SecurityMonitoring.js.map +1 -1
  113. package/dist/security/SecurityReviewer.d.ts.map +1 -1
  114. package/dist/security/SecurityReviewer.js +10 -7
  115. package/dist/security/SecurityReviewer.js.map +1 -1
  116. package/dist/security/index.d.ts +24 -23
  117. package/dist/security/index.d.ts.map +1 -1
  118. package/dist/security/index.js +52 -23
  119. package/dist/security/index.js.map +1 -1
  120. package/dist/server/ConnectionTester.d.ts +12 -4
  121. package/dist/server/ConnectionTester.d.ts.map +1 -1
  122. package/dist/server/ConnectionTester.js +96 -22
  123. package/dist/server/ConnectionTester.js.map +1 -1
  124. package/dist/server/ToolRegistry.d.ts +2 -2
  125. package/dist/server/ToolRegistry.d.ts.map +1 -1
  126. package/dist/server/ToolRegistry.js +10 -5
  127. package/dist/server/ToolRegistry.js.map +1 -1
  128. package/dist/src/cache/CacheInvalidation.d.ts +120 -0
  129. package/dist/src/cache/CacheInvalidation.d.ts.map +1 -0
  130. package/dist/src/cache/CacheInvalidation.js +355 -0
  131. package/dist/src/cache/CacheInvalidation.js.map +1 -0
  132. package/dist/src/cache/CacheManager.d.ts +149 -0
  133. package/dist/src/cache/CacheManager.d.ts.map +1 -0
  134. package/dist/src/cache/CacheManager.js +326 -0
  135. package/dist/src/cache/CacheManager.js.map +1 -0
  136. package/dist/src/cache/HttpCacheWrapper.d.ts +122 -0
  137. package/dist/src/cache/HttpCacheWrapper.d.ts.map +1 -0
  138. package/dist/src/cache/HttpCacheWrapper.js +283 -0
  139. package/dist/src/cache/HttpCacheWrapper.js.map +1 -0
  140. package/dist/src/cache/index.d.ts +12 -0
  141. package/dist/src/cache/index.d.ts.map +1 -0
  142. package/dist/src/cache/index.js +9 -0
  143. package/dist/src/cache/index.js.map +1 -0
  144. package/dist/src/client/CachedWordPressClient.d.ts +174 -0
  145. package/dist/src/client/CachedWordPressClient.d.ts.map +1 -0
  146. package/dist/src/client/CachedWordPressClient.js +345 -0
  147. package/dist/src/client/CachedWordPressClient.js.map +1 -0
  148. package/dist/src/client/MockWordPressClient.d.ts +56 -0
  149. package/dist/src/client/MockWordPressClient.d.ts.map +1 -0
  150. package/dist/src/client/MockWordPressClient.js +371 -0
  151. package/dist/src/client/MockWordPressClient.js.map +1 -0
  152. package/dist/src/client/api.d.ts +235 -0
  153. package/dist/src/client/api.d.ts.map +1 -0
  154. package/dist/src/client/api.js +896 -0
  155. package/dist/src/client/api.js.map +1 -0
  156. package/dist/src/client/auth.d.ts +121 -0
  157. package/dist/src/client/auth.d.ts.map +1 -0
  158. package/dist/src/client/auth.js +429 -0
  159. package/dist/src/client/auth.js.map +1 -0
  160. package/dist/src/client/managers/AuthenticationManager.d.ts +92 -0
  161. package/dist/src/client/managers/AuthenticationManager.d.ts.map +1 -0
  162. package/dist/src/client/managers/AuthenticationManager.js +369 -0
  163. package/dist/src/client/managers/AuthenticationManager.js.map +1 -0
  164. package/dist/src/client/managers/BaseManager.d.ts +22 -0
  165. package/dist/src/client/managers/BaseManager.d.ts.map +1 -0
  166. package/dist/src/client/managers/BaseManager.js +53 -0
  167. package/dist/src/client/managers/BaseManager.js.map +1 -0
  168. package/dist/src/client/managers/RequestManager.d.ts +47 -0
  169. package/dist/src/client/managers/RequestManager.d.ts.map +1 -0
  170. package/dist/src/client/managers/RequestManager.js +193 -0
  171. package/dist/src/client/managers/RequestManager.js.map +1 -0
  172. package/dist/src/client/managers/index.d.ts +8 -0
  173. package/dist/src/client/managers/index.d.ts.map +1 -0
  174. package/dist/src/client/managers/index.js +8 -0
  175. package/dist/src/client/managers/index.js.map +1 -0
  176. package/dist/src/config/Config.d.ts +155 -0
  177. package/dist/src/config/Config.d.ts.map +1 -0
  178. package/dist/src/config/Config.js +215 -0
  179. package/dist/src/config/Config.js.map +1 -0
  180. package/dist/src/config/ConfigurationSchema.d.ts +281 -0
  181. package/dist/src/config/ConfigurationSchema.d.ts.map +1 -0
  182. package/dist/src/config/ConfigurationSchema.js +205 -0
  183. package/dist/src/config/ConfigurationSchema.js.map +1 -0
  184. package/dist/src/config/ServerConfiguration.d.ts +47 -0
  185. package/dist/src/config/ServerConfiguration.d.ts.map +1 -0
  186. package/dist/src/config/ServerConfiguration.js +255 -0
  187. package/dist/src/config/ServerConfiguration.js.map +1 -0
  188. package/dist/src/docs/DocumentationGenerator.d.ts +185 -0
  189. package/dist/src/docs/DocumentationGenerator.d.ts.map +1 -0
  190. package/dist/src/docs/DocumentationGenerator.js +777 -0
  191. package/dist/src/docs/DocumentationGenerator.js.map +1 -0
  192. package/dist/src/docs/MarkdownFormatter.d.ts +84 -0
  193. package/dist/src/docs/MarkdownFormatter.d.ts.map +1 -0
  194. package/dist/src/docs/MarkdownFormatter.js +458 -0
  195. package/dist/src/docs/MarkdownFormatter.js.map +1 -0
  196. package/dist/src/docs/index.d.ts +8 -0
  197. package/dist/src/docs/index.d.ts.map +1 -0
  198. package/dist/src/docs/index.js +7 -0
  199. package/dist/src/docs/index.js.map +1 -0
  200. package/dist/src/dxt-entry.d.ts +6 -0
  201. package/dist/src/dxt-entry.d.ts.map +1 -0
  202. package/dist/src/dxt-entry.js +39 -0
  203. package/dist/src/dxt-entry.js.map +1 -0
  204. package/dist/src/index.d.ts +18 -0
  205. package/dist/src/index.d.ts.map +1 -0
  206. package/dist/src/index.js +143 -0
  207. package/dist/src/index.js.map +1 -0
  208. package/dist/src/performance/MetricsCollector.d.ts +145 -0
  209. package/dist/src/performance/MetricsCollector.d.ts.map +1 -0
  210. package/dist/src/performance/MetricsCollector.js +368 -0
  211. package/dist/src/performance/MetricsCollector.js.map +1 -0
  212. package/dist/src/performance/PerformanceAnalytics.d.ts +168 -0
  213. package/dist/src/performance/PerformanceAnalytics.d.ts.map +1 -0
  214. package/dist/src/performance/PerformanceAnalytics.js +570 -0
  215. package/dist/src/performance/PerformanceAnalytics.js.map +1 -0
  216. package/dist/src/performance/PerformanceMonitor.d.ts +203 -0
  217. package/dist/src/performance/PerformanceMonitor.d.ts.map +1 -0
  218. package/dist/src/performance/PerformanceMonitor.js +478 -0
  219. package/dist/src/performance/PerformanceMonitor.js.map +1 -0
  220. package/dist/src/performance/index.d.ts +11 -0
  221. package/dist/src/performance/index.d.ts.map +1 -0
  222. package/dist/src/performance/index.js +8 -0
  223. package/dist/src/performance/index.js.map +1 -0
  224. package/dist/src/security/AISecurityScanner.d.ts +176 -0
  225. package/dist/src/security/AISecurityScanner.d.ts.map +1 -0
  226. package/dist/src/security/AISecurityScanner.js +655 -0
  227. package/dist/src/security/AISecurityScanner.js.map +1 -0
  228. package/dist/src/security/AutomatedRemediation.d.ts +146 -0
  229. package/dist/src/security/AutomatedRemediation.d.ts.map +1 -0
  230. package/dist/src/security/AutomatedRemediation.js +566 -0
  231. package/dist/src/security/AutomatedRemediation.js.map +1 -0
  232. package/dist/src/security/InputValidator.d.ts +219 -0
  233. package/dist/src/security/InputValidator.d.ts.map +1 -0
  234. package/dist/src/security/InputValidator.js +295 -0
  235. package/dist/src/security/InputValidator.js.map +1 -0
  236. package/dist/src/security/SecurityCIPipeline.d.ts +213 -0
  237. package/dist/src/security/SecurityCIPipeline.d.ts.map +1 -0
  238. package/dist/src/security/SecurityCIPipeline.js +693 -0
  239. package/dist/src/security/SecurityCIPipeline.js.map +1 -0
  240. package/dist/src/security/SecurityConfig.d.ts +129 -0
  241. package/dist/src/security/SecurityConfig.d.ts.map +1 -0
  242. package/dist/src/security/SecurityConfig.js +266 -0
  243. package/dist/src/security/SecurityConfig.js.map +1 -0
  244. package/dist/src/security/SecurityConfigManager.d.ts +294 -0
  245. package/dist/src/security/SecurityConfigManager.d.ts.map +1 -0
  246. package/dist/src/security/SecurityConfigManager.js +558 -0
  247. package/dist/src/security/SecurityConfigManager.js.map +1 -0
  248. package/dist/src/security/SecurityMonitoring.d.ts +245 -0
  249. package/dist/src/security/SecurityMonitoring.d.ts.map +1 -0
  250. package/dist/src/security/SecurityMonitoring.js +598 -0
  251. package/dist/src/security/SecurityMonitoring.js.map +1 -0
  252. package/dist/src/security/SecurityReviewer.d.ts +168 -0
  253. package/dist/src/security/SecurityReviewer.d.ts.map +1 -0
  254. package/dist/src/security/SecurityReviewer.js +686 -0
  255. package/dist/src/security/SecurityReviewer.js.map +1 -0
  256. package/dist/src/security/index.d.ts +183 -0
  257. package/dist/src/security/index.d.ts.map +1 -0
  258. package/dist/src/security/index.js +218 -0
  259. package/dist/src/security/index.js.map +1 -0
  260. package/dist/src/server/ConnectionTester.d.ts +32 -0
  261. package/dist/src/server/ConnectionTester.d.ts.map +1 -0
  262. package/dist/src/server/ConnectionTester.js +135 -0
  263. package/dist/src/server/ConnectionTester.js.map +1 -0
  264. package/dist/src/server/ToolRegistry.d.ts +50 -0
  265. package/dist/src/server/ToolRegistry.d.ts.map +1 -0
  266. package/dist/src/server/ToolRegistry.js +219 -0
  267. package/dist/src/server/ToolRegistry.js.map +1 -0
  268. package/dist/src/server.d.ts +7 -0
  269. package/dist/src/server.d.ts.map +1 -0
  270. package/dist/src/server.js +7 -0
  271. package/dist/src/server.js.map +1 -0
  272. package/dist/src/tools/BaseToolManager.d.ts +62 -0
  273. package/dist/src/tools/BaseToolManager.d.ts.map +1 -0
  274. package/dist/src/tools/BaseToolManager.js +195 -0
  275. package/dist/src/tools/BaseToolManager.js.map +1 -0
  276. package/dist/src/tools/auth.d.ts +50 -0
  277. package/dist/src/tools/auth.d.ts.map +1 -0
  278. package/dist/src/tools/auth.js +133 -0
  279. package/dist/src/tools/auth.js.map +1 -0
  280. package/dist/src/tools/cache.d.ts +260 -0
  281. package/dist/src/tools/cache.d.ts.map +1 -0
  282. package/dist/src/tools/cache.js +232 -0
  283. package/dist/src/tools/cache.js.map +1 -0
  284. package/dist/src/tools/comments.d.ts +33 -0
  285. package/dist/src/tools/comments.d.ts.map +1 -0
  286. package/dist/src/tools/comments.js +235 -0
  287. package/dist/src/tools/comments.js.map +1 -0
  288. package/dist/src/tools/index.d.ts +11 -0
  289. package/dist/src/tools/index.d.ts.map +1 -0
  290. package/dist/src/tools/index.js +11 -0
  291. package/dist/src/tools/index.js.map +1 -0
  292. package/dist/src/tools/media.d.ts +70 -0
  293. package/dist/src/tools/media.d.ts.map +1 -0
  294. package/dist/src/tools/media.js +248 -0
  295. package/dist/src/tools/media.js.map +1 -0
  296. package/dist/src/tools/pages.d.ts +32 -0
  297. package/dist/src/tools/pages.d.ts.map +1 -0
  298. package/dist/src/tools/pages.js +215 -0
  299. package/dist/src/tools/pages.js.map +1 -0
  300. package/dist/src/tools/performance.d.ts +73 -0
  301. package/dist/src/tools/performance.d.ts.map +1 -0
  302. package/dist/src/tools/performance.js +922 -0
  303. package/dist/src/tools/performance.js.map +1 -0
  304. package/dist/src/tools/posts/PostHandlers.d.ts +46 -0
  305. package/dist/src/tools/posts/PostHandlers.d.ts.map +1 -0
  306. package/dist/src/tools/posts/PostHandlers.js +400 -0
  307. package/dist/src/tools/posts/PostHandlers.js.map +1 -0
  308. package/dist/src/tools/posts/PostToolDefinitions.d.ts +37 -0
  309. package/dist/src/tools/posts/PostToolDefinitions.d.ts.map +1 -0
  310. package/dist/src/tools/posts/PostToolDefinitions.js +236 -0
  311. package/dist/src/tools/posts/PostToolDefinitions.js.map +1 -0
  312. package/dist/src/tools/posts/index.d.ts +138 -0
  313. package/dist/src/tools/posts/index.d.ts.map +1 -0
  314. package/dist/src/tools/posts/index.js +163 -0
  315. package/dist/src/tools/posts/index.js.map +1 -0
  316. package/dist/src/tools/posts.d.ts +15 -0
  317. package/dist/src/tools/posts.d.ts.map +1 -0
  318. package/dist/src/tools/posts.js +16 -0
  319. package/dist/src/tools/posts.js.map +1 -0
  320. package/dist/src/tools/site.d.ts +32 -0
  321. package/dist/src/tools/site.d.ts.map +1 -0
  322. package/dist/src/tools/site.js +234 -0
  323. package/dist/src/tools/site.js.map +1 -0
  324. package/dist/src/tools/taxonomies.d.ts +36 -0
  325. package/dist/src/tools/taxonomies.d.ts.map +1 -0
  326. package/dist/src/tools/taxonomies.js +286 -0
  327. package/dist/src/tools/taxonomies.js.map +1 -0
  328. package/dist/src/tools/users.d.ts +33 -0
  329. package/dist/src/tools/users.d.ts.map +1 -0
  330. package/dist/src/tools/users.js +308 -0
  331. package/dist/src/tools/users.js.map +1 -0
  332. package/dist/src/types/client.d.ts +223 -0
  333. package/dist/src/types/client.d.ts.map +1 -0
  334. package/dist/src/types/client.js +97 -0
  335. package/dist/src/types/client.js.map +1 -0
  336. package/dist/src/types/enhanced.d.ts +237 -0
  337. package/dist/src/types/enhanced.d.ts.map +1 -0
  338. package/dist/src/types/enhanced.js +49 -0
  339. package/dist/src/types/enhanced.js.map +1 -0
  340. package/dist/src/types/index.d.ts +160 -0
  341. package/dist/src/types/index.d.ts.map +1 -0
  342. package/dist/src/types/index.js +14 -0
  343. package/dist/src/types/index.js.map +1 -0
  344. package/dist/src/types/mcp.d.ts +178 -0
  345. package/dist/src/types/mcp.d.ts.map +1 -0
  346. package/dist/src/types/mcp.js +7 -0
  347. package/dist/src/types/mcp.js.map +1 -0
  348. package/dist/src/types/requests.d.ts +322 -0
  349. package/dist/src/types/requests.d.ts.map +1 -0
  350. package/dist/src/types/requests.js +8 -0
  351. package/dist/src/types/requests.js.map +1 -0
  352. package/dist/src/types/tools.d.ts +506 -0
  353. package/dist/src/types/tools.d.ts.map +1 -0
  354. package/dist/src/types/tools.js +8 -0
  355. package/dist/src/types/tools.js.map +1 -0
  356. package/dist/src/types/wordpress.d.ts +471 -0
  357. package/dist/src/types/wordpress.d.ts.map +1 -0
  358. package/dist/src/types/wordpress.js +14 -0
  359. package/dist/src/types/wordpress.js.map +1 -0
  360. package/dist/src/utils/debug.d.ts +71 -0
  361. package/dist/src/utils/debug.d.ts.map +1 -0
  362. package/dist/src/utils/debug.js +235 -0
  363. package/dist/src/utils/debug.js.map +1 -0
  364. package/dist/src/utils/enhancedError.d.ts +61 -0
  365. package/dist/src/utils/enhancedError.d.ts.map +1 -0
  366. package/dist/src/utils/enhancedError.js +221 -0
  367. package/dist/src/utils/enhancedError.js.map +1 -0
  368. package/dist/src/utils/error.d.ts +17 -0
  369. package/dist/src/utils/error.d.ts.map +1 -0
  370. package/dist/src/utils/error.js +108 -0
  371. package/dist/src/utils/error.js.map +1 -0
  372. package/dist/src/utils/logger.d.ts +106 -0
  373. package/dist/src/utils/logger.d.ts.map +1 -0
  374. package/dist/src/utils/logger.js +280 -0
  375. package/dist/src/utils/logger.js.map +1 -0
  376. package/dist/src/utils/streaming.d.ts +104 -0
  377. package/dist/src/utils/streaming.d.ts.map +1 -0
  378. package/dist/src/utils/streaming.js +331 -0
  379. package/dist/src/utils/streaming.js.map +1 -0
  380. package/dist/src/utils/toolWrapper.d.ts +42 -0
  381. package/dist/src/utils/toolWrapper.d.ts.map +1 -0
  382. package/dist/src/utils/toolWrapper.js +101 -0
  383. package/dist/src/utils/toolWrapper.js.map +1 -0
  384. package/dist/src/utils/validation/core.d.ts +21 -0
  385. package/dist/src/utils/validation/core.d.ts.map +1 -0
  386. package/dist/src/utils/validation/core.js +71 -0
  387. package/dist/src/utils/validation/core.js.map +1 -0
  388. package/dist/src/utils/validation/index.d.ts +25 -0
  389. package/dist/src/utils/validation/index.d.ts.map +1 -0
  390. package/dist/src/utils/validation/index.js +29 -0
  391. package/dist/src/utils/validation/index.js.map +1 -0
  392. package/dist/src/utils/validation/network.d.ts +19 -0
  393. package/dist/src/utils/validation/network.d.ts.map +1 -0
  394. package/dist/src/utils/validation/network.js +93 -0
  395. package/dist/src/utils/validation/network.js.map +1 -0
  396. package/dist/src/utils/validation/rateLimit.d.ts +21 -0
  397. package/dist/src/utils/validation/rateLimit.d.ts.map +1 -0
  398. package/dist/src/utils/validation/rateLimit.js +43 -0
  399. package/dist/src/utils/validation/rateLimit.js.map +1 -0
  400. package/dist/src/utils/validation/security.d.ts +29 -0
  401. package/dist/src/utils/validation/security.d.ts.map +1 -0
  402. package/dist/src/utils/validation/security.js +327 -0
  403. package/dist/src/utils/validation/security.js.map +1 -0
  404. package/dist/src/utils/validation/wordpress.d.ts +31 -0
  405. package/dist/src/utils/validation/wordpress.d.ts.map +1 -0
  406. package/dist/src/utils/validation/wordpress.js +146 -0
  407. package/dist/src/utils/validation/wordpress.js.map +1 -0
  408. package/dist/src/utils/validation.d.ts +15 -0
  409. package/dist/src/utils/validation.d.ts.map +1 -0
  410. package/dist/src/utils/validation.js +27 -0
  411. package/dist/src/utils/validation.js.map +1 -0
  412. package/dist/tests/vitest.setup.d.ts +6 -0
  413. package/dist/tests/vitest.setup.d.ts.map +1 -0
  414. package/dist/tests/vitest.setup.js +39 -0
  415. package/dist/tests/vitest.setup.js.map +1 -0
  416. package/dist/tools/BaseToolManager.d.ts +47 -11
  417. package/dist/tools/BaseToolManager.d.ts.map +1 -1
  418. package/dist/tools/BaseToolManager.js +168 -29
  419. package/dist/tools/BaseToolManager.js.map +1 -1
  420. package/dist/tools/auth.d.ts +16 -10
  421. package/dist/tools/auth.d.ts.map +1 -1
  422. package/dist/tools/auth.js +3 -2
  423. package/dist/tools/auth.js.map +1 -1
  424. package/dist/tools/cache.d.ts +30 -30
  425. package/dist/tools/cache.d.ts.map +1 -1
  426. package/dist/tools/cache.js +1 -6
  427. package/dist/tools/cache.js.map +1 -1
  428. package/dist/tools/comments.d.ts +20 -20
  429. package/dist/tools/comments.d.ts.map +1 -1
  430. package/dist/tools/comments.js +16 -9
  431. package/dist/tools/comments.js.map +1 -1
  432. package/dist/tools/media.d.ts +18 -16
  433. package/dist/tools/media.d.ts.map +1 -1
  434. package/dist/tools/media.js +16 -15
  435. package/dist/tools/media.js.map +1 -1
  436. package/dist/tools/pages.d.ts +19 -17
  437. package/dist/tools/pages.d.ts.map +1 -1
  438. package/dist/tools/pages.js +16 -12
  439. package/dist/tools/pages.js.map +1 -1
  440. package/dist/tools/performance.d.ts +11 -1
  441. package/dist/tools/performance.d.ts.map +1 -1
  442. package/dist/tools/performance.js +67 -34
  443. package/dist/tools/performance.js.map +1 -1
  444. package/dist/tools/posts/PostHandlers.d.ts +46 -0
  445. package/dist/tools/posts/PostHandlers.d.ts.map +1 -0
  446. package/dist/tools/posts/PostHandlers.js +400 -0
  447. package/dist/tools/posts/PostHandlers.js.map +1 -0
  448. package/dist/tools/posts/PostToolDefinitions.d.ts +37 -0
  449. package/dist/tools/posts/PostToolDefinitions.d.ts.map +1 -0
  450. package/dist/tools/posts/PostToolDefinitions.js +236 -0
  451. package/dist/tools/posts/PostToolDefinitions.js.map +1 -0
  452. package/dist/tools/posts/index.d.ts +138 -0
  453. package/dist/tools/posts/index.d.ts.map +1 -0
  454. package/dist/tools/posts/index.js +163 -0
  455. package/dist/tools/posts/index.js.map +1 -0
  456. package/dist/tools/posts.d.ts +10 -246
  457. package/dist/tools/posts.d.ts.map +1 -1
  458. package/dist/tools/posts.js +11 -723
  459. package/dist/tools/posts.js.map +1 -1
  460. package/dist/tools/site.d.ts +19 -18
  461. package/dist/tools/site.d.ts.map +1 -1
  462. package/dist/tools/site.js +14 -10
  463. package/dist/tools/site.js.map +1 -1
  464. package/dist/tools/taxonomies.d.ts +23 -24
  465. package/dist/tools/taxonomies.d.ts.map +1 -1
  466. package/dist/tools/taxonomies.js +24 -18
  467. package/dist/tools/taxonomies.js.map +1 -1
  468. package/dist/tools/users.d.ts +20 -15
  469. package/dist/tools/users.d.ts.map +1 -1
  470. package/dist/tools/users.js +12 -8
  471. package/dist/tools/users.js.map +1 -1
  472. package/dist/types/client.d.ts +48 -41
  473. package/dist/types/client.d.ts.map +1 -1
  474. package/dist/types/client.js +30 -5
  475. package/dist/types/client.js.map +1 -1
  476. package/dist/types/enhanced.d.ts +237 -0
  477. package/dist/types/enhanced.d.ts.map +1 -0
  478. package/dist/types/enhanced.js +49 -0
  479. package/dist/types/enhanced.js.map +1 -0
  480. package/dist/types/index.d.ts +15 -12
  481. package/dist/types/index.d.ts.map +1 -1
  482. package/dist/types/index.js +2 -0
  483. package/dist/types/index.js.map +1 -1
  484. package/dist/types/mcp.d.ts +12 -12
  485. package/dist/types/mcp.d.ts.map +1 -1
  486. package/dist/types/requests.d.ts +322 -0
  487. package/dist/types/requests.d.ts.map +1 -0
  488. package/dist/types/requests.js +8 -0
  489. package/dist/types/requests.js.map +1 -0
  490. package/dist/types/tools.d.ts +506 -0
  491. package/dist/types/tools.d.ts.map +1 -0
  492. package/dist/types/tools.js +8 -0
  493. package/dist/types/tools.js.map +1 -0
  494. package/dist/types/wordpress.d.ts +43 -15
  495. package/dist/types/wordpress.d.ts.map +1 -1
  496. package/dist/types/wordpress.js +8 -1
  497. package/dist/types/wordpress.js.map +1 -1
  498. package/dist/utils/debug.d.ts +19 -11
  499. package/dist/utils/debug.d.ts.map +1 -1
  500. package/dist/utils/debug.js +46 -10
  501. package/dist/utils/debug.js.map +1 -1
  502. package/dist/utils/enhancedError.d.ts +8 -8
  503. package/dist/utils/enhancedError.d.ts.map +1 -1
  504. package/dist/utils/enhancedError.js.map +1 -1
  505. package/dist/utils/error.d.ts +2 -4
  506. package/dist/utils/error.d.ts.map +1 -1
  507. package/dist/utils/error.js +42 -5
  508. package/dist/utils/error.js.map +1 -1
  509. package/dist/utils/logger.d.ts +106 -0
  510. package/dist/utils/logger.d.ts.map +1 -0
  511. package/dist/utils/logger.js +280 -0
  512. package/dist/utils/logger.js.map +1 -0
  513. package/dist/utils/streaming.d.ts +9 -9
  514. package/dist/utils/streaming.d.ts.map +1 -1
  515. package/dist/utils/streaming.js +71 -52
  516. package/dist/utils/streaming.js.map +1 -1
  517. package/dist/utils/toolWrapper.d.ts +9 -7
  518. package/dist/utils/toolWrapper.d.ts.map +1 -1
  519. package/dist/utils/toolWrapper.js.map +1 -1
  520. package/dist/utils/validation/core.d.ts +21 -0
  521. package/dist/utils/validation/core.d.ts.map +1 -0
  522. package/dist/utils/validation/core.js +71 -0
  523. package/dist/utils/validation/core.js.map +1 -0
  524. package/dist/utils/validation/index.d.ts +25 -0
  525. package/dist/utils/validation/index.d.ts.map +1 -0
  526. package/dist/utils/validation/index.js +29 -0
  527. package/dist/utils/validation/index.js.map +1 -0
  528. package/dist/utils/validation/network.d.ts +19 -0
  529. package/dist/utils/validation/network.d.ts.map +1 -0
  530. package/dist/utils/validation/network.js +93 -0
  531. package/dist/utils/validation/network.js.map +1 -0
  532. package/dist/utils/validation/rateLimit.d.ts +21 -0
  533. package/dist/utils/validation/rateLimit.d.ts.map +1 -0
  534. package/dist/utils/validation/rateLimit.js +43 -0
  535. package/dist/utils/validation/rateLimit.js.map +1 -0
  536. package/dist/utils/validation/security.d.ts +29 -0
  537. package/dist/utils/validation/security.d.ts.map +1 -0
  538. package/dist/utils/validation/security.js +327 -0
  539. package/dist/utils/validation/security.js.map +1 -0
  540. package/dist/utils/validation/wordpress.d.ts +31 -0
  541. package/dist/utils/validation/wordpress.d.ts.map +1 -0
  542. package/dist/utils/validation/wordpress.js +146 -0
  543. package/dist/utils/validation/wordpress.js.map +1 -0
  544. package/dist/utils/validation.d.ts +13 -82
  545. package/dist/utils/validation.d.ts.map +1 -1
  546. package/dist/utils/validation.js +25 -343
  547. package/dist/utils/validation.js.map +1 -1
  548. package/docs/BADGE_UPDATES.md +132 -0
  549. package/docs/CI_CD_IMPROVEMENTS.md +191 -0
  550. package/docs/INCREMENTAL_COVERAGE.md +183 -0
  551. package/docs/INSTALLATION.md +4 -2
  552. package/docs/TROUBLESHOOTING.md +2 -1
  553. package/docs/api/README.md +3 -1
  554. package/docs/api/openapi.json +5 -1
  555. package/docs/api/summary.json +1 -1
  556. package/docs/api/tools/wp_create_post.md +12 -14
  557. package/docs/developer/TESTING.md +24 -19
  558. package/docs/examples/claude-desktop-config.md +1 -1
  559. package/docs/examples/docker-production.md +100 -93
  560. package/docs/examples/multi-site-setup.md +5 -4
  561. package/docs/examples/single-site-setup.md +3 -4
  562. package/docs/examples/use-case-workflows.md +4 -5
  563. package/docs/integrations/claude-desktop.md +39 -34
  564. package/docs/integrations/cline.md +4 -4
  565. package/docs/integrations/vs-code.md +9 -8
  566. package/docs/user-guides/DXT_INSTALLATION.md +2 -1
  567. package/docs/user-guides/SMITHERY_SETUP.md +10 -10
  568. package/package.json +57 -39
  569. package/src/cache/CacheInvalidation.ts +12 -5
  570. package/src/cache/CacheManager.ts +18 -15
  571. package/src/cache/HttpCacheWrapper.ts +30 -59
  572. package/src/cache/__tests__/HttpCacheWrapper.test.ts +6 -5
  573. package/src/cache/index.ts +3 -14
  574. package/src/client/CachedWordPressClient.ts +32 -30
  575. package/src/client/MockWordPressClient.ts +4 -2
  576. package/src/client/api.ts +186 -64
  577. package/src/client/auth.ts +15 -40
  578. package/src/client/managers/AuthenticationManager.ts +337 -77
  579. package/src/client/managers/BaseManager.ts +18 -30
  580. package/src/client/managers/RequestManager.ts +39 -44
  581. package/src/config/Config.ts +308 -0
  582. package/src/config/ConfigurationSchema.ts +23 -2
  583. package/src/config/ServerConfiguration.ts +73 -49
  584. package/src/docs/DocumentationGenerator.ts +50 -39
  585. package/src/docs/MarkdownFormatter.ts +19 -29
  586. package/src/dxt-entry.cjs +26 -16
  587. package/src/dxt-entry.ts +17 -27
  588. package/src/index.ts +42 -28
  589. package/src/performance/MetricsCollector.ts +108 -86
  590. package/src/performance/PerformanceAnalytics.ts +69 -164
  591. package/src/performance/PerformanceMonitor.ts +32 -47
  592. package/src/performance/index.ts +2 -10
  593. package/src/security/AISecurityScanner.ts +22 -12
  594. package/src/security/AutomatedRemediation.ts +49 -18
  595. package/src/security/InputValidator.ts +9 -6
  596. package/src/security/SecurityCIPipeline.ts +53 -37
  597. package/src/security/SecurityConfig.ts +22 -22
  598. package/src/security/SecurityConfigManager.ts +23 -19
  599. package/src/security/SecurityMonitoring.ts +24 -21
  600. package/src/security/SecurityReviewer.ts +10 -7
  601. package/src/security/index.ts +64 -29
  602. package/src/server/ConnectionTester.ts +120 -31
  603. package/src/server/ToolRegistry.ts +31 -21
  604. package/src/tools/BaseToolManager.ts +286 -33
  605. package/src/tools/auth.ts +20 -8
  606. package/src/tools/cache.ts +5 -15
  607. package/src/tools/comments.ts +34 -48
  608. package/src/tools/media.ts +41 -53
  609. package/src/tools/pages.ts +32 -54
  610. package/src/tools/performance.ts +141 -176
  611. package/src/tools/posts/PostHandlers.ts +474 -0
  612. package/src/tools/posts/PostToolDefinitions.ts +250 -0
  613. package/src/tools/posts/index.ts +192 -0
  614. package/src/tools/posts.ts +24 -780
  615. package/src/tools/site.ts +34 -19
  616. package/src/tools/taxonomies.ts +41 -57
  617. package/src/tools/users.ts +28 -16
  618. package/src/types/client.ts +114 -138
  619. package/src/types/enhanced.ts +318 -0
  620. package/src/types/index.ts +51 -30
  621. package/src/types/mcp.ts +20 -42
  622. package/src/types/requests.ts +378 -0
  623. package/src/types/tools.ts +608 -0
  624. package/src/types/wordpress.ts +56 -34
  625. package/src/utils/debug.ts +77 -59
  626. package/src/utils/enhancedError.ts +8 -8
  627. package/src/utils/error.ts +53 -31
  628. package/src/utils/logger.ts +351 -0
  629. package/src/utils/streaming.ts +86 -68
  630. package/src/utils/toolWrapper.ts +10 -12
  631. package/src/utils/validation/core.ts +108 -0
  632. package/src/utils/validation/index.ts +36 -0
  633. package/src/utils/validation/network.ts +132 -0
  634. package/src/utils/validation/rateLimit.ts +54 -0
  635. package/src/utils/validation/security.ts +361 -0
  636. package/src/utils/validation/wordpress.ts +180 -0
  637. package/src/utils/validation.ts +47 -470
  638. package/dist/cache/__tests__/CacheInvalidation.test.d.ts +0 -5
  639. package/dist/cache/__tests__/CacheInvalidation.test.d.ts.map +0 -1
  640. package/dist/cache/__tests__/CacheInvalidation.test.js +0 -238
  641. package/dist/cache/__tests__/CacheInvalidation.test.js.map +0 -1
  642. package/dist/cache/__tests__/CacheManager.test.d.ts +0 -5
  643. package/dist/cache/__tests__/CacheManager.test.d.ts.map +0 -1
  644. package/dist/cache/__tests__/CacheManager.test.js +0 -233
  645. package/dist/cache/__tests__/CacheManager.test.js.map +0 -1
  646. package/dist/cache/__tests__/CachedWordPressClient.test.d.ts +0 -5
  647. package/dist/cache/__tests__/CachedWordPressClient.test.d.ts.map +0 -1
  648. package/dist/cache/__tests__/CachedWordPressClient.test.js +0 -231
  649. package/dist/cache/__tests__/CachedWordPressClient.test.js.map +0 -1
  650. package/dist/cache/__tests__/HttpCacheWrapper.test.d.ts +0 -5
  651. package/dist/cache/__tests__/HttpCacheWrapper.test.d.ts.map +0 -1
  652. package/dist/cache/__tests__/HttpCacheWrapper.test.js +0 -299
  653. package/dist/cache/__tests__/HttpCacheWrapper.test.js.map +0 -1
@@ -66,7 +66,7 @@ CMD ["node", "dist/index.js"]
66
66
 
67
67
  ```yaml
68
68
  # docker-compose.prod.yml
69
- version: '3.8'
69
+ version: "3.8"
70
70
 
71
71
  services:
72
72
  mcp-wordpress:
@@ -96,13 +96,20 @@ services:
96
96
  deploy:
97
97
  resources:
98
98
  limits:
99
- cpus: '0.5'
99
+ cpus: "0.5"
100
100
  memory: 512M
101
101
  reservations:
102
- cpus: '0.25'
102
+ cpus: "0.25"
103
103
  memory: 256M
104
104
  healthcheck:
105
- test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"]
105
+ test:
106
+ [
107
+ "CMD",
108
+ "node",
109
+ "-e",
110
+ "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1)
111
+ })",
112
+ ]
106
113
  interval: 30s
107
114
  timeout: 10s
108
115
  retries: 3
@@ -168,7 +175,7 @@ CONNECTION_TIMEOUT=10000
168
175
 
169
176
  ```yaml
170
177
  # docker-compose.loadbalanced.yml
171
- version: '3.8'
178
+ version: "3.8"
172
179
 
173
180
  services:
174
181
  nginx:
@@ -263,7 +270,7 @@ http {
263
270
  upstream mcp-backend {
264
271
  server mcp-wordpress-1:3000;
265
272
  server mcp-wordpress-2:3000;
266
-
273
+
267
274
  # Health checks
268
275
  keepalive 32;
269
276
  }
@@ -274,7 +281,7 @@ http {
274
281
  server {
275
282
  listen 80;
276
283
  server_name your-domain.com;
277
-
284
+
278
285
  # Redirect to HTTPS
279
286
  return 301 https://$server_name$request_uri;
280
287
  }
@@ -304,7 +311,7 @@ http {
304
311
  proxy_set_header X-Real-IP $remote_addr;
305
312
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
306
313
  proxy_set_header X-Forwarded-Proto $scheme;
307
-
314
+
308
315
  # Timeouts
309
316
  proxy_connect_timeout 5s;
310
317
  proxy_send_timeout 60s;
@@ -325,7 +332,7 @@ http {
325
332
 
326
333
  ```yaml
327
334
  # docker-compose.multisite.yml
328
- version: '3.8'
335
+ version: "3.8"
329
336
 
330
337
  services:
331
338
  mcp-wordpress:
@@ -348,10 +355,10 @@ services:
348
355
  deploy:
349
356
  resources:
350
357
  limits:
351
- cpus: '1.0'
358
+ cpus: "1.0"
352
359
  memory: 1G
353
360
  reservations:
354
- cpus: '0.5'
361
+ cpus: "0.5"
355
362
  memory: 512M
356
363
 
357
364
  networks:
@@ -470,44 +477,44 @@ spec:
470
477
  app: mcp-wordpress
471
478
  spec:
472
479
  containers:
473
- - name: mcp-wordpress
474
- image: docdyhr/mcp-wordpress:latest
475
- ports:
476
- - containerPort: 3000
477
- envFrom:
478
- - configMapRef:
479
- name: mcp-wordpress-config
480
- - secretRef:
481
- name: mcp-wordpress-secret
482
- resources:
483
- requests:
484
- memory: "256Mi"
485
- cpu: "250m"
486
- limits:
487
- memory: "512Mi"
488
- cpu: "500m"
489
- livenessProbe:
490
- httpGet:
491
- path: /health
492
- port: 3000
493
- initialDelaySeconds: 30
494
- periodSeconds: 10
495
- readinessProbe:
496
- httpGet:
497
- path: /health
498
- port: 3000
499
- initialDelaySeconds: 5
500
- periodSeconds: 5
501
- volumeMounts:
480
+ - name: mcp-wordpress
481
+ image: docdyhr/mcp-wordpress:latest
482
+ ports:
483
+ - containerPort: 3000
484
+ envFrom:
485
+ - configMapRef:
486
+ name: mcp-wordpress-config
487
+ - secretRef:
488
+ name: mcp-wordpress-secret
489
+ resources:
490
+ requests:
491
+ memory: "256Mi"
492
+ cpu: "250m"
493
+ limits:
494
+ memory: "512Mi"
495
+ cpu: "500m"
496
+ livenessProbe:
497
+ httpGet:
498
+ path: /health
499
+ port: 3000
500
+ initialDelaySeconds: 30
501
+ periodSeconds: 10
502
+ readinessProbe:
503
+ httpGet:
504
+ path: /health
505
+ port: 3000
506
+ initialDelaySeconds: 5
507
+ periodSeconds: 5
508
+ volumeMounts:
509
+ - name: cache-volume
510
+ mountPath: /app/cache
511
+ - name: logs-volume
512
+ mountPath: /app/logs
513
+ volumes:
502
514
  - name: cache-volume
503
- mountPath: /app/cache
515
+ emptyDir: {}
504
516
  - name: logs-volume
505
- mountPath: /app/logs
506
- volumes:
507
- - name: cache-volume
508
- emptyDir: {}
509
- - name: logs-volume
510
- emptyDir: {}
517
+ emptyDir: {}
511
518
  ```
512
519
 
513
520
  **Service**
@@ -523,9 +530,9 @@ spec:
523
530
  selector:
524
531
  app: mcp-wordpress
525
532
  ports:
526
- - protocol: TCP
527
- port: 80
528
- targetPort: 3000
533
+ - protocol: TCP
534
+ port: 80
535
+ targetPort: 3000
529
536
  type: ClusterIP
530
537
  ```
531
538
 
@@ -544,20 +551,20 @@ metadata:
544
551
  nginx.ingress.kubernetes.io/rate-limit: "10"
545
552
  spec:
546
553
  tls:
547
- - hosts:
548
- - api.company.com
549
- secretName: mcp-wordpress-tls
554
+ - hosts:
555
+ - api.company.com
556
+ secretName: mcp-wordpress-tls
550
557
  rules:
551
- - host: api.company.com
552
- http:
553
- paths:
554
- - path: /
555
- pathType: Prefix
556
- backend:
557
- service:
558
- name: mcp-wordpress-service
559
- port:
560
- number: 80
558
+ - host: api.company.com
559
+ http:
560
+ paths:
561
+ - path: /
562
+ pathType: Prefix
563
+ backend:
564
+ service:
565
+ name: mcp-wordpress-service
566
+ port:
567
+ number: 80
561
568
  ```
562
569
 
563
570
  ## Monitoring and Logging
@@ -570,9 +577,9 @@ global:
570
577
  scrape_interval: 15s
571
578
 
572
579
  scrape_configs:
573
- - job_name: 'mcp-wordpress'
580
+ - job_name: "mcp-wordpress"
574
581
  static_configs:
575
- - targets: ['mcp-wordpress:3000']
582
+ - targets: ["mcp-wordpress:3000"]
576
583
  metrics_path: /metrics
577
584
  scrape_interval: 30s
578
585
  ```
@@ -581,7 +588,7 @@ scrape_configs:
581
588
 
582
589
  ```yaml
583
590
  # docker-compose.monitoring.yml
584
- version: '3.8'
591
+ version: "3.8"
585
592
 
586
593
  services:
587
594
  mcp-wordpress:
@@ -632,12 +639,12 @@ volumes:
632
639
  ```yaml
633
640
  # filebeat.yml
634
641
  filebeat.inputs:
635
- - type: log
636
- enabled: true
637
- paths:
638
- - /app/logs/*.log
639
- json.keys_under_root: true
640
- json.add_error_key: true
642
+ - type: log
643
+ enabled: true
644
+ paths:
645
+ - /app/logs/*.log
646
+ json.keys_under_root: true
647
+ json.add_error_key: true
641
648
 
642
649
  output.elasticsearch:
643
650
  hosts: ["elasticsearch:9200"]
@@ -773,29 +780,29 @@ spec:
773
780
  runAsGroup: 1001
774
781
  fsGroup: 1001
775
782
  containers:
776
- - name: mcp-wordpress
777
- image: docdyhr/mcp-wordpress:latest
778
- securityContext:
779
- allowPrivilegeEscalation: false
780
- readOnlyRootFilesystem: true
781
- capabilities:
782
- drop:
783
- - ALL
784
- volumeMounts:
783
+ - name: mcp-wordpress
784
+ image: docdyhr/mcp-wordpress:latest
785
+ securityContext:
786
+ allowPrivilegeEscalation: false
787
+ readOnlyRootFilesystem: true
788
+ capabilities:
789
+ drop:
790
+ - ALL
791
+ volumeMounts:
792
+ - name: tmp-volume
793
+ mountPath: /tmp
794
+ - name: cache-volume
795
+ mountPath: /app/cache
796
+ - name: logs-volume
797
+ mountPath: /app/logs
798
+ volumes:
785
799
  - name: tmp-volume
786
- mountPath: /tmp
800
+ emptyDir: {}
787
801
  - name: cache-volume
788
- mountPath: /app/cache
802
+ emptyDir: {}
789
803
  - name: logs-volume
790
- mountPath: /app/logs
791
- volumes:
792
- - name: tmp-volume
793
- emptyDir: {}
794
- - name: cache-volume
795
- emptyDir: {}
796
- - name: logs-volume
797
- emptyDir: {}
804
+ emptyDir: {}
798
805
  ```
799
806
 
800
- This comprehensive Docker production setup provides scalable, secure, and monitored
801
- deployment options for MCP WordPress in production environments.
807
+ This comprehensive Docker production setup provides scalable, secure, and monitored deployment options for MCP WordPress
808
+ in production environments.
@@ -1,6 +1,7 @@
1
1
  # Multi-Site Configuration Examples
2
2
 
3
- This guide provides comprehensive examples for managing multiple WordPress sites with a single MCP WordPress server instance.
3
+ This guide provides comprehensive examples for managing multiple WordPress sites with a single MCP WordPress server
4
+ instance.
4
5
 
5
6
  ## Basic Multi-Site Configuration
6
7
 
@@ -407,7 +408,7 @@ npx mcp-wordpress --list-sites
407
408
  npx mcp-wordpress --test-site="main-site"
408
409
 
409
410
  # Use specific site in Claude
410
- "List all posts from the blog site"
411
+ "List all posts from the blog site"
411
412
  # Uses: wp_list_posts --site="blog"
412
413
 
413
414
  "Create a new user on the main-site"
@@ -571,5 +572,5 @@ done
571
572
  echo "✅ Multi-site configuration validated"
572
573
  ```
573
574
 
574
- This comprehensive multi-site setup allows you to manage unlimited WordPress sites
575
- efficiently through a single Claude Desktop configuration.
575
+ This comprehensive multi-site setup allows you to manage unlimited WordPress sites efficiently through a single Claude
576
+ Desktop configuration.
@@ -292,7 +292,7 @@ define('JWT_AUTH_CORS_ENABLE', true);
292
292
 
293
293
  ```yaml
294
294
  # docker-compose.yml
295
- version: '3.8'
295
+ version: "3.8"
296
296
  services:
297
297
  wordpress:
298
298
  image: wordpress:latest
@@ -365,9 +365,8 @@ curl -u username:password http://localhost:8080/wp-json/wp/v2/users/me
365
365
 
366
366
  ### Configuration File Location
367
367
 
368
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
369
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
370
- **Linux**: `~/.config/Claude/claude_desktop_config.json`
368
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` **Windows**:
369
+ `%APPDATA%\Claude\claude_desktop_config.json` **Linux**: `~/.config/Claude/claude_desktop_config.json`
371
370
 
372
371
  ### Common Fixes
373
372
 
@@ -21,7 +21,7 @@ Comprehensive examples of how different types of users can leverage MCP WordPres
21
21
  ```text
22
22
  💬 "Create a comprehensive blog post about 'Remote Work Productivity Tips' with:
23
23
  - 2000+ words
24
- - SEO-optimized title and meta description
24
+ - SEO-optimized title and meta description
25
25
  - Proper heading structure (H1, H2, H3)
26
26
  - Focus keyword: 'remote work productivity'
27
27
  - Include call-to-action for newsletter signup"
@@ -160,7 +160,7 @@ Comprehensive examples of how different types of users can leverage MCP WordPres
160
160
  ```text
161
161
  💬 "Create editorial calendar for next week with:
162
162
  - 5 main news articles
163
- - 2 opinion pieces
163
+ - 2 opinion pieces
164
164
  - 3 feature stories
165
165
  - Daily news roundups"
166
166
 
@@ -464,6 +464,5 @@ Comprehensive examples of how different types of users can leverage MCP WordPres
464
464
  💬 "Generate automated monthly performance reports for stakeholders"
465
465
  ```
466
466
 
467
- These workflows demonstrate how MCP WordPress can streamline complex business processes
468
- across different industries and use cases, making WordPress management more efficient
469
- and effective through natural language interactions.
467
+ These workflows demonstrate how MCP WordPress can streamline complex business processes across different industries and
468
+ use cases, making WordPress management more efficient and effective through natural language interactions.
@@ -4,18 +4,18 @@ Complete guide for integrating MCP WordPress Server with Claude Desktop using th
4
4
 
5
5
  ## 🎯 Overview
6
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.
7
+ The WordPress MCP DXT extension provides the **easiest way** to integrate WordPress management with Claude Desktop. No
8
+ command line, no configuration files - just click and configure.
9
9
 
10
10
  ### Why Choose DXT Extension?
11
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 |
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
19
 
20
20
  ## 🚀 Quick Installation
21
21
 
@@ -23,12 +23,15 @@ Desktop. No command line, no configuration files - just click and configure.
23
23
 
24
24
  **Option A: Direct Download**
25
25
 
26
- - Click here: [`mcp-wordpress.dxt`](https://github.com/docdyhr/mcp-wordpress/raw/main/mcp-wordpress.dxt) (2.6MB)
26
+ - Click here:
27
+ [`mcp-wordpress.dxt`](https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt)
28
+ (3.4MB)
27
29
 
28
30
  **Option B: Command Line**
29
31
 
30
32
  ```bash
31
- curl -L -o mcp-wordpress.dxt https://github.com/docdyhr/mcp-wordpress/raw/main/mcp-wordpress.dxt
33
+ curl -L -o mcp-wordpress.dxt \
34
+ https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt
32
35
  ```
33
36
 
34
37
  ### Step 2: Install in Claude Desktop
@@ -89,13 +92,13 @@ curl -L -o mcp-wordpress.dxt https://github.com/docdyhr/mcp-wordpress/raw/main/m
89
92
 
90
93
  The DXT extension provides these configuration options:
91
94
 
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` |
95
+ | Field | Required | Description | Example |
96
+ | ---------------------------------- | -------- | ----------------------------------- | ------------------------------- |
97
+ | **WordPress Site URL** | Yes | Full URL to your WordPress site | `https://mysite.com` |
98
+ | **WordPress Username** | Yes | Your WordPress username | `admin` |
99
+ | **WordPress Application Password** | Yes | Generated app password | `AbCd EfGh IjKl MnOp QrSt UvWx` |
100
+ | **Authentication Method** | No | Auth method (default: app-password) | `app-password` |
101
+ | **Debug Mode** | No | Enable verbose logging | `false` |
99
102
 
100
103
  ### Advanced Configuration
101
104
 
@@ -114,8 +117,7 @@ For advanced users, the DXT extension supports:
114
117
  - Close and reopen Claude Desktop after configuration
115
118
  - This ensures the extension loads properly
116
119
 
117
- 2. **Test with Simple Command**
118
- Try typing in Claude:
120
+ 2. **Test with Simple Command** Try typing in Claude:
119
121
 
120
122
  ```text
121
123
  "List my recent WordPress posts"
@@ -202,7 +204,8 @@ For advanced users, the DXT extension supports:
202
204
  ls -la mcp-wordpress.dxt
203
205
 
204
206
  # 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
207
+ curl -L -o mcp-wordpress.dxt \
208
+ https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt
206
209
 
207
210
  # Reinstall extension
208
211
  # Remove from Claude Desktop and reinstall
@@ -252,13 +255,13 @@ curl -L -o mcp-wordpress.dxt https://github.com/docdyhr/mcp-wordpress/raw/main/m
252
255
 
253
256
  2. **WordPress User Role Requirements**
254
257
 
255
- | Tool Category | Minimum Role |
256
- |---------------|--------------|
257
- | **Read Operations** | Subscriber |
258
- | **Posts/Pages** | Author |
259
- | **Media** | Author |
260
- | **Users** | Editor |
261
- | **Site Settings** | Administrator |
258
+ | Tool Category | Minimum Role |
259
+ | ------------------- | ------------- |
260
+ | **Read Operations** | Subscriber |
261
+ | **Posts/Pages** | Author |
262
+ | **Media** | Author |
263
+ | **Users** | Editor |
264
+ | **Site Settings** | Administrator |
262
265
 
263
266
  #### 4. Performance Issues
264
267
 
@@ -316,10 +319,10 @@ To manually update:
316
319
  ### Version Compatibility
317
320
 
318
321
  | 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+ |
322
+ | ----------- | -------------- | --------- |
323
+ | **v1.5.3+** | Latest | 5.0+ |
324
+ | **v1.4.x** | 0.8+ | 5.0+ |
325
+ | **v1.3.x** | 0.7+ | 5.0+ |
323
326
 
324
327
  ## 🆚 DXT vs Alternative Methods
325
328
 
@@ -422,5 +425,7 @@ When reporting DXT-related issues, include:
422
425
 
423
426
  ---
424
427
 
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!
428
+ **Ready to get started?**
429
+ [Download the DXT extension](https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt)
430
+ and transform your
431
+ WordPress management experience!
@@ -13,8 +13,8 @@
13
13
 
14
14
  ## Overview
15
15
 
16
- [Cline](https://github.com/cline/cline) is a powerful VS Code extension that brings AI assistance directly to your editor.
17
- With MCP server support, Cline can interact with your WordPress sites through natural language commands.
16
+ [Cline](https://github.com/cline/cline) is a powerful VS Code extension that brings AI assistance directly to your
17
+ editor. With MCP server support, Cline can interact with your WordPress sites through natural language commands.
18
18
 
19
19
  ### Benefits
20
20
 
@@ -532,6 +532,6 @@ Solution:
532
532
 
533
533
  ---
534
534
 
535
- *This guide is regularly updated. Last updated: 2024-01-15*
535
+ _This guide is regularly updated. Last updated: 2024-01-15_
536
536
 
537
- *For Cline-specific questions, visit the [Cline GitHub repository](https://github.com/cline/cline)*
537
+ _For Cline-specific questions, visit the [Cline GitHub repository](https://github.com/cline/cline)_
@@ -14,8 +14,8 @@
14
14
 
15
15
  ### Overview
16
16
 
17
- [Cline](https://github.com/cline/cline) is a VS Code extension that brings AI assistance directly to your editor.
18
- It supports MCP servers for extended functionality.
17
+ [Cline](https://github.com/cline/cline) is a VS Code extension that brings AI assistance directly to your editor. It
18
+ supports MCP servers for extended functionality.
19
19
 
20
20
  ### Installation
21
21
 
@@ -180,10 +180,10 @@ GitHub Copilot can work with MCP servers through workspace configuration and cus
180
180
  // Copilot will suggest WordPress-aware code
181
181
  const createPost = async (title: string, content: string) => {
182
182
  // @copilot: Use WordPress MCP server to create post
183
- const result = await mcpClient.call('wp_create_post', {
183
+ const result = await mcpClient.call("wp_create_post", {
184
184
  title,
185
185
  content,
186
- status: 'publish'
186
+ status: "publish",
187
187
  });
188
188
  return result;
189
189
  };
@@ -193,11 +193,11 @@ const createPost = async (title: string, content: string) => {
193
193
 
194
194
  ```typescript
195
195
  // @copilot: Generate WordPress content management script
196
- import { WordPressMCP } from 'mcp-wordpress';
196
+ import { WordPressMCP } from "mcp-wordpress";
197
197
 
198
198
  const managePosts = async () => {
199
199
  // Copilot will suggest WordPress-specific operations
200
- const posts = await wordpress.listPosts({ status: 'draft' });
200
+ const posts = await wordpress.listPosts({ status: "draft" });
201
201
  // Process draft posts...
202
202
  };
203
203
  ```
@@ -510,6 +510,7 @@ npx mcp-wordpress wp_test_auth
510
510
 
511
511
  ---
512
512
 
513
- *This guide is regularly updated. Last updated: 2024-01-15*
513
+ _This guide is regularly updated. Last updated: 2024-01-15_
514
514
 
515
- *For VS Code integration questions, visit our [GitHub Discussions](https://github.com/docdyhr/mcp-wordpress/discussions)*
515
+ _For VS Code integration questions, visit our
516
+ [GitHub Discussions](https://github.com/docdyhr/mcp-wordpress/discussions)_
@@ -14,7 +14,8 @@ This guide walks you through installing the WordPress MCP Server as a Claude Des
14
14
 
15
15
  **Option A: Download Pre-built Package**
16
16
 
17
- - Download `mcp-wordpress.dxt` from the releases page
17
+ - Download [`mcp-wordpress.dxt`](https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt)
18
+ from the releases page
18
19
  - Skip to step 2
19
20
 
20
21
  **Option B: Build from Source**
@@ -4,18 +4,18 @@ Complete guide for installing and configuring MCP WordPress Server using Smither
4
4
 
5
5
  ## 🎯 What is Smithery?
6
6
 
7
- Smithery is a dedicated package manager for Model Context Protocol (MCP) servers, designed to simplify the
8
- installation, configuration, and management of MCP tools.
7
+ Smithery is a dedicated package manager for Model Context Protocol (MCP) servers, designed to simplify the installation,
8
+ configuration, and management of MCP tools.
9
9
 
10
10
  ### Why Choose Smithery?
11
11
 
12
- | Feature | Smithery | Manual Setup |
13
- |---------|----------|--------------|
14
- | **Installation** | One command | Multiple steps |
15
- | **Updates** | Automatic | Manual process |
16
- | **Configuration** | GUI wizard | Config file editing |
17
- | **Claude Integration** | Automatic | Manual config |
18
- | **Package Management** | Built-in | Manual tracking |
12
+ | Feature | Smithery | Manual Setup |
13
+ | ---------------------- | ----------- | ------------------- |
14
+ | **Installation** | One command | Multiple steps |
15
+ | **Updates** | Automatic | Manual process |
16
+ | **Configuration** | GUI wizard | Config file editing |
17
+ | **Claude Integration** | Automatic | Manual config |
18
+ | **Package Management** | Built-in | Manual tracking |
19
19
 
20
20
  ## 📋 Prerequisites
21
21
 
@@ -363,7 +363,7 @@ smithery backup list
363
363
  ```bash
364
364
  # View security audit
365
365
  smithery audit mcp-wordpress
366
-
366
+
367
367
  # Update to security patches
368
368
  smithery update mcp-wordpress --security-only
369
369
  ```