aem-mcp-server 1.3.3 → 1.3.4
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 +20 -13
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ This project is designed for non-technical persons who want to manage AEM via na
|
|
|
16
16
|
|
|
17
17
|
- **Chat with your AEM instance** for content, component, and asset operations.
|
|
18
18
|
- **AI IDEs integration** (Cursor, Copilot, Webstorm, VS Code, etc.)
|
|
19
|
-
- **
|
|
19
|
+
- **Supports both AEMaaCS and self-hosted instances**
|
|
20
20
|
- **Modern, TypeScript-based AEM MCP server**
|
|
21
21
|
- **REST/JSON-RPC API** with latest MCP features.
|
|
22
22
|
|
|
@@ -28,17 +28,13 @@ This project is designed for non-technical persons who want to manage AEM via na
|
|
|
28
28
|
- Node.js 18+
|
|
29
29
|
- Access to an AEM instance (local or remote)
|
|
30
30
|
|
|
31
|
-
### Add AEM MCP to AI IDE
|
|
32
|
-
[](https://cursor.com/en/install-mcp?name=AEM&config=eyJ1cmwiOiJodHRwOi8vMTI3LjAuMC4xOjg1MDIvbWNwIn0%3D)
|
|
33
|
-
|
|
34
|
-
OR:
|
|
35
|
-
|
|
36
31
|
### Installation
|
|
37
32
|
```sh
|
|
38
33
|
npm install aem-mcp-server -g
|
|
39
34
|
```
|
|
40
35
|
|
|
41
36
|
### Start the Server
|
|
37
|
+
With default settings (admin:admin credentials for http://localhost:4502):
|
|
42
38
|
```sh
|
|
43
39
|
aem-mcp
|
|
44
40
|
```
|
|
@@ -46,16 +42,27 @@ aem-mcp
|
|
|
46
42
|
### Configuration
|
|
47
43
|
```
|
|
48
44
|
Options:
|
|
49
|
-
--version
|
|
50
|
-
-H, --host
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
45
|
+
--version Show version number [boolean]
|
|
46
|
+
-H, --host [string] [default: "http://localhost:4502"]
|
|
47
|
+
-u, --user [string] [default: "admin"]
|
|
48
|
+
-p, --pass [string] [default: "admin"]
|
|
49
|
+
-i, --id clientId [string] [default: ""]
|
|
50
|
+
-s, --secret clientSecret [string] [default: ""]
|
|
51
|
+
-m, --mcpPort [number] [default: 8502]
|
|
52
|
+
-h, --help Show help [boolean]
|
|
53
|
+
```
|
|
56
54
|
|
|
55
|
+
For AEMaaCS, use the `clientId` and `clientSecret` for authentication. [More info](https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/implementation).
|
|
56
|
+
For self-hosted AEM use user/pass. The default credentials are `admin:admin`.
|
|
57
|
+
|
|
58
|
+
### Example Command
|
|
59
|
+
```sh
|
|
60
|
+
aem-mcp -u=user@domain.com -p=mypass -H=https://author-qa.adobeaemcloud.com
|
|
57
61
|
```
|
|
58
62
|
|
|
63
|
+
### Add AEM MCP to AI IDE
|
|
64
|
+
[](https://cursor.com/en/install-mcp?name=AEM&config=eyJ1cmwiOiJodHRwOi8vMTI3LjAuMC4xOjg1MDIvbWNwIn0%3D)
|
|
65
|
+
|
|
59
66
|
---
|
|
60
67
|
|
|
61
68
|
## Features
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";import
|
|
2
|
+
"use strict";import s from"yargs";import{hideBin as t}from"yargs/helpers";import{startServer as r}from"./index.js";const e=s(t(process.argv)).options({host:{type:"string",default:"http://localhost:4502",alias:"H"},user:{type:"string",default:"admin",alias:"u"},pass:{type:"string",default:"admin",alias:"p"},id:{type:"string",default:"",alias:"i",describe:"clientId"},secret:{type:"string",default:"",alias:"s",describe:"clientSecret"},mcpPort:{type:"number",default:8502,alias:"m"}}).help().alias("h","help").parseSync();e.help&&process.exit(0);const{host:a,user:i,pass:l,mcpPort:p,id:o,secret:n}=e;r({host:a,user:i,pass:l,mcpPort:p,id:o,secret:n});
|