AEM MCP Server
A full-featured MCP server for Adobe Experience Manager that enables non-technical users to manage AEM content, components, assets, and workflows via natural language through any MCP-compatible client.
README
AEM MCP Server (aem-mcp-server)
AEM MCP Server is a full-featured Model Context Protocol (MCP) server for Adobe Experience Manager (AEM). It provides a simple integration with any AI Agent. This project is designed for non-technical persons who want to manage AEM via natural language.
Overview
- Manage your AEM instance with natural language — content, components, assets, workflows
- Works with any MCP-compatible client:
- AI IDEs — Cursor, VS Code + Copilot, Windsurf, Cline, JetBrains AI Assistant, Zed
- CLI agents — Claude Code, GitHub Copilot CLI, Gemini CLI, Amazon Q CLI
- Chat & desktop apps — Claude Desktop, ChatGPT Desktop, Goose
- Supports both AEMaaCS and self-hosted AEM instances
- Two transport modes — stdio via
npx(recommended, zero install) and streamable HTTP
Quick Start
Prerequisites
- Node.js 20.19.0+ || 22.12.0+ || 23+
- Access to an AEM instance (local or remote)
Stdio Transport (recommended)
No installation needed — the AI agent downloads and spawns the process automatically via npx.
Add to your project's MCP config (.mcp.json, .vscode/mcp.json, .cursor/mcp.json, etc.):
{
"mcpServers": {
"AEM": {
"command": "npx",
"args": ["-y", "aem-mcp-server", "-t", "stdio", "-H", "http://localhost:4502", "-u", "admin", "-p", "admin"]
}
}
}
Secrets: Since MCP config files are typically committed to the repo, avoid hardcoding credentials. Use your client's env var syntax instead:
Client Syntax Claude Code ( .mcp.json)${AEM_PASSWORD}or${AEM_PASSWORD:-admin}VS Code / Copilot ${input:aem-password}(prompts securely) orenvFileCursor ${env:AEM_PASSWORD}Example with env var references (Claude Code):
{ "mcpServers": { "AEM": { "command": "npx", "args": ["-y", "aem-mcp-server", "-t", "stdio", "-H", "${AEM_HOST:-http://localhost:4502}", "-u", "${AEM_USER:-admin}", "-p", "${AEM_PASSWORD:-admin}"] } } }
Streamable HTTP Transport (alternative)
For scenarios where you need a persistent server (shared team server, multiple clients connecting simultaneously, etc.), install globally and start the server manually:
npm install aem-mcp-server -g
aem-mcp -H=http://localhost:4502 -u=admin -p=admin
Then point your AI agent to the URL:
{
"mcpServers": {
"AEM": {
"url": "http://127.0.0.1:8502/mcp"
}
}
}
Configuration
Options:
--version Show version number [boolean]
-H, --host [string] [default: "http://localhost:4502"]
-u, --user [string] [default: "admin"]
-p, --pass [string] [default: "admin"]
-i, --id clientId [string] [default: ""]
-s, --secret clientSecret [string] [default: ""]
-m, --mcpPort [number] [default: 8502]
-t, --transport Transport mode: http (default) or stdio
[string] [choices: "http", "stdio"] [default: "http"]
-I, --instances Named AEM instances: "local:http://localhost:4502:admin:admin
,qa:https://qa.example.com:user:pass" [string] [default: ""]
-h, --help Show help [boolean]
Authentication:
- For AEMaaCS, use
clientIdandclientSecretfor OAuth S2S authentication. More info. - For self-hosted AEM, use
user/pass. Default credentials areadmin:admin.
Multi-instance: Connect to multiple AEM instances simultaneously:
aem-mcp --instances "author:http://localhost:4502:admin:admin,publish:http://localhost:4503:admin:admin"
All tools will get an instance parameter to target a specific instance.
Features
- 57 MCP Tools covering pages, components, assets, workflows, content fragments, and experience fragments
- MCP Resources — agents discover components, sites, templates, and workflow models upfront via
resources/list, eliminating discovery roundtrips - Tool Annotations — every tool tagged with
group,readOnly, andcomplexityso agents can make smarter tool selection decisions - Response Verbosity —
verbosityparameter (summary/standard/full) on content-reading tools strips JCR internals and truncates long text - Actionable Errors — error responses include
suggestionandalternativesfields for self-healing agent workflows - Component Operations: Update, scan, add, convert, and bulk-manage AEM components (including Experience Fragments)
- Content & Experience Fragments: Full CRUD + variation management for both CF and XF
- Advanced Search: QueryBuilder, fulltext, fuzzy, and enhanced page search
- Replication & Workflows: Publish/unpublish content, start/advance/delegate workflow stages
- Text & Image Extraction: Extract all text and images from pages, including fragments
- Template & Structure Discovery: List templates, analyze page/component structure
- Multi-instance: Connect to multiple AEM instances simultaneously; tools and resources are instance-aware
- Security: Basic auth and OAuth S2S, environment-based config, safe operation defaults
Usage
Once configured in your AI IDE, just ask in natural language:
List all components on MyPage
MCP Resources
The server exposes read-only MCP resources so agents can discover AEM catalogs without tool calls:
| Resource URI | Description |
|---|---|
aem://{instance}/components |
All components (name, resourceType, title, group) |
aem://{instance}/sites |
Site roots and language structure under /content |
aem://{instance}/templates |
Available page templates (path, title) |
aem://{instance}/workflow-models |
Workflow models (ID, title, description) |
Resources return summary data only. In multi-instance mode, each instance gets its own set of resource URIs.
API Documentation
For detailed API documentation, please refer to the API Docs.
Similar Projects
- https://github.com/easingthemes/aem-mcp-server (Used as a base for this project)
- https://github.com/indrasishbanerjee/aem-mcp-server (Used as a base for #1)
- https://www.npmjs.com/package/@myea/aem-mcp-handler (Looks like an original source of #2)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。