@govcraft/payload-cms-mcp 1.0.7 → 1.0.10
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 +7 -1
- package/dist/cli.js +3 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -47,8 +47,14 @@ After installation, you can run the server using:
|
|
|
47
47
|
# If installed globally
|
|
48
48
|
payload-cms-mcp
|
|
49
49
|
|
|
50
|
-
#
|
|
50
|
+
# Using npx directly (preferred)
|
|
51
51
|
npx @govcraft/payload-cms-mcp
|
|
52
|
+
|
|
53
|
+
# Using pnpx (alternative option)
|
|
54
|
+
pnpx @govcraft/payload-cms-mcp
|
|
55
|
+
|
|
56
|
+
# Or run via npm scripts if installed locally in a project
|
|
57
|
+
npm run payload-cms-mcp
|
|
52
58
|
```
|
|
53
59
|
|
|
54
60
|
#### Option 2: From source
|
package/dist/cli.js
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govcraft/payload-cms-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Payload MCP Server - A Model Context Protocol server for Payload CMS 3.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"payload-cms-mcp": "
|
|
8
|
+
"payload-cms-mcp": "dist/cli.js",
|
|
9
|
+
"@govcraft/payload-cms-mcp": "dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./dist/index.js"
|
|
9
13
|
},
|
|
10
14
|
"files": [
|
|
11
15
|
"dist"
|
|
@@ -22,7 +26,8 @@
|
|
|
22
26
|
"stdio": "tsx src/index.ts --stdio-only",
|
|
23
27
|
"generate-tools": "tsx src/generate-tools.ts",
|
|
24
28
|
"prepare": "pnpm build",
|
|
25
|
-
"prepublishOnly": "pnpm build"
|
|
29
|
+
"prepublishOnly": "pnpm build",
|
|
30
|
+
"payload-cms-mcp": "node dist/index.js --stdio-only"
|
|
26
31
|
},
|
|
27
32
|
"keywords": [
|
|
28
33
|
"payload",
|