mcp-wordpress 1.3.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +151 -772
  2. package/dist/cache/CacheInvalidation.d.ts.map +1 -1
  3. package/dist/client/CachedWordPressClient.d.ts.map +1 -1
  4. package/dist/client/CachedWordPressClient.js.map +1 -1
  5. package/dist/client/api.d.ts.map +1 -1
  6. package/dist/client/api.js +11 -3
  7. package/dist/client/api.js.map +1 -1
  8. package/dist/client/auth.js.map +1 -1
  9. package/dist/client/managers/AuthenticationManager.js.map +1 -1
  10. package/dist/client/managers/RequestManager.js +0 -1
  11. package/dist/client/managers/RequestManager.js.map +1 -1
  12. package/dist/config/ServerConfiguration.d.ts.map +1 -1
  13. package/dist/config/ServerConfiguration.js +18 -0
  14. package/dist/config/ServerConfiguration.js.map +1 -1
  15. package/dist/docs/MarkdownFormatter.js.map +1 -1
  16. package/dist/dxt-entry.d.ts +6 -0
  17. package/dist/dxt-entry.d.ts.map +1 -0
  18. package/dist/dxt-entry.js +38 -0
  19. package/dist/dxt-entry.js.map +1 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +34 -2
  22. package/dist/index.js.map +1 -1
  23. package/dist/mcp-wordpress-1.5.0.tgz +0 -0
  24. package/dist/performance/MetricsCollector.d.ts.map +1 -1
  25. package/dist/performance/PerformanceAnalytics.d.ts.map +1 -1
  26. package/dist/performance/PerformanceAnalytics.js.map +1 -1
  27. package/dist/performance/PerformanceMonitor.d.ts.map +1 -1
  28. package/dist/security/InputValidator.js.map +1 -1
  29. package/dist/security/SecurityConfig.d.ts.map +1 -1
  30. package/dist/server/ToolRegistry.js.map +1 -1
  31. package/dist/tools/cache.js +1 -1
  32. package/dist/tools/cache.js.map +1 -1
  33. package/dist/tools/performance.js.map +1 -1
  34. package/docs/DOCKER.md +8 -1
  35. package/docs/api/README.md +82 -75
  36. package/docs/api/categories/site.md +2 -0
  37. package/docs/api/tools/wp_approve_comment.md +0 -6
  38. package/docs/api/tools/wp_cache_clear.md +5 -14
  39. package/docs/api/tools/wp_cache_info.md +5 -14
  40. package/docs/api/tools/wp_cache_stats.md +5 -14
  41. package/docs/api/tools/wp_cache_warm.md +5 -14
  42. package/docs/api/tools/wp_create_application_password.md +3 -11
  43. package/docs/api/tools/wp_create_category.md +3 -11
  44. package/docs/api/tools/wp_create_comment.md +5 -14
  45. package/docs/api/tools/wp_create_page.md +5 -13
  46. package/docs/api/tools/wp_create_post.md +6 -12
  47. package/docs/api/tools/wp_create_tag.md +3 -11
  48. package/docs/api/tools/wp_create_user.md +5 -13
  49. package/docs/api/tools/wp_delete_application_password.md +3 -11
  50. package/docs/api/tools/wp_delete_category.md +3 -11
  51. package/docs/api/tools/wp_delete_comment.md +3 -11
  52. package/docs/api/tools/wp_delete_media.md +3 -10
  53. package/docs/api/tools/wp_delete_page.md +3 -10
  54. package/docs/api/tools/wp_delete_post.md +4 -9
  55. package/docs/api/tools/wp_delete_tag.md +3 -11
  56. package/docs/api/tools/wp_delete_user.md +3 -10
  57. package/docs/api/tools/wp_get_application_passwords.md +3 -11
  58. package/docs/api/tools/wp_get_auth_status.md +3 -11
  59. package/docs/api/tools/wp_get_category.md +3 -11
  60. package/docs/api/tools/wp_get_comment.md +3 -11
  61. package/docs/api/tools/wp_get_current_user.md +3 -11
  62. package/docs/api/tools/wp_get_media.md +3 -11
  63. package/docs/api/tools/wp_get_page.md +3 -11
  64. package/docs/api/tools/wp_get_page_revisions.md +3 -11
  65. package/docs/api/tools/wp_get_post.md +4 -10
  66. package/docs/api/tools/wp_get_post_revisions.md +3 -11
  67. package/docs/api/tools/wp_get_site_settings.md +3 -10
  68. package/docs/api/tools/wp_get_tag.md +3 -11
  69. package/docs/api/tools/wp_get_user.md +3 -11
  70. package/docs/api/tools/wp_list_categories.md +3 -11
  71. package/docs/api/tools/wp_list_comments.md +3 -11
  72. package/docs/api/tools/wp_list_media.md +5 -14
  73. package/docs/api/tools/wp_list_pages.md +5 -14
  74. package/docs/api/tools/wp_list_posts.md +6 -13
  75. package/docs/api/tools/wp_list_tags.md +3 -11
  76. package/docs/api/tools/wp_list_users.md +3 -11
  77. package/docs/api/tools/wp_performance_alerts.md +7 -17
  78. package/docs/api/tools/wp_performance_benchmark.md +7 -17
  79. package/docs/api/tools/wp_performance_export.md +7 -17
  80. package/docs/api/tools/wp_performance_history.md +7 -17
  81. package/docs/api/tools/wp_performance_optimize.md +7 -17
  82. package/docs/api/tools/wp_performance_stats.md +7 -17
  83. package/docs/api/tools/wp_search_site.md +3 -11
  84. package/docs/api/tools/wp_spam_comment.md +3 -11
  85. package/docs/api/tools/wp_switch_auth_method.md +5 -14
  86. package/docs/api/tools/wp_test_auth.md +3 -11
  87. package/docs/api/tools/wp_update_category.md +3 -11
  88. package/docs/api/tools/wp_update_comment.md +5 -14
  89. package/docs/api/tools/wp_update_media.md +5 -14
  90. package/docs/api/tools/wp_update_page.md +5 -13
  91. package/docs/api/tools/wp_update_post.md +6 -12
  92. package/docs/api/tools/wp_update_site_settings.md +5 -14
  93. package/docs/api/tools/wp_update_tag.md +3 -11
  94. package/docs/api/tools/wp_update_user.md +5 -13
  95. package/docs/api/tools/wp_upload_media.md +5 -13
  96. package/docs/api/types/WordPressPost.md +0 -2
  97. package/docs/developer/API_REFERENCE.md +668 -0
  98. package/docs/developer/ARCHITECTURE.md +374 -0
  99. package/docs/developer/BUILD_SYSTEM.md +460 -0
  100. package/docs/developer/CONTRIBUTING.md +469 -0
  101. package/docs/developer/DEVELOPMENT_SETUP.md +463 -0
  102. package/docs/developer/DXT-DEBUG-BEST-PRACTICES.md +212 -0
  103. package/docs/developer/GITHUB_ACTIONS_SETUP.md +2 -1
  104. package/docs/developer/MAINTENANCE.md +5 -5
  105. package/docs/developer/MIGRATION_GUIDE.md +7 -5
  106. package/docs/developer/NPM_AUTH_SETUP.md +4 -4
  107. package/docs/developer/README.md +242 -0
  108. package/docs/developer/REFACTORING.md +15 -10
  109. package/docs/developer/RELEASE_PROCESS.md +528 -0
  110. package/docs/developer/TESTING.md +734 -0
  111. package/docs/releases/COMMUNITY_ANNOUNCEMENT_v1.1.2.md +9 -3
  112. package/docs/releases/RELEASE_NOTES_v1.1.2.md +4 -4
  113. package/docs/user-guides/DOCKER_SETUP.md +2 -2
  114. package/docs/user-guides/DTX_SETUP.md +3 -3
  115. package/docs/user-guides/DXT_INSTALLATION.md +149 -0
  116. package/docs/user-guides/NPX_SETUP.md +2 -2
  117. package/package.json +5 -4
  118. package/src/cache/CacheInvalidation.ts +1 -1
  119. package/src/client/CachedWordPressClient.ts +15 -15
  120. package/src/client/api.ts +54 -47
  121. package/src/client/auth.ts +88 -88
  122. package/src/client/managers/AuthenticationManager.ts +112 -112
  123. package/src/client/managers/RequestManager.ts +1 -1
  124. package/src/config/ServerConfiguration.ts +39 -0
  125. package/src/docs/MarkdownFormatter.ts +4 -4
  126. package/src/dxt-entry.cjs +55 -0
  127. package/src/dxt-entry.ts +55 -0
  128. package/src/index.ts +55 -2
  129. package/src/performance/MetricsCollector.ts +3 -3
  130. package/src/performance/PerformanceAnalytics.ts +16 -16
  131. package/src/performance/PerformanceMonitor.ts +1 -1
  132. package/src/security/InputValidator.ts +4 -4
  133. package/src/security/SecurityConfig.ts +1 -1
  134. package/src/server/ToolRegistry.ts +12 -12
  135. package/src/tools/cache.ts +1 -1
  136. package/src/tools/performance.ts +17 -17
  137. package/dist/mcp-wordpress-1.3.1.tgz +0 -0
