npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@iflow-mcp/aem-mcp-server

v1.0.0

Published

MCP server for Adobe Experience Manager (AEM) local instance management

Readme

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 page
  • pageName (required): Name of the new page
  • pageTitle (required): Title of the new page
  • template (required): Template path for the page
  • host (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 replicate
  • action (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 name
  • host (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

  1. Clone or download this repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Usage

Running the Server

npm start

Development Mode

npm run dev

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 with packagePath: "/path/to/package.zip"
  • Create a page: aem_create_page with required parameters
  • Query content: aem_query_content with query: "SELECT * FROM [cq:Page]"

Requirements

  • Node.js 18+
  • TypeScript
  • Running AEM instance (local or remote)
  • Appropriate AEM credentials

License

MIT License