listMethods
Retrieve a list of available MCP methods for managing content, components, and assets in Adobe Experience Manager using the AEM MCP Server.
Instructions
Get list of available MCP methods
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp-server.ts:697-700 (handler)Handler implementation for the listMethods MCP tool. Returns a JSON string of all registered tools when called.case 'listMethods': { const result = tools; return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- src/mcp-server.ts:249-253 (schema)Tool schema definition for listMethods, part of the tools array used for registration and listing.{ name: 'listMethods', description: 'Get list of available MCP methods', inputSchema: { type: 'object', properties: {} }, },
- src/mcp-handler.ts:55-56 (handler)Handler case for listMethods in MCPRequestHandler class, delegates to getAvailableMethods() helper.case 'listMethods': return { methods: this.getAvailableMethods() };
- src/mcp-handler.ts:118-169 (helper)Helper method that returns a hardcoded list of all available methods with descriptions and parameter lists, used by listMethods handler.getAvailableMethods() { return [ { name: 'validateComponent', description: 'Validate component changes before applying them', parameters: ['locale', 'page_path', 'component', 'props'] }, { name: 'updateComponent', description: 'Update component properties in AEM', parameters: ['componentPath', 'properties'] }, { name: 'undoChanges', description: 'Undo the last component changes', parameters: ['job_id'] }, { name: 'scanPageComponents', description: 'Scan a page to discover all components and their properties', parameters: ['pagePath'] }, { name: 'fetchSites', description: 'Get all available sites in AEM', parameters: [] }, { name: 'fetchLanguageMasters', description: 'Get language masters for a specific site', parameters: ['site'] }, { name: 'fetchAvailableLocales', description: 'Get available locales for a site and language master', parameters: ['site', 'languageMasterPath'] }, { name: 'replicateAndPublish', description: 'Replicate and publish content to selected locales', parameters: ['selectedLocales', 'componentData', 'localizedOverrides'] }, { name: 'getAllTextContent', description: 'Get all text content from a page including titles, text components, and descriptions', parameters: ['pagePath'] }, { name: 'getPageTextContent', description: 'Get text content from a specific page', parameters: ['pagePath'] }, { name: 'getPageImages', description: 'Get all images from a page, including those within Experience Fragments', parameters: ['pagePath'] }, { name: 'updateImagePath', description: 'Update the image path for an image component and verify the update', parameters: ['componentPath', 'newImagePath'] }, { name: 'getPageContent', description: 'Get all content from a page including Experience Fragments and Content Fragments', parameters: ['pagePath'] }, { name: 'listPages', description: 'List all pages under a site root', parameters: ['siteRoot', 'depth', 'limit'] }, { name: 'getNodeContent', description: 'Legacy: Get JCR node content', parameters: ['path', 'depth'] }, { name: 'listChildren', description: 'Legacy: List child nodes', parameters: ['path'] }, { name: 'getPageProperties', description: 'Get page properties', parameters: ['pagePath'] }, { name: 'searchContent', description: 'Search content using Query Builder', parameters: ['type', 'fulltext', 'path', 'limit'] }, { name: 'executeJCRQuery', description: 'Execute JCR query', parameters: ['query', 'limit'] }, { name: 'getAssetMetadata', description: 'Get asset metadata', parameters: ['assetPath'] }, { name: 'getStatus', description: 'Get workflow status by ID', parameters: ['workflowId'] }, { name: 'listMethods', description: 'Get list of available MCP methods', parameters: [] }, { name: 'enhancedPageSearch', description: 'Intelligent page search with comprehensive fallback strategies and cross-section search', parameters: ['searchTerm', 'basePath', 'includeAlternateLocales'] }, { name: 'createPage', description: 'Create a new page in AEM', parameters: ['parentPath', 'title', 'template', 'name', 'properties'] }, { name: 'deletePage', description: 'Delete a page from AEM', parameters: ['pagePath', 'force'] }, { name: 'createComponent', description: 'Create a new component on a page', parameters: ['pagePath', 'componentType', 'resourceType', 'properties', 'name'] }, { name: 'deleteComponent', description: 'Delete a component from AEM', parameters: ['componentPath', 'force'] }, { name: 'unpublishContent', description: 'Unpublish content from the publish environment', parameters: ['contentPaths', 'unpublishTree'] }, { name: 'activatePage', description: 'Activate (publish) a single page', parameters: ['pagePath', 'activateTree'] }, { name: 'deactivatePage', description: 'Deactivate (unpublish) a single page', parameters: ['pagePath', 'deactivateTree'] }, { name: 'uploadAsset', description: 'Upload a new asset to AEM DAM', parameters: ['parentPath', 'fileName', 'fileContent', 'mimeType', 'metadata'] }, { name: 'updateAsset', description: 'Update an existing asset in AEM DAM', parameters: ['assetPath', 'metadata', 'fileContent', 'mimeType'] }, { name: 'deleteAsset', description: 'Delete an asset from AEM DAM', parameters: ['assetPath', 'force'] }, { name: 'getTemplates', description: 'Get available page templates', parameters: ['sitePath'] }, { name: 'getTemplateStructure', description: 'Get detailed structure of a specific template', parameters: ['templatePath'] }, { name: 'bulkUpdateComponents', description: 'Update multiple components in a single operation with validation and rollback support', parameters: ['updates', 'validateFirst', 'continueOnError'] }, { name: 'startWorkflow', description: 'Start a new workflow instance', parameters: ['model', 'payloadPath', 'title', 'comment'] }, { name: 'listActiveWorkflows', description: 'List all currently running workflow instances', parameters: ['limit'] }, { name: 'completeWorkflowStep', description: 'Complete a workflow step', parameters: ['workflowId', 'stepName', 'comment'] }, { name: 'cancelWorkflow', description: 'Cancel a workflow instance', parameters: ['workflowId', 'reason'] }, { name: 'suspendWorkflow', description: 'Suspend a workflow instance', parameters: ['workflowId', 'reason'] }, { name: 'resumeWorkflow', description: 'Resume a suspended workflow instance', parameters: ['workflowId'] }, { name: 'getWorkflowModels', description: 'Get all available workflow models', parameters: [] }, { name: 'getVersionHistory', description: 'Get version history for a content path', parameters: ['path'] }, { name: 'createVersion', description: 'Create a new version of content', parameters: ['path', 'label', 'comment'] }, { name: 'restoreVersion', description: 'Restore content to a specific version', parameters: ['path', 'versionName'] }, { name: 'compareVersions', description: 'Compare two versions of content', parameters: ['path', 'version1', 'version2'] }, { name: 'deleteVersion', description: 'Delete a specific version', parameters: ['path', 'versionName'] }, ]; }
- src/mcp-handler.ts:141-141 (registration)Self-registration of listMethods within the hardcoded methods list returned by getAvailableMethods.{ name: 'listMethods', description: 'Get list of available MCP methods', parameters: [] },