@automattic/mcp-wordpress-remote 0.1.6 → 0.1.7

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 CHANGED
@@ -4,7 +4,7 @@ The mcp-wordpress-remote package acts as a bridge between local Model Context Pr
4
4
 
5
5
  ## WordPress MCP plugin
6
6
 
7
- You have to install the [wordpress-mcp](https://github.com/Automattic/wordpress-mcp) plugin on your WordPress website.
7
+ You have to install the [wordpress-mcp](https://github.com/Automattic/wordpress-mcp) plugin on your WordPress website, and enable MCP Functionality on Settings > MCP Settings.
8
8
 
9
9
  ## Why
10
10
 
@@ -43,7 +43,7 @@ Example configuration:
43
43
  "mcpServers": {
44
44
  "wordpress-mcp": {
45
45
  "command": "npx",
46
- "args": ["@Automattic/mcp-wordpress-remote"],
46
+ "args": ["@automattic/mcp-wordpress-remote"],
47
47
  "env": {
48
48
  "WP_API_URL": "https://your-wordpress-site.com",
49
49
  "WP_API_USERNAME": "your-username",
@@ -70,7 +70,7 @@ Example configuration:
70
70
  "mcpServers": {
71
71
  "wordpress-mcp": {
72
72
  "command": "npx",
73
- "args": ["@Automattic/mcp-wordpress-remote"],
73
+ "args": ["@automattic/mcp-wordpress-remote"],
74
74
  "env": {
75
75
  "WP_API_URL": "https://your-wordpress-site.com",
76
76
  "WP_API_USERNAME": "your-username",
package/dist/proxy.js CHANGED
@@ -4,6 +4,9 @@
4
4
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
5
5
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
6
6
 
7
+ // src/lib/wordpress-api.ts
8
+ import fetch from "node-fetch";
9
+
7
10
  // src/lib/utils.ts
8
11
  import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
9
12
  import * as fs from "node:fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/mcp-wordpress-remote",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "MCP WordPress Remote proxy server",
5
5
  "keywords": [
6
6
  "mcp",
@@ -35,6 +35,7 @@
35
35
  "dependencies": {
36
36
  "@modelcontextprotocol/sdk": "^1.8.0",
37
37
  "express": "^4.18.2",
38
+ "node-fetch": "^3.3.2",
38
39
  "open": "^10.0.0"
39
40
  },
40
41
  "devDependencies": {