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.
- package/README.md +124 -54
- package/bin/status.js +1 -1
- package/dist/cache/CacheInvalidation.d.ts +3 -1
- package/dist/cache/CacheInvalidation.d.ts.map +1 -1
- package/dist/cache/CacheInvalidation.js +10 -4
- package/dist/cache/CacheInvalidation.js.map +1 -1
- package/dist/cache/CacheManager.d.ts +3 -2
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.js +11 -3
- package/dist/cache/CacheManager.js.map +1 -1
- package/dist/cache/HttpCacheWrapper.d.ts +7 -6
- package/dist/cache/HttpCacheWrapper.d.ts.map +1 -1
- package/dist/cache/HttpCacheWrapper.js +8 -5
- package/dist/cache/HttpCacheWrapper.js.map +1 -1
- package/dist/cache/index.d.ts +3 -3
- package/dist/cache/index.d.ts.map +1 -1
- package/dist/cache/index.js +1 -1
- package/dist/cache/index.js.map +1 -1
- package/dist/client/CachedWordPressClient.d.ts +23 -9
- package/dist/client/CachedWordPressClient.d.ts.map +1 -1
- package/dist/client/CachedWordPressClient.js +4 -1
- package/dist/client/CachedWordPressClient.js.map +1 -1
- package/dist/client/MockWordPressClient.d.ts +2 -1
- package/dist/client/MockWordPressClient.d.ts.map +1 -1
- package/dist/client/MockWordPressClient.js +3 -1
- package/dist/client/MockWordPressClient.js.map +1 -1
- package/dist/client/api.d.ts +17 -13
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js +135 -30
- package/dist/client/api.js.map +1 -1
- package/dist/client/auth.d.ts.map +1 -1
- package/dist/client/auth.js +2 -3
- package/dist/client/auth.js.map +1 -1
- package/dist/client/managers/AuthenticationManager.d.ts +55 -2
- package/dist/client/managers/AuthenticationManager.d.ts.map +1 -1
- package/dist/client/managers/AuthenticationManager.js +269 -71
- package/dist/client/managers/AuthenticationManager.js.map +1 -1
- package/dist/client/managers/BaseManager.d.ts +3 -3
- package/dist/client/managers/BaseManager.d.ts.map +1 -1
- package/dist/client/managers/BaseManager.js +11 -5
- package/dist/client/managers/BaseManager.js.map +1 -1
- package/dist/client/managers/RequestManager.d.ts +2 -2
- package/dist/client/managers/RequestManager.d.ts.map +1 -1
- package/dist/client/managers/RequestManager.js +25 -12
- package/dist/client/managers/RequestManager.js.map +1 -1
- package/dist/config/Config.d.ts +155 -0
- package/dist/config/Config.d.ts.map +1 -0
- package/dist/config/Config.js +215 -0
- package/dist/config/Config.js.map +1 -0
- package/dist/config/ConfigurationSchema.d.ts +21 -21
- package/dist/config/ConfigurationSchema.d.ts.map +1 -1
- package/dist/config/ConfigurationSchema.js +19 -2
- package/dist/config/ConfigurationSchema.js.map +1 -1
- package/dist/config/ServerConfiguration.d.ts +2 -1
- package/dist/config/ServerConfiguration.d.ts.map +1 -1
- package/dist/config/ServerConfiguration.js +73 -43
- package/dist/config/ServerConfiguration.js.map +1 -1
- package/dist/docs/DocumentationGenerator.d.ts +9 -8
- package/dist/docs/DocumentationGenerator.d.ts.map +1 -1
- package/dist/docs/DocumentationGenerator.js +10 -7
- package/dist/docs/DocumentationGenerator.js.map +1 -1
- package/dist/docs/MarkdownFormatter.d.ts.map +1 -1
- package/dist/docs/MarkdownFormatter.js +3 -2
- package/dist/docs/MarkdownFormatter.js.map +1 -1
- package/dist/dxt-entry.js +15 -14
- package/dist/dxt-entry.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -21
- package/dist/index.js.map +1 -1
- package/dist/performance/MetricsCollector.d.ts +13 -7
- package/dist/performance/MetricsCollector.d.ts.map +1 -1
- package/dist/performance/MetricsCollector.js +69 -27
- package/dist/performance/MetricsCollector.js.map +1 -1
- package/dist/performance/PerformanceAnalytics.d.ts +8 -2
- package/dist/performance/PerformanceAnalytics.d.ts.map +1 -1
- package/dist/performance/PerformanceAnalytics.js +17 -47
- package/dist/performance/PerformanceAnalytics.js.map +1 -1
- package/dist/performance/PerformanceMonitor.d.ts +2 -1
- package/dist/performance/PerformanceMonitor.d.ts.map +1 -1
- package/dist/performance/PerformanceMonitor.js +12 -13
- package/dist/performance/PerformanceMonitor.js.map +1 -1
- package/dist/performance/index.d.ts +2 -2
- package/dist/performance/index.d.ts.map +1 -1
- package/dist/security/AISecurityScanner.d.ts +1 -0
- package/dist/security/AISecurityScanner.d.ts.map +1 -1
- package/dist/security/AISecurityScanner.js +22 -12
- package/dist/security/AISecurityScanner.js.map +1 -1
- package/dist/security/AutomatedRemediation.d.ts +4 -3
- package/dist/security/AutomatedRemediation.d.ts.map +1 -1
- package/dist/security/AutomatedRemediation.js +46 -15
- package/dist/security/AutomatedRemediation.js.map +1 -1
- package/dist/security/InputValidator.d.ts +13 -9
- package/dist/security/InputValidator.d.ts.map +1 -1
- package/dist/security/InputValidator.js +4 -2
- package/dist/security/InputValidator.js.map +1 -1
- package/dist/security/SecurityCIPipeline.d.ts +1 -1
- package/dist/security/SecurityCIPipeline.d.ts.map +1 -1
- package/dist/security/SecurityCIPipeline.js +38 -29
- package/dist/security/SecurityCIPipeline.js.map +1 -1
- package/dist/security/SecurityConfig.d.ts +3 -3
- package/dist/security/SecurityConfig.d.ts.map +1 -1
- package/dist/security/SecurityConfig.js +13 -9
- package/dist/security/SecurityConfig.js.map +1 -1
- package/dist/security/SecurityConfigManager.d.ts +2 -2
- package/dist/security/SecurityConfigManager.d.ts.map +1 -1
- package/dist/security/SecurityConfigManager.js +20 -15
- package/dist/security/SecurityConfigManager.js.map +1 -1
- package/dist/security/SecurityMonitoring.d.ts +2 -2
- package/dist/security/SecurityMonitoring.d.ts.map +1 -1
- package/dist/security/SecurityMonitoring.js +19 -17
- package/dist/security/SecurityMonitoring.js.map +1 -1
- package/dist/security/SecurityReviewer.d.ts.map +1 -1
- package/dist/security/SecurityReviewer.js +10 -7
- package/dist/security/SecurityReviewer.js.map +1 -1
- package/dist/security/index.d.ts +24 -23
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/index.js +52 -23
- package/dist/security/index.js.map +1 -1
- package/dist/server/ConnectionTester.d.ts +12 -4
- package/dist/server/ConnectionTester.d.ts.map +1 -1
- package/dist/server/ConnectionTester.js +96 -22
- package/dist/server/ConnectionTester.js.map +1 -1
- package/dist/server/ToolRegistry.d.ts +2 -2
- package/dist/server/ToolRegistry.d.ts.map +1 -1
- package/dist/server/ToolRegistry.js +10 -5
- package/dist/server/ToolRegistry.js.map +1 -1
- package/dist/src/cache/CacheInvalidation.d.ts +120 -0
- package/dist/src/cache/CacheInvalidation.d.ts.map +1 -0
- package/dist/src/cache/CacheInvalidation.js +355 -0
- package/dist/src/cache/CacheInvalidation.js.map +1 -0
- package/dist/src/cache/CacheManager.d.ts +149 -0
- package/dist/src/cache/CacheManager.d.ts.map +1 -0
- package/dist/src/cache/CacheManager.js +326 -0
- package/dist/src/cache/CacheManager.js.map +1 -0
- package/dist/src/cache/HttpCacheWrapper.d.ts +122 -0
- package/dist/src/cache/HttpCacheWrapper.d.ts.map +1 -0
- package/dist/src/cache/HttpCacheWrapper.js +283 -0
- package/dist/src/cache/HttpCacheWrapper.js.map +1 -0
- package/dist/src/cache/index.d.ts +12 -0
- package/dist/src/cache/index.d.ts.map +1 -0
- package/dist/src/cache/index.js +9 -0
- package/dist/src/cache/index.js.map +1 -0
- package/dist/src/client/CachedWordPressClient.d.ts +174 -0
- package/dist/src/client/CachedWordPressClient.d.ts.map +1 -0
- package/dist/src/client/CachedWordPressClient.js +345 -0
- package/dist/src/client/CachedWordPressClient.js.map +1 -0
- package/dist/src/client/MockWordPressClient.d.ts +56 -0
- package/dist/src/client/MockWordPressClient.d.ts.map +1 -0
- package/dist/src/client/MockWordPressClient.js +371 -0
- package/dist/src/client/MockWordPressClient.js.map +1 -0
- package/dist/src/client/api.d.ts +235 -0
- package/dist/src/client/api.d.ts.map +1 -0
- package/dist/src/client/api.js +896 -0
- package/dist/src/client/api.js.map +1 -0
- package/dist/src/client/auth.d.ts +121 -0
- package/dist/src/client/auth.d.ts.map +1 -0
- package/dist/src/client/auth.js +429 -0
- package/dist/src/client/auth.js.map +1 -0
- package/dist/src/client/managers/AuthenticationManager.d.ts +92 -0
- package/dist/src/client/managers/AuthenticationManager.d.ts.map +1 -0
- package/dist/src/client/managers/AuthenticationManager.js +369 -0
- package/dist/src/client/managers/AuthenticationManager.js.map +1 -0
- package/dist/src/client/managers/BaseManager.d.ts +22 -0
- package/dist/src/client/managers/BaseManager.d.ts.map +1 -0
- package/dist/src/client/managers/BaseManager.js +53 -0
- package/dist/src/client/managers/BaseManager.js.map +1 -0
- package/dist/src/client/managers/RequestManager.d.ts +47 -0
- package/dist/src/client/managers/RequestManager.d.ts.map +1 -0
- package/dist/src/client/managers/RequestManager.js +193 -0
- package/dist/src/client/managers/RequestManager.js.map +1 -0
- package/dist/src/client/managers/index.d.ts +8 -0
- package/dist/src/client/managers/index.d.ts.map +1 -0
- package/dist/src/client/managers/index.js +8 -0
- package/dist/src/client/managers/index.js.map +1 -0
- package/dist/src/config/Config.d.ts +155 -0
- package/dist/src/config/Config.d.ts.map +1 -0
- package/dist/src/config/Config.js +215 -0
- package/dist/src/config/Config.js.map +1 -0
- package/dist/src/config/ConfigurationSchema.d.ts +281 -0
- package/dist/src/config/ConfigurationSchema.d.ts.map +1 -0
- package/dist/src/config/ConfigurationSchema.js +205 -0
- package/dist/src/config/ConfigurationSchema.js.map +1 -0
- package/dist/src/config/ServerConfiguration.d.ts +47 -0
- package/dist/src/config/ServerConfiguration.d.ts.map +1 -0
- package/dist/src/config/ServerConfiguration.js +255 -0
- package/dist/src/config/ServerConfiguration.js.map +1 -0
- package/dist/src/docs/DocumentationGenerator.d.ts +185 -0
- package/dist/src/docs/DocumentationGenerator.d.ts.map +1 -0
- package/dist/src/docs/DocumentationGenerator.js +777 -0
- package/dist/src/docs/DocumentationGenerator.js.map +1 -0
- package/dist/src/docs/MarkdownFormatter.d.ts +84 -0
- package/dist/src/docs/MarkdownFormatter.d.ts.map +1 -0
- package/dist/src/docs/MarkdownFormatter.js +458 -0
- package/dist/src/docs/MarkdownFormatter.js.map +1 -0
- package/dist/src/docs/index.d.ts +8 -0
- package/dist/src/docs/index.d.ts.map +1 -0
- package/dist/src/docs/index.js +7 -0
- package/dist/src/docs/index.js.map +1 -0
- package/dist/src/dxt-entry.d.ts +6 -0
- package/dist/src/dxt-entry.d.ts.map +1 -0
- package/dist/src/dxt-entry.js +39 -0
- package/dist/src/dxt-entry.js.map +1 -0
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +143 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/performance/MetricsCollector.d.ts +145 -0
- package/dist/src/performance/MetricsCollector.d.ts.map +1 -0
- package/dist/src/performance/MetricsCollector.js +368 -0
- package/dist/src/performance/MetricsCollector.js.map +1 -0
- package/dist/src/performance/PerformanceAnalytics.d.ts +168 -0
- package/dist/src/performance/PerformanceAnalytics.d.ts.map +1 -0
- package/dist/src/performance/PerformanceAnalytics.js +570 -0
- package/dist/src/performance/PerformanceAnalytics.js.map +1 -0
- package/dist/src/performance/PerformanceMonitor.d.ts +203 -0
- package/dist/src/performance/PerformanceMonitor.d.ts.map +1 -0
- package/dist/src/performance/PerformanceMonitor.js +478 -0
- package/dist/src/performance/PerformanceMonitor.js.map +1 -0
- package/dist/src/performance/index.d.ts +11 -0
- package/dist/src/performance/index.d.ts.map +1 -0
- package/dist/src/performance/index.js +8 -0
- package/dist/src/performance/index.js.map +1 -0
- package/dist/src/security/AISecurityScanner.d.ts +176 -0
- package/dist/src/security/AISecurityScanner.d.ts.map +1 -0
- package/dist/src/security/AISecurityScanner.js +655 -0
- package/dist/src/security/AISecurityScanner.js.map +1 -0
- package/dist/src/security/AutomatedRemediation.d.ts +146 -0
- package/dist/src/security/AutomatedRemediation.d.ts.map +1 -0
- package/dist/src/security/AutomatedRemediation.js +566 -0
- package/dist/src/security/AutomatedRemediation.js.map +1 -0
- package/dist/src/security/InputValidator.d.ts +219 -0
- package/dist/src/security/InputValidator.d.ts.map +1 -0
- package/dist/src/security/InputValidator.js +295 -0
- package/dist/src/security/InputValidator.js.map +1 -0
- package/dist/src/security/SecurityCIPipeline.d.ts +213 -0
- package/dist/src/security/SecurityCIPipeline.d.ts.map +1 -0
- package/dist/src/security/SecurityCIPipeline.js +693 -0
- package/dist/src/security/SecurityCIPipeline.js.map +1 -0
- package/dist/src/security/SecurityConfig.d.ts +129 -0
- package/dist/src/security/SecurityConfig.d.ts.map +1 -0
- package/dist/src/security/SecurityConfig.js +266 -0
- package/dist/src/security/SecurityConfig.js.map +1 -0
- package/dist/src/security/SecurityConfigManager.d.ts +294 -0
- package/dist/src/security/SecurityConfigManager.d.ts.map +1 -0
- package/dist/src/security/SecurityConfigManager.js +558 -0
- package/dist/src/security/SecurityConfigManager.js.map +1 -0
- package/dist/src/security/SecurityMonitoring.d.ts +245 -0
- package/dist/src/security/SecurityMonitoring.d.ts.map +1 -0
- package/dist/src/security/SecurityMonitoring.js +598 -0
- package/dist/src/security/SecurityMonitoring.js.map +1 -0
- package/dist/src/security/SecurityReviewer.d.ts +168 -0
- package/dist/src/security/SecurityReviewer.d.ts.map +1 -0
- package/dist/src/security/SecurityReviewer.js +686 -0
- package/dist/src/security/SecurityReviewer.js.map +1 -0
- package/dist/src/security/index.d.ts +183 -0
- package/dist/src/security/index.d.ts.map +1 -0
- package/dist/src/security/index.js +218 -0
- package/dist/src/security/index.js.map +1 -0
- package/dist/src/server/ConnectionTester.d.ts +32 -0
- package/dist/src/server/ConnectionTester.d.ts.map +1 -0
- package/dist/src/server/ConnectionTester.js +135 -0
- package/dist/src/server/ConnectionTester.js.map +1 -0
- package/dist/src/server/ToolRegistry.d.ts +50 -0
- package/dist/src/server/ToolRegistry.d.ts.map +1 -0
- package/dist/src/server/ToolRegistry.js +219 -0
- package/dist/src/server/ToolRegistry.js.map +1 -0
- package/dist/src/server.d.ts +7 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/server.js +7 -0
- package/dist/src/server.js.map +1 -0
- package/dist/src/tools/BaseToolManager.d.ts +62 -0
- package/dist/src/tools/BaseToolManager.d.ts.map +1 -0
- package/dist/src/tools/BaseToolManager.js +195 -0
- package/dist/src/tools/BaseToolManager.js.map +1 -0
- package/dist/src/tools/auth.d.ts +50 -0
- package/dist/src/tools/auth.d.ts.map +1 -0
- package/dist/src/tools/auth.js +133 -0
- package/dist/src/tools/auth.js.map +1 -0
- package/dist/src/tools/cache.d.ts +260 -0
- package/dist/src/tools/cache.d.ts.map +1 -0
- package/dist/src/tools/cache.js +232 -0
- package/dist/src/tools/cache.js.map +1 -0
- package/dist/src/tools/comments.d.ts +33 -0
- package/dist/src/tools/comments.d.ts.map +1 -0
- package/dist/src/tools/comments.js +235 -0
- package/dist/src/tools/comments.js.map +1 -0
- package/dist/src/tools/index.d.ts +11 -0
- package/dist/src/tools/index.d.ts.map +1 -0
- package/dist/src/tools/index.js +11 -0
- package/dist/src/tools/index.js.map +1 -0
- package/dist/src/tools/media.d.ts +70 -0
- package/dist/src/tools/media.d.ts.map +1 -0
- package/dist/src/tools/media.js +248 -0
- package/dist/src/tools/media.js.map +1 -0
- package/dist/src/tools/pages.d.ts +32 -0
- package/dist/src/tools/pages.d.ts.map +1 -0
- package/dist/src/tools/pages.js +215 -0
- package/dist/src/tools/pages.js.map +1 -0
- package/dist/src/tools/performance.d.ts +73 -0
- package/dist/src/tools/performance.d.ts.map +1 -0
- package/dist/src/tools/performance.js +922 -0
- package/dist/src/tools/performance.js.map +1 -0
- package/dist/src/tools/posts/PostHandlers.d.ts +46 -0
- package/dist/src/tools/posts/PostHandlers.d.ts.map +1 -0
- package/dist/src/tools/posts/PostHandlers.js +400 -0
- package/dist/src/tools/posts/PostHandlers.js.map +1 -0
- package/dist/src/tools/posts/PostToolDefinitions.d.ts +37 -0
- package/dist/src/tools/posts/PostToolDefinitions.d.ts.map +1 -0
- package/dist/src/tools/posts/PostToolDefinitions.js +236 -0
- package/dist/src/tools/posts/PostToolDefinitions.js.map +1 -0
- package/dist/src/tools/posts/index.d.ts +138 -0
- package/dist/src/tools/posts/index.d.ts.map +1 -0
- package/dist/src/tools/posts/index.js +163 -0
- package/dist/src/tools/posts/index.js.map +1 -0
- package/dist/src/tools/posts.d.ts +15 -0
- package/dist/src/tools/posts.d.ts.map +1 -0
- package/dist/src/tools/posts.js +16 -0
- package/dist/src/tools/posts.js.map +1 -0
- package/dist/src/tools/site.d.ts +32 -0
- package/dist/src/tools/site.d.ts.map +1 -0
- package/dist/src/tools/site.js +234 -0
- package/dist/src/tools/site.js.map +1 -0
- package/dist/src/tools/taxonomies.d.ts +36 -0
- package/dist/src/tools/taxonomies.d.ts.map +1 -0
- package/dist/src/tools/taxonomies.js +286 -0
- package/dist/src/tools/taxonomies.js.map +1 -0
- package/dist/src/tools/users.d.ts +33 -0
- package/dist/src/tools/users.d.ts.map +1 -0
- package/dist/src/tools/users.js +308 -0
- package/dist/src/tools/users.js.map +1 -0
- package/dist/src/types/client.d.ts +223 -0
- package/dist/src/types/client.d.ts.map +1 -0
- package/dist/src/types/client.js +97 -0
- package/dist/src/types/client.js.map +1 -0
- package/dist/src/types/enhanced.d.ts +237 -0
- package/dist/src/types/enhanced.d.ts.map +1 -0
- package/dist/src/types/enhanced.js +49 -0
- package/dist/src/types/enhanced.js.map +1 -0
- package/dist/src/types/index.d.ts +160 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +14 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/types/mcp.d.ts +178 -0
- package/dist/src/types/mcp.d.ts.map +1 -0
- package/dist/src/types/mcp.js +7 -0
- package/dist/src/types/mcp.js.map +1 -0
- package/dist/src/types/requests.d.ts +322 -0
- package/dist/src/types/requests.d.ts.map +1 -0
- package/dist/src/types/requests.js +8 -0
- package/dist/src/types/requests.js.map +1 -0
- package/dist/src/types/tools.d.ts +506 -0
- package/dist/src/types/tools.d.ts.map +1 -0
- package/dist/src/types/tools.js +8 -0
- package/dist/src/types/tools.js.map +1 -0
- package/dist/src/types/wordpress.d.ts +471 -0
- package/dist/src/types/wordpress.d.ts.map +1 -0
- package/dist/src/types/wordpress.js +14 -0
- package/dist/src/types/wordpress.js.map +1 -0
- package/dist/src/utils/debug.d.ts +71 -0
- package/dist/src/utils/debug.d.ts.map +1 -0
- package/dist/src/utils/debug.js +235 -0
- package/dist/src/utils/debug.js.map +1 -0
- package/dist/src/utils/enhancedError.d.ts +61 -0
- package/dist/src/utils/enhancedError.d.ts.map +1 -0
- package/dist/src/utils/enhancedError.js +221 -0
- package/dist/src/utils/enhancedError.js.map +1 -0
- package/dist/src/utils/error.d.ts +17 -0
- package/dist/src/utils/error.d.ts.map +1 -0
- package/dist/src/utils/error.js +108 -0
- package/dist/src/utils/error.js.map +1 -0
- package/dist/src/utils/logger.d.ts +106 -0
- package/dist/src/utils/logger.d.ts.map +1 -0
- package/dist/src/utils/logger.js +280 -0
- package/dist/src/utils/logger.js.map +1 -0
- package/dist/src/utils/streaming.d.ts +104 -0
- package/dist/src/utils/streaming.d.ts.map +1 -0
- package/dist/src/utils/streaming.js +331 -0
- package/dist/src/utils/streaming.js.map +1 -0
- package/dist/src/utils/toolWrapper.d.ts +42 -0
- package/dist/src/utils/toolWrapper.d.ts.map +1 -0
- package/dist/src/utils/toolWrapper.js +101 -0
- package/dist/src/utils/toolWrapper.js.map +1 -0
- package/dist/src/utils/validation/core.d.ts +21 -0
- package/dist/src/utils/validation/core.d.ts.map +1 -0
- package/dist/src/utils/validation/core.js +71 -0
- package/dist/src/utils/validation/core.js.map +1 -0
- package/dist/src/utils/validation/index.d.ts +25 -0
- package/dist/src/utils/validation/index.d.ts.map +1 -0
- package/dist/src/utils/validation/index.js +29 -0
- package/dist/src/utils/validation/index.js.map +1 -0
- package/dist/src/utils/validation/network.d.ts +19 -0
- package/dist/src/utils/validation/network.d.ts.map +1 -0
- package/dist/src/utils/validation/network.js +93 -0
- package/dist/src/utils/validation/network.js.map +1 -0
- package/dist/src/utils/validation/rateLimit.d.ts +21 -0
- package/dist/src/utils/validation/rateLimit.d.ts.map +1 -0
- package/dist/src/utils/validation/rateLimit.js +43 -0
- package/dist/src/utils/validation/rateLimit.js.map +1 -0
- package/dist/src/utils/validation/security.d.ts +29 -0
- package/dist/src/utils/validation/security.d.ts.map +1 -0
- package/dist/src/utils/validation/security.js +327 -0
- package/dist/src/utils/validation/security.js.map +1 -0
- package/dist/src/utils/validation/wordpress.d.ts +31 -0
- package/dist/src/utils/validation/wordpress.d.ts.map +1 -0
- package/dist/src/utils/validation/wordpress.js +146 -0
- package/dist/src/utils/validation/wordpress.js.map +1 -0
- package/dist/src/utils/validation.d.ts +15 -0
- package/dist/src/utils/validation.d.ts.map +1 -0
- package/dist/src/utils/validation.js +27 -0
- package/dist/src/utils/validation.js.map +1 -0
- package/dist/tests/vitest.setup.d.ts +6 -0
- package/dist/tests/vitest.setup.d.ts.map +1 -0
- package/dist/tests/vitest.setup.js +39 -0
- package/dist/tests/vitest.setup.js.map +1 -0
- package/dist/tools/BaseToolManager.d.ts +47 -11
- package/dist/tools/BaseToolManager.d.ts.map +1 -1
- package/dist/tools/BaseToolManager.js +168 -29
- package/dist/tools/BaseToolManager.js.map +1 -1
- package/dist/tools/auth.d.ts +16 -10
- package/dist/tools/auth.d.ts.map +1 -1
- package/dist/tools/auth.js +3 -2
- package/dist/tools/auth.js.map +1 -1
- package/dist/tools/cache.d.ts +30 -30
- package/dist/tools/cache.d.ts.map +1 -1
- package/dist/tools/cache.js +1 -6
- package/dist/tools/cache.js.map +1 -1
- package/dist/tools/comments.d.ts +20 -20
- package/dist/tools/comments.d.ts.map +1 -1
- package/dist/tools/comments.js +16 -9
- package/dist/tools/comments.js.map +1 -1
- package/dist/tools/media.d.ts +18 -16
- package/dist/tools/media.d.ts.map +1 -1
- package/dist/tools/media.js +16 -15
- package/dist/tools/media.js.map +1 -1
- package/dist/tools/pages.d.ts +19 -17
- package/dist/tools/pages.d.ts.map +1 -1
- package/dist/tools/pages.js +16 -12
- package/dist/tools/pages.js.map +1 -1
- package/dist/tools/performance.d.ts +11 -1
- package/dist/tools/performance.d.ts.map +1 -1
- package/dist/tools/performance.js +67 -34
- package/dist/tools/performance.js.map +1 -1
- package/dist/tools/posts/PostHandlers.d.ts +46 -0
- package/dist/tools/posts/PostHandlers.d.ts.map +1 -0
- package/dist/tools/posts/PostHandlers.js +400 -0
- package/dist/tools/posts/PostHandlers.js.map +1 -0
- package/dist/tools/posts/PostToolDefinitions.d.ts +37 -0
- package/dist/tools/posts/PostToolDefinitions.d.ts.map +1 -0
- package/dist/tools/posts/PostToolDefinitions.js +236 -0
- package/dist/tools/posts/PostToolDefinitions.js.map +1 -0
- package/dist/tools/posts/index.d.ts +138 -0
- package/dist/tools/posts/index.d.ts.map +1 -0
- package/dist/tools/posts/index.js +163 -0
- package/dist/tools/posts/index.js.map +1 -0
- package/dist/tools/posts.d.ts +10 -246
- package/dist/tools/posts.d.ts.map +1 -1
- package/dist/tools/posts.js +11 -723
- package/dist/tools/posts.js.map +1 -1
- package/dist/tools/site.d.ts +19 -18
- package/dist/tools/site.d.ts.map +1 -1
- package/dist/tools/site.js +14 -10
- package/dist/tools/site.js.map +1 -1
- package/dist/tools/taxonomies.d.ts +23 -24
- package/dist/tools/taxonomies.d.ts.map +1 -1
- package/dist/tools/taxonomies.js +24 -18
- package/dist/tools/taxonomies.js.map +1 -1
- package/dist/tools/users.d.ts +20 -15
- package/dist/tools/users.d.ts.map +1 -1
- package/dist/tools/users.js +12 -8
- package/dist/tools/users.js.map +1 -1
- package/dist/types/client.d.ts +48 -41
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/client.js +30 -5
- package/dist/types/client.js.map +1 -1
- package/dist/types/enhanced.d.ts +237 -0
- package/dist/types/enhanced.d.ts.map +1 -0
- package/dist/types/enhanced.js +49 -0
- package/dist/types/enhanced.js.map +1 -0
- package/dist/types/index.d.ts +15 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/mcp.d.ts +12 -12
- package/dist/types/mcp.d.ts.map +1 -1
- package/dist/types/requests.d.ts +322 -0
- package/dist/types/requests.d.ts.map +1 -0
- package/dist/types/requests.js +8 -0
- package/dist/types/requests.js.map +1 -0
- package/dist/types/tools.d.ts +506 -0
- package/dist/types/tools.d.ts.map +1 -0
- package/dist/types/tools.js +8 -0
- package/dist/types/tools.js.map +1 -0
- package/dist/types/wordpress.d.ts +43 -15
- package/dist/types/wordpress.d.ts.map +1 -1
- package/dist/types/wordpress.js +8 -1
- package/dist/types/wordpress.js.map +1 -1
- package/dist/utils/debug.d.ts +19 -11
- package/dist/utils/debug.d.ts.map +1 -1
- package/dist/utils/debug.js +46 -10
- package/dist/utils/debug.js.map +1 -1
- package/dist/utils/enhancedError.d.ts +8 -8
- package/dist/utils/enhancedError.d.ts.map +1 -1
- package/dist/utils/enhancedError.js.map +1 -1
- package/dist/utils/error.d.ts +2 -4
- package/dist/utils/error.d.ts.map +1 -1
- package/dist/utils/error.js +42 -5
- package/dist/utils/error.js.map +1 -1
- package/dist/utils/logger.d.ts +106 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +280 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/streaming.d.ts +9 -9
- package/dist/utils/streaming.d.ts.map +1 -1
- package/dist/utils/streaming.js +71 -52
- package/dist/utils/streaming.js.map +1 -1
- package/dist/utils/toolWrapper.d.ts +9 -7
- package/dist/utils/toolWrapper.d.ts.map +1 -1
- package/dist/utils/toolWrapper.js.map +1 -1
- package/dist/utils/validation/core.d.ts +21 -0
- package/dist/utils/validation/core.d.ts.map +1 -0
- package/dist/utils/validation/core.js +71 -0
- package/dist/utils/validation/core.js.map +1 -0
- package/dist/utils/validation/index.d.ts +25 -0
- package/dist/utils/validation/index.d.ts.map +1 -0
- package/dist/utils/validation/index.js +29 -0
- package/dist/utils/validation/index.js.map +1 -0
- package/dist/utils/validation/network.d.ts +19 -0
- package/dist/utils/validation/network.d.ts.map +1 -0
- package/dist/utils/validation/network.js +93 -0
- package/dist/utils/validation/network.js.map +1 -0
- package/dist/utils/validation/rateLimit.d.ts +21 -0
- package/dist/utils/validation/rateLimit.d.ts.map +1 -0
- package/dist/utils/validation/rateLimit.js +43 -0
- package/dist/utils/validation/rateLimit.js.map +1 -0
- package/dist/utils/validation/security.d.ts +29 -0
- package/dist/utils/validation/security.d.ts.map +1 -0
- package/dist/utils/validation/security.js +327 -0
- package/dist/utils/validation/security.js.map +1 -0
- package/dist/utils/validation/wordpress.d.ts +31 -0
- package/dist/utils/validation/wordpress.d.ts.map +1 -0
- package/dist/utils/validation/wordpress.js +146 -0
- package/dist/utils/validation/wordpress.js.map +1 -0
- package/dist/utils/validation.d.ts +13 -82
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +25 -343
- package/dist/utils/validation.js.map +1 -1
- package/docs/BADGE_UPDATES.md +132 -0
- package/docs/CI_CD_IMPROVEMENTS.md +191 -0
- package/docs/INCREMENTAL_COVERAGE.md +183 -0
- package/docs/INSTALLATION.md +4 -2
- package/docs/TROUBLESHOOTING.md +2 -1
- package/docs/api/README.md +3 -1
- package/docs/api/openapi.json +5 -1
- package/docs/api/summary.json +1 -1
- package/docs/api/tools/wp_create_post.md +12 -14
- package/docs/developer/TESTING.md +24 -19
- package/docs/examples/claude-desktop-config.md +1 -1
- package/docs/examples/docker-production.md +100 -93
- package/docs/examples/multi-site-setup.md +5 -4
- package/docs/examples/single-site-setup.md +3 -4
- package/docs/examples/use-case-workflows.md +4 -5
- package/docs/integrations/claude-desktop.md +39 -34
- package/docs/integrations/cline.md +4 -4
- package/docs/integrations/vs-code.md +9 -8
- package/docs/user-guides/DXT_INSTALLATION.md +2 -1
- package/docs/user-guides/SMITHERY_SETUP.md +10 -10
- package/package.json +57 -39
- package/src/cache/CacheInvalidation.ts +12 -5
- package/src/cache/CacheManager.ts +18 -15
- package/src/cache/HttpCacheWrapper.ts +30 -59
- package/src/cache/__tests__/HttpCacheWrapper.test.ts +6 -5
- package/src/cache/index.ts +3 -14
- package/src/client/CachedWordPressClient.ts +32 -30
- package/src/client/MockWordPressClient.ts +4 -2
- package/src/client/api.ts +186 -64
- package/src/client/auth.ts +15 -40
- package/src/client/managers/AuthenticationManager.ts +337 -77
- package/src/client/managers/BaseManager.ts +18 -30
- package/src/client/managers/RequestManager.ts +39 -44
- package/src/config/Config.ts +308 -0
- package/src/config/ConfigurationSchema.ts +23 -2
- package/src/config/ServerConfiguration.ts +73 -49
- package/src/docs/DocumentationGenerator.ts +50 -39
- package/src/docs/MarkdownFormatter.ts +19 -29
- package/src/dxt-entry.cjs +26 -16
- package/src/dxt-entry.ts +17 -27
- package/src/index.ts +42 -28
- package/src/performance/MetricsCollector.ts +108 -86
- package/src/performance/PerformanceAnalytics.ts +69 -164
- package/src/performance/PerformanceMonitor.ts +32 -47
- package/src/performance/index.ts +2 -10
- package/src/security/AISecurityScanner.ts +22 -12
- package/src/security/AutomatedRemediation.ts +49 -18
- package/src/security/InputValidator.ts +9 -6
- package/src/security/SecurityCIPipeline.ts +53 -37
- package/src/security/SecurityConfig.ts +22 -22
- package/src/security/SecurityConfigManager.ts +23 -19
- package/src/security/SecurityMonitoring.ts +24 -21
- package/src/security/SecurityReviewer.ts +10 -7
- package/src/security/index.ts +64 -29
- package/src/server/ConnectionTester.ts +120 -31
- package/src/server/ToolRegistry.ts +31 -21
- package/src/tools/BaseToolManager.ts +286 -33
- package/src/tools/auth.ts +20 -8
- package/src/tools/cache.ts +5 -15
- package/src/tools/comments.ts +34 -48
- package/src/tools/media.ts +41 -53
- package/src/tools/pages.ts +32 -54
- package/src/tools/performance.ts +141 -176
- package/src/tools/posts/PostHandlers.ts +474 -0
- package/src/tools/posts/PostToolDefinitions.ts +250 -0
- package/src/tools/posts/index.ts +192 -0
- package/src/tools/posts.ts +24 -780
- package/src/tools/site.ts +34 -19
- package/src/tools/taxonomies.ts +41 -57
- package/src/tools/users.ts +28 -16
- package/src/types/client.ts +114 -138
- package/src/types/enhanced.ts +318 -0
- package/src/types/index.ts +51 -30
- package/src/types/mcp.ts +20 -42
- package/src/types/requests.ts +378 -0
- package/src/types/tools.ts +608 -0
- package/src/types/wordpress.ts +56 -34
- package/src/utils/debug.ts +77 -59
- package/src/utils/enhancedError.ts +8 -8
- package/src/utils/error.ts +53 -31
- package/src/utils/logger.ts +351 -0
- package/src/utils/streaming.ts +86 -68
- package/src/utils/toolWrapper.ts +10 -12
- package/src/utils/validation/core.ts +108 -0
- package/src/utils/validation/index.ts +36 -0
- package/src/utils/validation/network.ts +132 -0
- package/src/utils/validation/rateLimit.ts +54 -0
- package/src/utils/validation/security.ts +361 -0
- package/src/utils/validation/wordpress.ts +180 -0
- package/src/utils/validation.ts +47 -470
- package/dist/cache/__tests__/CacheInvalidation.test.d.ts +0 -5
- package/dist/cache/__tests__/CacheInvalidation.test.d.ts.map +0 -1
- package/dist/cache/__tests__/CacheInvalidation.test.js +0 -238
- package/dist/cache/__tests__/CacheInvalidation.test.js.map +0 -1
- package/dist/cache/__tests__/CacheManager.test.d.ts +0 -5
- package/dist/cache/__tests__/CacheManager.test.d.ts.map +0 -1
- package/dist/cache/__tests__/CacheManager.test.js +0 -233
- package/dist/cache/__tests__/CacheManager.test.js.map +0 -1
- package/dist/cache/__tests__/CachedWordPressClient.test.d.ts +0 -5
- package/dist/cache/__tests__/CachedWordPressClient.test.d.ts.map +0 -1
- package/dist/cache/__tests__/CachedWordPressClient.test.js +0 -231
- package/dist/cache/__tests__/CachedWordPressClient.test.js.map +0 -1
- package/dist/cache/__tests__/HttpCacheWrapper.test.d.ts +0 -5
- package/dist/cache/__tests__/HttpCacheWrapper.test.d.ts.map +0 -1
- package/dist/cache/__tests__/HttpCacheWrapper.test.js +0 -299
- 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:
|
|
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:
|
|
99
|
+
cpus: "0.5"
|
|
100
100
|
memory: 512M
|
|
101
101
|
reservations:
|
|
102
|
-
cpus:
|
|
102
|
+
cpus: "0.25"
|
|
103
103
|
memory: 256M
|
|
104
104
|
healthcheck:
|
|
105
|
-
test:
|
|
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:
|
|
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:
|
|
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:
|
|
358
|
+
cpus: "1.0"
|
|
352
359
|
memory: 1G
|
|
353
360
|
reservations:
|
|
354
|
-
cpus:
|
|
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
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
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
|
-
|
|
515
|
+
emptyDir: {}
|
|
504
516
|
- name: logs-volume
|
|
505
|
-
|
|
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
|
-
|
|
527
|
-
|
|
528
|
-
|
|
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
|
-
|
|
548
|
-
|
|
549
|
-
|
|
554
|
+
- hosts:
|
|
555
|
+
- api.company.com
|
|
556
|
+
secretName: mcp-wordpress-tls
|
|
550
557
|
rules:
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
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:
|
|
580
|
+
- job_name: "mcp-wordpress"
|
|
574
581
|
static_configs:
|
|
575
|
-
- targets: [
|
|
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:
|
|
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
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
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
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
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
|
-
|
|
800
|
+
emptyDir: {}
|
|
787
801
|
- name: cache-volume
|
|
788
|
-
|
|
802
|
+
emptyDir: {}
|
|
789
803
|
- name: logs-volume
|
|
790
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
13
|
-
|
|
14
|
-
| **Installation**
|
|
15
|
-
| **Configuration** | Built-in UI
|
|
16
|
-
| **Updates**
|
|
17
|
-
| **Security**
|
|
18
|
-
| **Multi-site**
|
|
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:
|
|
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
|
|
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
|
|
93
|
-
|
|
94
|
-
| **WordPress Site URL**
|
|
95
|
-
| **WordPress Username**
|
|
96
|
-
| **WordPress Application Password** | Yes
|
|
97
|
-
| **Authentication Method**
|
|
98
|
-
| **Debug Mode**
|
|
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
|
|
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
|
|
256
|
-
|
|
257
|
-
| **Read Operations** | Subscriber
|
|
258
|
-
| **Posts/Pages**
|
|
259
|
-
| **Media**
|
|
260
|
-
| **Users**
|
|
261
|
-
| **Site Settings**
|
|
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
|
|
321
|
-
| **v1.4.x**
|
|
322
|
-
| **v1.3.x**
|
|
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?**
|
|
426
|
-
|
|
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
|
|
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
|
-
|
|
535
|
+
_This guide is regularly updated. Last updated: 2024-01-15_
|
|
536
536
|
|
|
537
|
-
|
|
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
|
-
|
|
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(
|
|
183
|
+
const result = await mcpClient.call("wp_create_post", {
|
|
184
184
|
title,
|
|
185
185
|
content,
|
|
186
|
-
status:
|
|
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
|
|
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:
|
|
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
|
-
|
|
513
|
+
_This guide is regularly updated. Last updated: 2024-01-15_
|
|
514
514
|
|
|
515
|
-
|
|
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`
|
|
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
|
-
|
|
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
|
|
13
|
-
|
|
14
|
-
| **Installation**
|
|
15
|
-
| **Updates**
|
|
16
|
-
| **Configuration**
|
|
17
|
-
| **Claude Integration** | Automatic
|
|
18
|
-
| **Package Management** | Built-in
|
|
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
|
```
|