Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AEM_HOST | No | The AEM host URL | http://localhost:4502 |
| MCP_PORT | No | The MCP server port | 8080 |
| AEM_XF_ROOT | No | The root path for AEM experience fragments | /content/experience-fragments |
| GATEWAY_PORT | No | The gateway port | 3001 |
| MCP_PASSWORD | No | The MCP password for authentication | admin |
| MCP_USERNAME | No | The MCP username for authentication | admin |
| AEM_MAX_DEPTH | No | The maximum depth for AEM operations | 5 |
| AEM_SITES_ROOT | No | The root path for AEM sites | /content |
| OPENAI_API_KEY | No | Your OpenAI API key for AI integration | |
| AEM_ASSETS_ROOT | No | The root path for AEM assets | /content/dam |
| AEM_SERVICE_USER | No | The AEM service user | admin |
| AEM_DEFAULT_AGENT | No | The default AEM replication agent | publish |
| AEM_QUERY_TIMEOUT | No | The timeout for AEM queries in milliseconds | 30000 |
| AEM_PUBLISHER_URLS | No | The AEM publisher URLs | http://localhost:4503 |
| AEM_TEMPLATES_ROOT | No | The root path for AEM templates | /conf |
| TELEGRAM_BOT_TOKEN | No | Your Telegram bot token for chat-based AEM management | |
| AEM_QUERY_MAX_LIMIT | No | The maximum limit for AEM queries | 100 |
| AEM_SERVICE_PASSWORD | No | The AEM service password | admin |
| AEM_ALLOWED_COMPONENTS | No | Comma-separated list of allowed AEM components | text,image,hero,button,list,teaser,carousel |
| AEM_QUERY_DEFAULT_LIMIT | No | The default limit for AEM queries | 20 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validateComponent | Validate component changes before applying them |
| updateComponent | Update component properties in AEM |
| undoChanges | Undo the last component changes |
| scanPageComponents | Scan a page to discover all components and their properties |
| fetchSites | Get all available sites in AEM |
| fetchLanguageMasters | Get language masters for a specific site |
| fetchAvailableLocales | Get available locales for a site and language master |
| replicateAndPublish | Replicate and publish content to selected locales |
| getAllTextContent | Get all text content from a page including titles, text components, and descriptions |
| getPageTextContent | Get text content from a specific page |
| getPageImages | Get all images from a page, including those within Experience Fragments |
| updateImagePath | Update the image path for an image component and verify the update |
| getPageContent | Get all content from a page including Experience Fragments and Content Fragments |
| listPages | List all pages under a site root |
| getNodeContent | Legacy: Get JCR node content |
| listChildren | Legacy: List child nodes |
| getPageProperties | Get page properties |
| searchContent | Search content using Query Builder |
| executeJCRQuery | Execute JCR query |
| getAssetMetadata | Get asset metadata |
| getStatus | Get workflow status by ID |
| listMethods | Get list of available MCP methods |
| enhancedPageSearch | Intelligent page search with comprehensive fallback strategies and cross-section search |
| createPage | Create a new page in AEM |
| deletePage | Delete a page from AEM |
| createComponent | Create a new component on a page |
| deleteComponent | Delete a component from AEM |
| unpublishContent | Unpublish content from the publish environment |
| activatePage | Activate (publish) a single page |
| deactivatePage | Deactivate (unpublish) a single page |
| uploadAsset | Upload a new asset to AEM DAM |
| updateAsset | Update an existing asset in AEM DAM |
| deleteAsset | Delete an asset from AEM DAM |
| getTemplates | Get available page templates |
| getTemplateStructure | Get detailed structure of a specific template |
| bulkUpdateComponents | Update multiple components in a single operation with validation and rollback support |