Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.97 KB
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
79
80
{
"name": "@rnaga/wp-mcp",
"version": "1.0.9",
"description": "WordPress Model Context Protocol (MCP) implementation",
"mcpName": "io.github.rnaga/wp-mcp",
"keywords": [
"mcp",
"modelcontextprotocol",
"wordpress",
"typescript",
"node"
],
"author": "Ryohei Nagatsuka",
"license": "MIT",
"scripts": {
"test": "NODE_OPTIONS=\"--experimental-vm-modules --import ./scripts/jest-typescript-hook.mjs\" NODE_NO_WARNINGS=1 jest",
"build": "rm -rf ./dist && tsc && npm run copyfiles && npm run copy-http-template && rm -rf ./dist/_wp",
"clean": "tsc --build --clean",
"copyfiles": "copyfiles -u 1 \"src/**/*.d.ts\" dist",
"copy-http-template": "rsync -avz --delete ./src/cli/templates/ dist/cli/templates/",
"inspect": "export NODE_EXTRA_CA_CERTS=\"$(mkcert -CAROOT)/rootCA.pem\" && npx @modelcontextprotocol/inspector",
"preinspect:dev": "lsof -ti:6274,6277 | xargs kill -9 2>/dev/null || true",
"inspect:dev": "DANGEROUSLY_OMIT_AUTH=true npx @modelcontextprotocol/inspector --transport stdio -- $(command -v node) $(pwd)/node_modules/tsx/dist/cli.mjs $(pwd)/src/cli/index.ts local start -u",
"preinspect:remote": "lsof -ti:6274,6277 | xargs kill -9 2>/dev/null || true",
"inspect:remote": "DANGEROUSLY_OMIT_AUTH=true npx @modelcontextprotocol/inspector --transport stdio -- $(command -v node) $(pwd)/node_modules/tsx/dist/cli.mjs $(pwd)/src/cli/index.ts remote proxy",
"start:express": "npx tsx src/http/index.ts",
"wp-mcp:dev": "npx tsx src/cli/index.ts",
"wp-mcp": "node dist/cli/index.js",
"sync-wp-node": "rsync -avz ../wp-node/packages/core/dist/ ./node_modules/\\@rnaga/wp-node/",
"sync-wp-node-cli": "rsync -avz ../wp-node/packages/cli/dist/ ./node_modules/\\@rnaga/wp-node-cli/",
"sync-http-template": "./scripts/sync-http-template.sh",
"release": "./scripts/release.sh"
},
"dependencies": {
"@keyv/sqlite": "^4.0",
"@modelcontextprotocol/sdk": "^1.29",
"@rnaga/wp-node": "^1",
"@rnaga/wp-node-cli": "^1",
"cache-manager": "^7.2.0",
"commander": "^15",
"cors": "^2.8.6",
"enquirer": "^2.4.1",
"express": "^5.2",
"keyv": "^5.6",
"node-fetch": "^3.3.2",
"reflect-metadata": "^0.1.14",
"zod": "^4"
},
"bin": {
"wp-mcp": "./cli/index.js"
},
"exports": {
"./decorators": "./dist/decorators/index.js"
},
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0",
"@types/jest": "^30.0.0",
"@types/node": "^26",
"@types/supertest": "^7.2",
"@typescript/typescript6": "^6.0.2",
"copyfiles": "^2.4.1",
"esbuild-register": "^3.6.0",
"jest": "^30.1.3",
"supertest": "^7.2",
"ts-jest": "^29.4",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.23.1",
"typescript": "^7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rnaga/wp-mcp.git"
},
"type": "commonjs",
"bugs": {
"url": "https://github.com/rnaga/wp-mcp/issues"
},
"homepage": "https://github.com/rnaga/wp-mcp"
}