@automattic/mcp-wordpress-remote 0.1.14 → 0.1.18
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 +26 -0
- package/package.json +77 -77
package/README.md
CHANGED
|
@@ -88,6 +88,32 @@ Example configuration:
|
|
|
88
88
|
}
|
|
89
89
|
```
|
|
90
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)
|
|
116
|
+
|
|
91
117
|
## @todo
|
|
92
118
|
|
|
93
119
|
As of now, this package is in its early development stages. Any suggestions, bugreports, PR's are welcome.
|
package/package.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
2
|
+
"name": "@automattic/mcp-wordpress-remote",
|
|
3
|
+
"version": "0.1.18",
|
|
4
|
+
"description": "MCP WordPress Remote proxy server",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": ">=22.0.0"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"mcp",
|
|
10
|
+
"wordpress",
|
|
11
|
+
"remote",
|
|
12
|
+
"proxy"
|
|
13
|
+
],
|
|
14
|
+
"author": "Automattic Inc.",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Automattic/mcp-wordpress-remote.git"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"main": "dist/proxy.js",
|
|
26
|
+
"bin": {
|
|
27
|
+
"@automattic/mcp-wordpress-remote": "dist/proxy.js"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsup",
|
|
31
|
+
"build:watch": "tsup --watch",
|
|
32
|
+
"check": "prettier --check . && tsc",
|
|
33
|
+
"start": "NODE_ENV=development tsup --watch",
|
|
34
|
+
"dev": "NODE_ENV=development node dist/proxy.js",
|
|
35
|
+
"test": "jest",
|
|
36
|
+
"test:watch": "jest --watch"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@modelcontextprotocol/sdk": "^1.8.0",
|
|
40
|
+
"express": "^4.18.2",
|
|
41
|
+
"open": "^10.0.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/express": "^4.17.21",
|
|
45
|
+
"@types/jest": "^29.5.12",
|
|
46
|
+
"@types/node": "^20.11.19",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"prettier": "^3.2.5",
|
|
49
|
+
"ts-jest": "^29.1.2",
|
|
50
|
+
"tsup": "^8.0.2",
|
|
51
|
+
"typescript": "^5.3.3"
|
|
52
|
+
},
|
|
53
|
+
"tsup": {
|
|
54
|
+
"entry": [
|
|
55
|
+
"src/proxy.ts"
|
|
56
|
+
],
|
|
57
|
+
"format": [
|
|
58
|
+
"esm"
|
|
59
|
+
],
|
|
60
|
+
"dts": true,
|
|
61
|
+
"clean": true,
|
|
62
|
+
"outDir": "dist"
|
|
63
|
+
},
|
|
64
|
+
"jest": {
|
|
65
|
+
"preset": "ts-jest",
|
|
66
|
+
"testEnvironment": "node",
|
|
67
|
+
"testMatch": [
|
|
68
|
+
"**/__tests__/**/*.ts",
|
|
69
|
+
"**/?(*.)+(spec|test).ts"
|
|
70
|
+
],
|
|
71
|
+
"moduleFileExtensions": [
|
|
72
|
+
"ts",
|
|
73
|
+
"js",
|
|
74
|
+
"json",
|
|
75
|
+
"node"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|