@respira/wordpress-mcp-server 1.4.1 → 1.4.3
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 +43 -41
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +789 -0
- package/dist/server.js.map +1 -1
- package/dist/types/index.d.ts +59 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/wordpress-client.d.ts +127 -1
- package/dist/wordpress-client.d.ts.map +1 -1
- package/dist/wordpress-client.js +207 -6
- package/dist/wordpress-client.js.map +1 -1
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -4,9 +4,7 @@ MCP (Model Context Protocol) server for connecting AI coding assistants to WordP
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
The easiest way to install the MCP server is via npm:
|
|
7
|
+
Install the MCP server from npm:
|
|
10
8
|
|
|
11
9
|
```bash
|
|
12
10
|
npm install -g @respira/wordpress-mcp-server
|
|
@@ -20,18 +18,6 @@ npx -y @respira/wordpress-mcp-server
|
|
|
20
18
|
|
|
21
19
|
**Note:** When using npx, you don't need to install the package globally. It will automatically download and run the latest version.
|
|
22
20
|
|
|
23
|
-
### From GitHub Releases
|
|
24
|
-
|
|
25
|
-
Since the repository is private, download the MCP server from GitHub releases:
|
|
26
|
-
|
|
27
|
-
1. Go to [GitHub Releases](https://github.com/webmyc/respira-wordpress/releases)
|
|
28
|
-
2. Find the latest release with tag `mcp-v*` (e.g., `mcp-v1.3.1`)
|
|
29
|
-
3. Download the `respira-wordpress-mcp-server-*.zip` file
|
|
30
|
-
4. Extract the archive to a location on your computer (e.g., `~/.respira/mcp-server/`)
|
|
31
|
-
5. The extracted folder contains the `dist/` directory with the compiled server
|
|
32
|
-
|
|
33
|
-
**Note**: The repository is private, so you cannot clone it directly. Use the releases page to download pre-built packages.
|
|
34
|
-
|
|
35
21
|
## Configuration
|
|
36
22
|
|
|
37
23
|
### Option 1: Configuration File (Recommended)
|
|
@@ -98,20 +84,6 @@ If you installed globally with `npm install -g`, use:
|
|
|
98
84
|
}
|
|
99
85
|
```
|
|
100
86
|
|
|
101
|
-
**Option 3: Using local installation**
|
|
102
|
-
|
|
103
|
-
If you downloaded from GitHub releases, add to your Cursor settings (`.cursor/mcp.json`):
|
|
104
|
-
|
|
105
|
-
```json
|
|
106
|
-
{
|
|
107
|
-
"mcpServers": {
|
|
108
|
-
"respira-wordpress": {
|
|
109
|
-
"command": "node",
|
|
110
|
-
"args": ["/path/to/mcp-server/dist/index.js"]
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
87
|
|
|
116
88
|
### With Claude Desktop
|
|
117
89
|
|
|
@@ -130,18 +102,6 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
130
102
|
}
|
|
131
103
|
```
|
|
132
104
|
|
|
133
|
-
**Using local installation:**
|
|
134
|
-
|
|
135
|
-
```json
|
|
136
|
-
{
|
|
137
|
-
"mcpServers": {
|
|
138
|
-
"respira-wordpress": {
|
|
139
|
-
"command": "node",
|
|
140
|
-
"args": ["/path/to/mcp-server/dist/index.js"]
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
```
|
|
145
105
|
|
|
146
106
|
## Available Tools
|
|
147
107
|
|
|
@@ -158,11 +118,53 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
158
118
|
- `wordpress_read_post` - Get post content
|
|
159
119
|
- `wordpress_create_post_duplicate` - Duplicate a post
|
|
160
120
|
- `wordpress_list_media` - List media files
|
|
121
|
+
- `wordpress_upload_media` - Upload media files (images, documents, videos) - supports base64, URLs, or file paths
|
|
122
|
+
- `wordpress_get_media` - Get single media item details
|
|
123
|
+
- `wordpress_update_media` - Update media metadata (title, alt text, caption)
|
|
124
|
+
- `wordpress_delete_media` - Delete a media file
|
|
161
125
|
- `wordpress_extract_builder_content` - Extract page builder content
|
|
162
126
|
- `wordpress_inject_builder_content` - Inject page builder content
|
|
163
127
|
- `wordpress_validate_security` - Validate content for security issues
|
|
164
128
|
- `wordpress_switch_site` - Switch between multiple WordPress sites
|
|
165
129
|
|
|
130
|
+
### User Management
|
|
131
|
+
- `wordpress_list_users` - List all users with optional filtering
|
|
132
|
+
- `wordpress_get_user` - Get user details by ID
|
|
133
|
+
- `wordpress_create_user` - Create a new user
|
|
134
|
+
- `wordpress_update_user` - Update user information
|
|
135
|
+
- `wordpress_delete_user` - Delete a user
|
|
136
|
+
|
|
137
|
+
### Comments
|
|
138
|
+
- `wordpress_list_comments` - List all comments with optional filtering
|
|
139
|
+
- `wordpress_get_comment` - Get comment details by ID
|
|
140
|
+
- `wordpress_create_comment` - Create a new comment
|
|
141
|
+
- `wordpress_update_comment` - Update a comment
|
|
142
|
+
- `wordpress_delete_comment` - Delete a comment
|
|
143
|
+
|
|
144
|
+
### Taxonomies
|
|
145
|
+
- `wordpress_list_taxonomies` - List all registered taxonomies
|
|
146
|
+
- `wordpress_get_taxonomy` - Get taxonomy details
|
|
147
|
+
- `wordpress_list_terms` - List terms in a taxonomy
|
|
148
|
+
- `wordpress_get_term` - Get term details
|
|
149
|
+
- `wordpress_create_term` - Create a new term
|
|
150
|
+
- `wordpress_update_term` - Update a term
|
|
151
|
+
- `wordpress_delete_term` - Delete a term
|
|
152
|
+
|
|
153
|
+
### Custom Post Types
|
|
154
|
+
- `wordpress_list_post_types` - List all registered post types
|
|
155
|
+
- `wordpress_get_post_type` - Get post type details
|
|
156
|
+
- `wordpress_list_custom_posts` - List posts of a custom post type
|
|
157
|
+
- `wordpress_get_custom_post` - Get custom post details
|
|
158
|
+
- `wordpress_create_custom_post` - Create a new custom post
|
|
159
|
+
- `wordpress_update_custom_post` - Update a custom post
|
|
160
|
+
- `wordpress_delete_custom_post` - Delete a custom post
|
|
161
|
+
|
|
162
|
+
### WordPress Options
|
|
163
|
+
- `wordpress_list_options` - List WordPress options (with optional search filter)
|
|
164
|
+
- `wordpress_get_option` - Get option value by name
|
|
165
|
+
- `wordpress_update_option` - Update an option value
|
|
166
|
+
- `wordpress_delete_option` - Delete an option
|
|
167
|
+
|
|
166
168
|
### Page Speed Analysis
|
|
167
169
|
- `wordpress_analyze_performance` - Analyze page performance metrics (load time, optimization opportunities)
|
|
168
170
|
- `wordpress_get_core_web_vitals` - Get Core Web Vitals scores (LCP, FID, CLS)
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,KAAK,CAA2C;gBAE5C,WAAW,EAAE,mBAAmB,EAAE;IA2B9C,OAAO,CAAC,aAAa;IA0CrB,OAAO,CAAC,QAAQ;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,KAAK,CAA2C;gBAE5C,WAAW,EAAE,mBAAmB,EAAE;IA2B9C,OAAO,CAAC,aAAa;IA0CrB,OAAO,CAAC,QAAQ;YAyuCF,cAAc;IA2QtB,GAAG;CAKV"}
|