Deploying a snapshot to an environment with the Deploy MCP server - A walkthrough

You can learn perform a basic deployment with the HCL DevOps Deploy (Deploy) MCP server by using chat prompts.

Before you begin

You must have completed the following tasks:
  • Defined applications, processes, environments, and snapshots in your Deploy system.
  • Configured and started the Deploy MCP server.

About this task

You must use a sequence of prompts in your MCP client to verify resources and initiate a deployment.

Procedure

  1. Prompt: List my applications.
    A list of all your applications is displayed (for example, App1, App2, etc.).
  2. Prompt: List environments for App1.
    A list of all environments defined within the application App1 is displayed (for example, dev, test, prod, etc.).
  3. Prompt: List the application processes for App1.
    A list of all application processes defined for the application Product1 is displayed (for example, appProcess1, appProcess2, etc.).
  4. Prompt: List snapshots for App1.
    A list of all snapshots defined for the application Product1 is displayed (for example, snapshot1, snapshot2, etc.).
  5. Prompt: Deploy snapshot1 of App1 using appProcess into test.
    The output displays the deployment request ID initiated with the prompt.
  6. Prompt: Get the deployment status.
    The output displays the deployment status.