@automattic/mcp-wordpress-remote 0.2.0 → 0.2.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 +1 -80
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,86 +33,7 @@ The following environment variables are required:
|
|
|
33
33
|
|
|
34
34
|
### Configuration in MCP Clients
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
In order to add an MCP server to Claude Desktop you need to edit the configuration file located at:
|
|
39
|
-
|
|
40
|
-
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
41
|
-
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
42
|
-
|
|
43
|
-
Example configuration:
|
|
44
|
-
|
|
45
|
-
```json
|
|
46
|
-
{
|
|
47
|
-
"mcpServers": {
|
|
48
|
-
"wordpress-mcp": {
|
|
49
|
-
"command": "npx",
|
|
50
|
-
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
|
|
51
|
-
"env": {
|
|
52
|
-
"WP_API_URL": "https://your-wordpress-site.com",
|
|
53
|
-
"WP_API_USERNAME": "your-username",
|
|
54
|
-
"WP_API_PASSWORD": "your-password",
|
|
55
|
-
"WOO_CUSTOMER_KEY": "your-woo-customer-key",
|
|
56
|
-
"WOO_CUSTOMER_SECRET": "your-woo-customer-secret",
|
|
57
|
-
"LOG_FILE": "optional full path to the log file"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
https://woocommerce.com/document/woocommerce-rest-api/
|
|
65
|
-
|
|
66
|
-
#### Cursor
|
|
67
|
-
|
|
68
|
-
The configuration file is located at `~/.cursor/mcp.json`.
|
|
69
|
-
|
|
70
|
-
Example configuration:
|
|
71
|
-
|
|
72
|
-
```json
|
|
73
|
-
{
|
|
74
|
-
"mcpServers": {
|
|
75
|
-
"wordpress-mcp": {
|
|
76
|
-
"command": "npx",
|
|
77
|
-
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
|
|
78
|
-
"env": {
|
|
79
|
-
"WP_API_URL": "https://your-wordpress-site.com",
|
|
80
|
-
"WP_API_USERNAME": "your-username",
|
|
81
|
-
"WP_API_PASSWORD": "your-password",
|
|
82
|
-
"WOO_CUSTOMER_KEY": "your-woo-customer-key",
|
|
83
|
-
"WOO_CUSTOMER_SECRET": "your-woo-customer-secret",
|
|
84
|
-
"LOG_FILE": "optional full path to the log file"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
#### VS Code
|
|
92
|
-
|
|
93
|
-
The configuration file can be created inside `.vscode/mcp.json` in your workspace/folder.
|
|
94
|
-
|
|
95
|
-
```json
|
|
96
|
-
{
|
|
97
|
-
"servers": {
|
|
98
|
-
"wordpress-mcp": {
|
|
99
|
-
"type": "stdio",
|
|
100
|
-
"command": "npx",
|
|
101
|
-
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
|
|
102
|
-
"env": {
|
|
103
|
-
"WP_API_URL": "https://your-wordpress-site.com",
|
|
104
|
-
"WP_API_USERNAME": "your-username",
|
|
105
|
-
"WP_API_PASSWORD": "your-password",
|
|
106
|
-
"WOO_CUSTOMER_KEY": "your-woo-customer-key",
|
|
107
|
-
"WOO_CUSTOMER_SECRET": "your-woo-customer-secret",
|
|
108
|
-
"LOG_FILE": "optional full path to the log file"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
More information on VS Code and MCP is available in the [VS Code docs](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
|
|
36
|
+
Please check [WordPress-mcp](https://github.com/Automattic/wordpress-mcp?tab=readme-ov-file#mcp-client-configuration) plugin git repository for configuration details
|
|
116
37
|
|
|
117
38
|
## @todo
|
|
118
39
|
|