
Aem Mcp Server
io.github.easingthemes由 GitHub 账号 easingthemes 发布v1.3.9更新于 Oct 24, 2026
AEM MCP server. Chat with your AEM instance for content, component, and asset operations.
概览
面向 Adobe Experience Manager 的 MCP 服务器,让助手用自然语言管理 AEM 的页面、组件、资产、内容片段和工作流。
- 可以做什么
- 管理页面与组件:更新、扫描、添加、转换和批量管理组件,并分析页面与组件结构
- 处理内容片段与体验片段:完整增删改查、变体管理,以及服务端合并 JSON 字符串字段
- 搜索与发现:QueryBuilder、全文、模糊和增强页面搜索,以及模板与站点结构
- 发布与工作流:发布或取消发布内容,启动、推进或委派工作流阶段
- 从页面(含片段)中提取文本和图片
- 以只读资源列出各实例的组件、站点、模板和工作流模型
- 适用场景
- 适合希望通过 AI 客户端操作 AEM 创作或发布实例(AEMaaCS 或自托管)而无需写代码的场景,例如列出页面上的组件、编辑片段或发布内容。内容与市场团队以及偏好自然语言管理 AEM 的开发者都能使用。
- 运行要求
- 需要 Node.js 20.19.0+、22.12.0+ 或 23+,以及可访问的 AEM 实例(本地或远程)。可通过 npx 以 stdio 运行,或全局安装后以 streamable HTTP 运行(默认端口 8502)。凭据以命令行参数传入:自托管 AEM 用 host、user、pass,AEMaaCS 用 clientId 和 clientSecret 进行 OAuth S2S 认证。可配置多个命名实例。
安装
在 SourceWeft 中
- 打开 控制台中的 Aem Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
AEM MCP Server (aem-mcp-server)
[Version] [Release Status] [CodeQL Analysis] [semver: semantic-release] [AGPL-3.0]
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.):
Secrets: Since MCP config files are typically committed to the repo, avoid hardcoding credentials. Use your client's env var syntax instead:
Example with env var references (Claude Code):
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:
Then point your AI agent to the URL:
Configuration
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:
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, plus server-side JSON-string field merging (
manageContentFragmentactionmergeJsonField) for CFs that store a whole key→value map inside one JSON-encoded field - 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:
Merging into a JSON-string field
Some Content Fragments store an entire key→value map inside a single field as a JSON-encoded
string. To upsert a few keys without round-tripping the whole blob, use the mergeJsonField
action — the read-merge-write happens server-side:
New keys are added, existing keys overwritten (deep-merge), and untouched keys preserved. The response reports the keys added/overwritten and the before/after key count at the pointer.
MCP Resources
The server exposes read-only MCP resources so agents can discover AEM catalogs without tool calls:
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)
来源:README.md,提交 fdf582a
工具
0版本历史
1- v1.3.9最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分