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
- Defined applications, processes, environments, and snapshots in your Deploy system.
- Connected an MCP client with the Deploy MCP server. See Connecting MCP client to Deploy MCP server.
About this task
You can use the following prompts in your MCP client to verify resources and initiate a deployment.
Procedure
-
Prompt: List my applications.
A list of all your applications is displayed (for example,
App1,App2, etc.). -
Prompt: List environments for
App1.A list of all environments defined within the applicationApp1is displayed (for example,dev,test,prod, etc.). -
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.). -
Prompt: List snapshots for
App1.A list of all snapshots defined for the application Product1 is displayed (for example,snapshot1,snapshot2, etc.). -
Prompt: Deploy
snapshot1ofApp1intotest.The output displays the deployment request ID initiated with the prompt.Note: Depending on the capabilities of the LLM, you can use this prompt independently of the previous prompts. -
Prompt: Get the deployment status.
The output displays the deployment status.