MuleSoft · Capability

Application Deployment Management

Deploy, monitor, and manage CloudHub applications across the Anypoint Platform

Run with Naftiko

What You Can Do

GET
/applications
GET
/applications/{domain}
GET
/applications/{domain}/status

MCP Tools

list-applications

List all CloudHub applications with their runtime status and configuration

read-only
get-application

Get configuration and runtime details for a specific CloudHub application

read-only
get-application-status

Check the current deployment and runtime status of a CloudHub application

read-only
deploy-application

Deploy a new Mule application to CloudHub

update-application

Update configuration or redeploy a CloudHub application

idempotent
delete-application

Delete and undeploy a CloudHub application permanently

idempotent

Capability Spec

application-deployment-management.yaml Raw ↑
naftiko: "1.0.0-alpha1"

info:
  name: MuleSoft CloudHub Application Deployment Management
  description: Deploy, monitor, and manage CloudHub applications across the Anypoint Platform
  version: 1.0.0

import:
  - name: cloudhub
    location: shared/cloudhub.yaml

capability:
  exposes:
    - type: rest
      port: 8113
      namespace: mulesoft-app-rest
      resources:
        - path: "/applications"
          name: applications
          label: "List Applications"
          description: "List all deployed CloudHub applications"
          operations:
            - method: GET
              call: cloudhub.listApplications
              outputParameters:
                - type: array
                  mapping: "$."
                  items:
                    type: object

        - path: "/applications/{domain}"
          name: application
          label: "Get Application"
          description: "Get details for a specific CloudHub application"
          operations:
            - method: GET
              call: cloudhub.getApplication
              inputParameters:
                - name: domain
                  in: path
                  type: string
                  required: true
                  description: "Application domain name"
              outputParameters:
                - type: object
                  mapping: "$."

        - path: "/applications/{domain}/status"
          name: applicationStatus
          label: "Get Application Status"
          description: "Get the current runtime status of a CloudHub application"
          operations:
            - method: GET
              call: cloudhub.getApplicationStatus
              inputParameters:
                - name: domain
                  in: path
                  type: string
                  required: true
                  description: "Application domain name"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      address: "0.0.0.0"
      port: 9113
      namespace: mulesoft-applications
      description: "MuleSoft CloudHub application deployment and lifecycle management — deploy, update, monitor, and undeploy Mule applications"
      tools:
        - name: list-applications
          description: "List all CloudHub applications with their runtime status and configuration"
          hints:
            readOnly: true
          call: cloudhub.listApplications
          outputParameters:
            - type: array
              mapping: "$."
              items:
                type: object

        - name: get-application
          description: "Get configuration and runtime details for a specific CloudHub application"
          hints:
            readOnly: true
          call: cloudhub.getApplication
          inputParameters:
            - name: domain
              type: string
              required: true
              description: "Application domain name"
          outputParameters:
            - type: object
              mapping: "$."

        - name: get-application-status
          description: "Check the current deployment and runtime status of a CloudHub application"
          hints:
            readOnly: true
          call: cloudhub.getApplicationStatus
          inputParameters:
            - name: domain
              type: string
              required: true
              description: "Application domain name"
          outputParameters:
            - type: object
              mapping: "$."

        - name: deploy-application
          description: "Deploy a new Mule application to CloudHub"
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: cloudhub.createApplication
          inputParameters:
            - name: body
              type: object
              required: true
              description: "Application deployment configuration including domain, muleVersion, and workers"
          outputParameters:
            - type: object
              mapping: "$."

        - name: update-application
          description: "Update configuration or redeploy a CloudHub application"
          hints:
            readOnly: false
            destructive: false
            idempotent: true
          call: cloudhub.updateApplication
          inputParameters:
            - name: domain
              type: string
              required: true
              description: "Application domain name"
            - name: body
              type: object
              required: true
              description: "Updated application configuration"
          outputParameters:
            - type: object
              mapping: "$."

        - name: delete-application
          description: "Delete and undeploy a CloudHub application permanently"
          hints:
            readOnly: false
            destructive: true
            idempotent: true
          call: cloudhub.deleteApplication
          inputParameters:
            - name: domain
              type: string
              required: true
              description: "Application domain name"
          outputParameters:
            - type: object
              mapping: "$."