Skip to content

cloudadoption/helix-mcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helix MCP Server

CI

An MCP (Model Context Protocol) server that provides tools to enable developers and administators of sites deployed with AEM Edge Delivery Services and Document Authoring.

Features

Tools

  • page-status - Retrieves the status of a single page including when it was last published, previewed, and edited, along with who performed those actions.
  • start-bulk-status - Initiates a bulk status check for multiple pages in a site, returning a job ID for tracking the asynchronous operation.
  • check-bulk-status - Checks the status of a bulk page status job and retrieves results for all pages including their publishing and preview status.
  • audit-log - Retrieves detailed audit logs from the AEM Edge Delivery Services repository showing user activities, system operations, and performance metrics.
  • rum-data - Queries Core Web Vitals and engagement metrics for sites or pages using operational telemetry data with various aggregation types.
  • aem-docs-search - Searches the AEM documentation at www.aem.live for specific topics, features, or guidance.
  • block-list - Retrieve the list of blocks in the AEM Block Collection
  • block-details - Retrieve the details for the implementation of a specific block in the AEM Block Collection

Prompts

Development

Linting

This project uses ESLint for code quality and consistency. The linting configuration is set up with modern JavaScript standards and best practices.

Available scripts:

  • npm run lint - Check for linting issues
  • npm run lint:fix - Automatically fix linting issues where possible

Usage

Cursor AI setup

Install MCP Server

To use this MCP server with Cursor AI, go to Cursor Settings, MCP and a New global MCP server. Add this entry to your list of mcpServers:

"helix-mcp-server": {
  "command": "npx",
  "args": [
    "https://github.com/cloudadoption/helix-mcp"
  ],
  "env": {
    "HELIX_ADMIN_API_TOKEN": "your_api_token_here",
    "RUM_DOMAIN_KEY": "your_rum_domain_key"
  }
}

VS Code with GitHub Copilot setup

To use this MCP server with VS Code and GitHub Copilot:

  1. Install the MCP extension: Install the "Model Context Protocol" extension from the VS Code marketplace.

  2. Configure MCP settings: Open VS Code settings (Cmd/Ctrl + ,) and search for "mcp".

  3. Add the MCP server configuration: Add the following to your VS Code settings.json:

{
  "mcp.servers": {
    "helix-mcp-server": {
      "command": "npx",
      "args": [
        "https://github.com/cloudadoption/helix-mcp"
      ],
      "env": {
       "HELIX_ADMIN_API_TOKEN": "your_api_token_here",
       "RUM_DOMAIN_KEY": "your_rum_domain_key"
      }
    }
  }
}
  1. Restart VS Code: After adding the configuration, restart VS Code to load the MCP server.

  2. Verify installation: Open the Command Palette (Cmd/Ctrl + Shift + P) and type "MCP" to see available MCP commands.

Note: Replace your_api_token_here with your actual API tokens. You can obtain the Helix admin token by following these instructions: https://www.aem.live/docs/admin-apikeys OR by logging into admin.hlx.page/login and capturing the auth_token from the cookie.

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

License

MIT

About

MCP Server for Helix use-cases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%