aem-mcp-server 1.3.2 → 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.
Files changed (3) hide show
  1. package/README.md +20 -13
  2. package/dist/cli.js +1 -1
  3. package/package.json +5 -6
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
- - **Production-ready, modular, and configurable**
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
- [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](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 Show version number [boolean]
50
- -H, --host Author instance URL [string] [default: "http://localhost:4502"]
51
- -P, --publisher Publisher instance URL [string] [default: "http://localhost:4503"]
52
- -u, --user Username for authentication [string] [default: "admin"]
53
- -p, --pass Password for authentication [string] [default: "admin"]
54
- -m, --mcpPort Port for MCP server [number] [default: 8502]
55
- -h, --help Show help [boolean]
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
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](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 t from"yargs";import{hideBin as a}from"yargs/helpers";import{startServer as e}from"./index.js";const s=t(a(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"},secret:{type:"string",default:"",alias:"s"},mcpPort:{type:"number",default:8502,alias:"m"}}).help().alias("h","help").parseSync();s.help&&process.exit(0);const{host:r,user:i,pass:p,mcpPort:l,id:o,secret:n}=s;e({host:r,user:i,pass:p,mcpPort:l,id:o,secret:n});
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});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aem-mcp-server",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "AEM Model Context Protocol (MCP) server",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -37,8 +37,7 @@
37
37
  "test:npm": "npm pack && npm install -g ./aem-mcp-server-$npm_package_version.tgz && aem-mcp -e -H=http://localhost:5502"
38
38
  },
39
39
  "dependencies": {
40
- "@modelcontextprotocol/sdk": "^1.16.0",
41
- "axios": "^1.10.0",
40
+ "@modelcontextprotocol/sdk": "^1.17.3",
42
41
  "cors": "^2.8.5",
43
42
  "express": "^5.1.0",
44
43
  "yargs": "^18.0.0"
@@ -46,10 +45,10 @@
46
45
  "devDependencies": {
47
46
  "@types/cors": "^2.8.19",
48
47
  "@types/express": "^5.0.3",
49
- "@types/node": "^24.0.14",
48
+ "@types/node": "^24.3.0",
50
49
  "@types/yargs": "^17.0.33",
51
- "esbuild": "^0.25.6",
52
- "typescript": "^5.8.3"
50
+ "esbuild": "^0.25.9",
51
+ "typescript": "^5.9.2"
53
52
  },
54
53
  "type": "module"
55
54
  }