Runtime environment used for executing the AEM MCP server
Package manager used for dependency management and running the server
Programming language used for server implementation
AEM MCP Server
A Model Context Protocol (MCP) server for Adobe Experience Manager (AEM) local instance management. This server provides tools to interact with AEM instances, manage packages, check status, and perform common development tasks.
Features
The AEM MCP server provides the following tools:
1. aem_status
Check the status of an AEM instance including version, bundle count, and overall health.
Parameters:
host
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
2. aem_install_package
Install a package (.zip file) in AEM.
Parameters:
packagePath
(required): Path to the package file (.zip)host
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)force
(optional): Force installation (default: false)
3. aem_list_packages
List all installed packages in AEM.
Parameters:
host
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
4. aem_create_page
Create a new page in AEM.
Parameters:
parentPath
(required): Parent path where to create the pagepageName
(required): Name of the new pagepageTitle
(required): Title of the new pagetemplate
(required): Template path for the pagehost
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
5. aem_replicate_content
Replicate content to publish instance (activate/deactivate).
Parameters:
path
(required): Content path to replicateaction
(optional): Replication action - 'activate' or 'deactivate' (default: activate)host
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
6. aem_query_content
Query content using JCR-SQL2 or XPath.
Parameters:
query
(required): Query string (JCR-SQL2 or XPath)type
(optional): Query type - 'JCR-SQL2' or 'xpath' (default: JCR-SQL2)limit
(optional): Maximum number of results (default: 20)host
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
7. aem_bundle_status
Check OSGi bundle status.
Parameters:
bundleId
(optional): Specific bundle ID or symbolic namehost
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
8. aem_clear_cache
Clear various AEM caches.
Parameters:
cacheType
(optional): Type of cache to clear - 'dispatcher', 'clientlibs', or 'all' (default: all)host
(optional): AEM host (default: localhost)port
(optional): AEM port (default: 4502)username
(optional): AEM username (default: admin)password
(optional): AEM password (default: admin)
Installation
- Clone or download this repository
- Install dependencies:
- Build the project:
Usage
Running the Server
Development Mode
Configuration
The server uses default AEM credentials (admin/admin) and connects to localhost:4502 by default. You can override these settings by providing different parameters when calling the tools.
Example Usage
Once the MCP server is configured and running, you can use the tools through your MCP client:
- Check AEM status:
aem_status
- Install a package:
aem_install_package
withpackagePath: "/path/to/package.zip"
- Create a page:
aem_create_page
with required parameters - Query content:
aem_query_content
withquery: "SELECT * FROM [cq:Page]"
Requirements
- Node.js 18+
- TypeScript
- Running AEM instance (local or remote)
- Appropriate AEM credentials
License
MIT License
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that provides tools to interact with Adobe Experience Manager instances, allowing users to manage packages, check status, create pages, replicate content, and perform other common AEM development tasks.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that facilitates communication between ABAP systems and MCP clients, providing tools for managing ABAP objects, handling transport requests, and performing code analysis to enhance ABAP development workflows.Last updated -12840TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server for Adobe After Effects that enables AI assistants and other applications to control After Effects through a standardized protocol.Last updated -1390JavaScriptMIT License
- -securityAlicense-qualityA server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.Last updated -18TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server for Adobe Experience Manager that provides REST/JSON-RPC APIs for content, component, and asset management with AI, chatbot, and automation integrations.Last updated -363TypeScriptMIT License