@@ -18,11 +18,13 @@ Deletes a comment.
18
18
  Simple example of using wp_delete_comment
19
19
 
20
20
  **Command:**
21
+
21
22
  ```bash
22
23
  wp_delete_comment --id="123"
23
24
  ```
24
25
 
25
26
  **Response:**
27
+
26
28
  ```json
27
29
  {
28
30
  "success": true,
@@ -34,6 +36,7 @@ wp_delete_comment --id="123"
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,11 +44,6 @@ wp_delete_comment --id="123"
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
-
48
-
49
47
  ## Response Format
50
48
 
51
49
  **Return Type:** `DeleteResult`
@@ -72,30 +70,24 @@ wp_delete_comment --id="123"
72
70
  **Description:** Invalid credentials or insufficient permissions
73
71
  **Resolution:** Check your authentication credentials and user permissions
74
72
 
75
-
76
73
  ### VALIDATION_ERROR
77
74
 
78
75
  **Message:** Parameter validation failed
79
76
  **Description:** One or more required parameters are missing or invalid
80
77
  **Resolution:** Review the required parameters and their formats
81
78
 
82
-
83
79
  ### NOT_FOUND
84
80
 
85
81
  **Message:** Resource not found
86
82
  **Description:** The requested resource does not exist
87
83
  **Resolution:** Verify the resource ID and ensure it exists
88
84
 
89
-
90
85
  ### PERMISSION_DENIED
91
86
 
92
87
  **Message:** Insufficient permissions
93
88
  **Description:** The user does not have permission to perform this action
94
89
  **Resolution:** Contact an administrator to grant the necessary permissions
95
90
 
96
-
97
-
98
-
99
91
  ---
100
92
 
101
93
  *Generated automatically from tool definitions - Do not edit manually*
@@ -18,11 +18,13 @@ Deletes a media item.
18
18
  Simple example of using wp_delete_media
19
19
 
20
20
  **Command:**
21
+
21
22
  ```bash
