@wpgaurav/wp-mcp 0.1.0 → 0.1.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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,10 +20,10 @@ A TypeScript MCP server that exposes any WordPress site's REST API as MCP tools.
|
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
# Run directly with npx
|
|
23
|
-
npx wp-mcp
|
|
23
|
+
npx @wpgaurav/wp-mcp
|
|
24
24
|
|
|
25
25
|
# Or install globally
|
|
26
|
-
npm install -g wp-mcp
|
|
26
|
+
npm install -g @wpgaurav/wp-mcp
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## Configuration
|
|
@@ -49,7 +49,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
49
49
|
"mcpServers": {
|
|
50
50
|
"wordpress": {
|
|
51
51
|
"command": "npx",
|
|
52
|
-
"args": ["wp-mcp"],
|
|
52
|
+
"args": ["@wpgaurav/wp-mcp"],
|
|
53
53
|
"env": {
|
|
54
54
|
"WP_URL": "https://example.com",
|
|
55
55
|
"WP_USERNAME": "admin",
|
|
@@ -67,7 +67,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
67
67
|
"mcpServers": {
|
|
68
68
|
"wordpress": {
|
|
69
69
|
"command": "npx",
|
|
70
|
-
"args": ["wp-mcp"],
|
|
70
|
+
"args": ["@wpgaurav/wp-mcp"],
|
|
71
71
|
"env": {
|
|
72
72
|
"WP_URL": "https://example.com",
|
|
73
73
|
"WP_USERNAME": "admin",
|
|
@@ -85,7 +85,7 @@ WP_URL=https://example.com \
|
|
|
85
85
|
WP_USERNAME=admin \
|
|
86
86
|
WP_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
|
|
87
87
|
WP_MCP_TRANSPORT=http \
|
|
88
|
-
npx wp-mcp
|
|
88
|
+
npx @wpgaurav/wp-mcp
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
The server listens on `http://127.0.0.1:3000/mcp` with StreamableHTTP.
|
|
@@ -199,7 +199,7 @@ npm run build
|
|
|
199
199
|
## Library Usage
|
|
200
200
|
|
|
201
201
|
```typescript
|
|
202
|
-
import { createWpMcpServer, loadConfig } from "wp-mcp";
|
|
202
|
+
import { createWpMcpServer, loadConfig } from "@wpgaurav/wp-mcp";
|
|
203
203
|
|
|
204
204
|
const config = loadConfig({
|
|
205
205
|
wpUrl: "https://example.com",
|
package/package.json
CHANGED