22
23
  wp_delete_media --id="123"
23
24
  ```
24
25
 
25
26
  **Response:**
27
+
26
28
  ```json
27
29
  {
28
30
  "success": true,
@@ -34,6 +36,7 @@ wp_delete_media --id="123"
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,9 +44,6 @@ wp_delete_media --id="123"
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
47
  ## Required Permissions
48
48
 
49
49
  This tool requires the following WordPress user capabilities:
@@ -52,7 +52,6 @@ This tool requires the following WordPress user capabilities:
52
52
 
53
53
  **Note:** The authenticated user must have these capabilities to successfully execute this tool.
54
54
 
55
-
56
55
  ## Response Format
57
56
 
58
57
  **Return Type:** `DeleteResult`
@@ -79,30 +78,24 @@ This tool requires the following WordPress user capabilities:
79
78
  **Description:** Invalid credentials or insufficient permissions
80
79
  **Resolution:** Check your authentication credentials and user permissions
81
80
 
82
-
83
81
  ### VALIDATION_ERROR
84
82
 
85
83
  **Message:** Parameter validation failed
86
84
  **Description:** One or more required parameters are missing or invalid
87
85
  **Resolution:** Review the required parameters and their formats
88
86
 
89
-
90
87
  ### NOT_FOUND
91
88
 
92
89
  **Message:** Resource not found
93
90
  **Description:** The requested resource does not exist
94
91
  **Resolution:** Verify the resource ID and ensure it exists
95
92
 
96
-
97
93
  ### PERMISSION_DENIED
98
94
 
99
95
  **Message:** Insufficient permissions
100
96
  **Description:** The user does not have permission to perform this action
101
97
  **Resolution:** Contact an administrator to grant the necessary permissions
102
98
 
103
-
104
-
105
-
106
99
  ---
107
100
 
108
101
  *Generated automatically from tool definitions - Do not edit manually*
@@ -18,11 +18,13 @@ Deletes a page.
18
18
  Simple example of using wp_delete_page
19
19
 
20
20
  **Command:**
21
+
21
22
  ```bash
22
23
  wp_delete_page --id="123"
23
24
  ```
24
25
 
25
26
  **Response:**
27
+
26
28
  ```json
27
29
  {
28
30
  "success": true,
@@ -34,6 +36,7 @@ wp_delete_page --id="123"
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,9 +44,6 @@ wp_delete_page --id="123"
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
47
  ## Required Permissions
48
48
 
49
49
  This tool requires the following WordPress user capabilities:
@@ -52,7 +52,6 @@ This tool requires the following WordPress user capabilities:
52
52
 
53
53
  **Note:** The authenticated user must have these capabilities to successfully execute this tool.
54
54
 
55
-
56
55
  ## Response Format
57
56
 
58
57
  **Return Type:** `DeleteResult`
@@ -79,30 +78,24 @@ This tool requires the following WordPress user capabilities:
79
78
  **Description:** Invalid credentials or insufficient permissions
80
79
  **Resolution:** Check your authentication credentials and user permissions
81
80
 
82
-
83
81
  ### VALIDATION_ERROR
84
82
 
85
83
  **Message:** Parameter validation failed
86
84
  **Description:** One or more required parameters are missing or invalid
87
85
  **Resolution:** Review the required parameters and their formats
88
86
 
89
-
90
87
  ### NOT_FOUND
91
88
 
92
89
  **Message:** Resource not found
93
90
  **Description:** The requested resource does not exist
94
91
  **Resolution:** Verify the resource ID and ensure it exists
95
92
 
96
-
97
93
  ### PERMISSION_DENIED
98
94
 
99
95
  **Message:** Insufficient permissions
100
96
  **Description:** The user does not have permission to perform this action
101
97
  **Resolution:** Contact an administrator to grant the necessary permissions
102
98
 
103
-
104
-
105
-
106
99
  ---
107
100
 
108
101
  *Generated automatically from tool definitions - Do not edit manually*
@@ -18,11 +18,13 @@ Deletes a post.
18
18
  Simple example of using wp_delete_post
19
19
 
20
20
  **Command:**
21
+
21
22
  ```bash
22
23
  wp_delete_post --id="123"
23
24
  ```
24
25
 
25
26
  **Response:**
27
+
26
28
  ```json
27
29
  {
28
30
  "success": true,
@@ -34,6 +36,7 @@ wp_delete_post --id="123"
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,7 +44,6 @@ wp_delete_post --id="123"
41
44
  }
42
45
  ```
43
46
 
44
-
45
47
  ## WordPress REST API Mapping
46
48
 
47
49
  **Endpoint:** `/wp-json/wp/v2/posts/{id}`
@@ -49,10 +51,10 @@ wp_delete_post --id="123"
49
51
  This tool directly interfaces with the WordPress REST API endpoint above. The response format and available parameters are determined by WordPress core functionality.
50
52
 
51
53
  ### WordPress Documentation
54
+
52
55
  - [WordPress REST API Handbook](https://developer.wordpress.org/rest-api/)
53
56
  - [Endpoint Reference](https://developer.wordpress.org/rest-api/reference/)
54
57
 
55
-
56
58
  ## Required Permissions
57
59
 
58
60
  This tool requires the following WordPress user capabilities:
@@ -61,7 +63,6 @@ This tool requires the following WordPress user capabilities:
61
63
 
62
64
  **Note:** The authenticated user must have these capabilities to successfully execute this tool.
63
65
 
64
-
65
66
  ## Response Format
66
67
 
67
68
  **Return Type:** `DeleteResult`
@@ -88,30 +89,24 @@ This tool requires the following WordPress user capabilities:
88
89
  **Description:** Invalid credentials or insufficient permissions
89
90
  **Resolution:** Check your authentication credentials and user permissions
90
91
 
91
-
92
92
  ### VALIDATION_ERROR
93
93
 
94
94
  **Message:** Parameter validation failed
95
95
  **Description:** One or more required parameters are missing or invalid
96
96
  **Resolution:** Review the required parameters and their formats
97
97
 
98
-
99
98
  ### NOT_FOUND
100
99
 
101
100
  **Message:** Resource not found
102
101
  **Description:** The requested resource does not exist
103
102
  **Resolution:** Verify the resource ID and ensure it exists
104
103
 
105
-
106
104
  ### PERMISSION_DENIED
107
105
 
108
106
  **Message:** Insufficient permissions
109
107
  **Description:** The user does not have permission to perform this action
110
108
  **Resolution:** Contact an administrator to grant the necessary permissions
111
109
 
112
-
113
-
114
-
115
110
  ---
116
111
 
117
112
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Deletes a tag.
17
17
  Simple example of using wp_delete_tag
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_delete_tag --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -33,6 +35,7 @@ wp_delete_tag --id="123"
33
35
  ```
34
36
 
35
37
  **Error Example (Authentication failure):**
38
+
36
39
  ```json
37
40
  {
38
41
  "error": "Authentication failed",
@@ -40,11 +43,6 @@ wp_delete_tag --id="123"
40
43
  }
41
44
  ```
42
45
 
43
-
44
-
45
-
46
-
47
-
48
46
  ## Response Format
49
47
 
50
48
  **Return Type:** `DeleteResult`
@@ -71,30 +69,24 @@ wp_delete_tag --id="123"
71
69
  **Description:** Invalid credentials or insufficient permissions
72
70
  **Resolution:** Check your authentication credentials and user permissions
73
71
 
74
-
75
72
  ### VALIDATION_ERROR
76
73
 
77
74
  **Message:** Parameter validation failed
78
75
  **Description:** One or more required parameters are missing or invalid
79
76
  **Resolution:** Review the required parameters and their formats
80
77
 
81
-
82
78
  ### NOT_FOUND
83
79
 
84
80
  **Message:** Resource not found
85
81
  **Description:** The requested resource does not exist
86
82
  **Resolution:** Verify the resource ID and ensure it exists
87
83
 
88
-
89
84
  ### PERMISSION_DENIED
90
85
 
91
86
  **Message:** Insufficient permissions
92
87
  **Description:** The user does not have permission to perform this action
93
88
  **Resolution:** Contact an administrator to grant the necessary permissions
94
89
 
95
-
96
-
97
-
98
90
  ---
99
91
 
100
92
  *Generated automatically from tool definitions - Do not edit manually*
@@ -18,11 +18,13 @@ Deletes a user.
18
18
  Simple example of using wp_delete_user
19
19
 
20
20
  **Command:**
21
+
21
22
  ```bash
22
23
  wp_delete_user --id="123"
23
24
  ```
24
25
 
25
26
  **Response:**
27
+
26
28
  ```json
27
29
  {
28
30
  "success": true,
@@ -34,6 +36,7 @@ wp_delete_user --id="123"
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,9 +44,6 @@ wp_delete_user --id="123"
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
47
  ## Required Permissions
48
48
 
49
49
  This tool requires the following WordPress user capabilities:
@@ -52,7 +52,6 @@ This tool requires the following WordPress user capabilities:
52
52
 
53
53
  **Note:** The authenticated user must have these capabilities to successfully execute this tool.
54
54
 
55
-
56
55
  ## Response Format
57
56
 
58
57
  **Return Type:** `DeleteResult`
@@ -79,30 +78,24 @@ This tool requires the following WordPress user capabilities:
79
78
  **Description:** Invalid credentials or insufficient permissions
80
79
  **Resolution:** Check your authentication credentials and user permissions
81
80
 
82
-
83
81
  ### VALIDATION_ERROR
84
82
 
85
83
  **Message:** Parameter validation failed
86
84
  **Description:** One or more required parameters are missing or invalid
87
85
  **Resolution:** Review the required parameters and their formats
88
86
 
89
-
90
87
  ### NOT_FOUND
91
88
 
92
89
  **Message:** Resource not found
93
90
  **Description:** The requested resource does not exist
94
91
  **Resolution:** Verify the resource ID and ensure it exists
95
92
 
96
-
97
93
  ### PERMISSION_DENIED
98
94
 
99
95
  **Message:** Insufficient permissions
100
96
  **Description:** The user does not have permission to perform this action
101
97
  **Resolution:** Contact an administrator to grant the necessary permissions
102
98
 
103
-
104
-
105
-
106
99
  ---
107
100
 
108
101
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Lists application passwords for a specific user.
17
17
  Simple example of using wp_get_application_passwords
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_application_passwords --user_id="example_value"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_application_passwords --user_id="example_value"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_application_passwords --user_id="example_value"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `site`
@@ -74,30 +72,24 @@ wp_get_application_passwords --user_id="example_value"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -15,11 +15,13 @@ Gets the current authentication status for a configured WordPress site.
15
15
  Simple example of using wp_get_auth_status
16
16
 
17
17
  **Command:**
18
+
18
19
  ```bash
19
20
  wp_get_auth_status
20
21
  ```
21
22
 
22
23
  **Response:**
24
+
23
25
  ```json
24
26
  {
25
27
  "success": true,
@@ -34,6 +36,7 @@ wp_get_auth_status
34
36
  ```
35
37
 
36
38
  **Error Example (Authentication failure):**
39
+
37
40
  ```json
38
41
  {
39
42
  "error": "Authentication failed",
@@ -41,11 +44,6 @@ wp_get_auth_status
41
44
  }
42
45
  ```
43
46
 
44
-
45
-
46
-
47
-
48
-
49
47
  ## Response Format
50
48
 
51
49
  **Return Type:** `auth`
@@ -72,30 +70,24 @@ wp_get_auth_status
72
70
  **Description:** Invalid credentials or insufficient permissions
73
71
  **Resolution:** Check your authentication credentials and user permissions
74
72
 
75
-
76
73
  ### VALIDATION_ERROR
77
74
 
78
75
  **Message:** Parameter validation failed
79
76
  **Description:** One or more required parameters are missing or invalid
80
77
  **Resolution:** Review the required parameters and their formats
81
78
 
82
-
83
79
  ### NOT_FOUND
84
80
 
85
81
  **Message:** Resource not found
86
82
  **Description:** The requested resource does not exist
87
83
  **Resolution:** Verify the resource ID and ensure it exists
88
84
 
89
-
90
85
  ### PERMISSION_DENIED
91
86
 
92
87
  **Message:** Insufficient permissions
93
88
  **Description:** The user does not have permission to perform this action
94
89
  **Resolution:** Contact an administrator to grant the necessary permissions
95
90
 
96
-
97
-
98
-
99
91
  ---
100
92
 
101
93
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single category by its ID.
17
17
  Simple example of using wp_get_category
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_category --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_category --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_category --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `taxonomy`
@@ -74,30 +72,24 @@ wp_get_category --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*
@@ -17,11 +17,13 @@ Retrieves a single comment by its ID.
17
17
  Simple example of using wp_get_comment
18
18
 
19
19
  **Command:**
20
+
20
21
  ```bash
21
22
  wp_get_comment --id="123"
22
23
  ```
23
24
 
24
25
  **Response:**
26
+
25
27
  ```json
26
28
  {
27
29
  "success": true,
@@ -36,6 +38,7 @@ wp_get_comment --id="123"
36
38
  ```
37
39
 
38
40
  **Error Example (Authentication failure):**
41
+
39
42
  ```json
40
43
  {
41
44
  "error": "Authentication failed",
@@ -43,11 +46,6 @@ wp_get_comment --id="123"
43
46
  }
44
47
  ```
45
48
 
46
-
47
-
48
-
49
-
50
-
51
49
  ## Response Format
52
50
 
53
51
  **Return Type:** `comment`
@@ -74,30 +72,24 @@ wp_get_comment --id="123"
74
72
  **Description:** Invalid credentials or insufficient permissions
75
73
  **Resolution:** Check your authentication credentials and user permissions
76
74
 
77
-
78
75
  ### VALIDATION_ERROR
79
76
 
80
77
  **Message:** Parameter validation failed
81
78
  **Description:** One or more required parameters are missing or invalid
82
79
  **Resolution:** Review the required parameters and their formats
83
80
 
84
-
85
81
  ### NOT_FOUND
86
82
 
87
83
  **Message:** Resource not found
88
84
  **Description:** The requested resource does not exist
89
85
  **Resolution:** Verify the resource ID and ensure it exists
90
86
 
91
-
92
87
  ### PERMISSION_DENIED
93
88
 
94
89
  **Message:** Insufficient permissions
95
90
  **Description:** The user does not have permission to perform this action
96
91
  **Resolution:** Contact an administrator to grant the necessary permissions
97
92
 
98
-
99
-
100
-
101
93
  ---
102
94
 
103
95
  *Generated automatically from tool definitions - Do not edit manually*