---
schema_version: "1"
id: 89ef8b91f77fc1b7ad3c4d9278de7918cf2f53ce143e20b8806b23e27208f495
title: Resolve Deployment Failures with Lifecycle Center MCP Tools
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_mcp_resolve_deployment_failure.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_mcp_resolve_deployment_failure.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c717bc3e774fd9d669232fa5942bd9fd3011331837426e3d0182d0ef0d85e7be
description: When a deployment fails, the Lifecycle Center MCP tools analyze the logs to find the problem and provide clear explanations or steps to fix it.
products:
  - Salesforce Platform
release: "264"
---
# Resolve Deployment Failures with Lifecycle Center MCP Tools

When a deployment fails, the Lifecycle Center MCP tools analyze the logs to find the problem and provide clear explanations or steps to fix it.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong> (API access required), <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Not Available in: <strong>Government Cloud Plus</strong>. Contact your Salesforce account executive for more details.</td></tr></tbody><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Not available in: <strong>EU Operating</strong> Zone. EU Operating zone is a special paid offering that provides an enhanced level of data residency commitment. Lifecycle Center <em>is</em> supported in orgs in the EU that aren’t part of EU OZ, per standard product terms and conditions.</td></tr></tbody></table>

Before you begin, set up the Salesforce DX MCP Server. See [Access Lifecycle Center MCP Tools](https://help.salesforce.com/s/articleView?id=platform.devops_center_mcp_access_tools.htm&release=264.0.0&type=5 "Set up Salesforce DX MCP Server for use with Agentforce Vibes IDE, integrated with Agentforce Vibes Extension as the MCP client. Use prompts in Agentforce, a part of Agentforce Vibes Extension, to do common DevOps tasks, like managing work items, and resolving merge conflicts.").

## Diagnose and resolve a deployment failure

Analyze the logs to identify the cause of the deployment failure and provide recommendations or troubleshooting steps for resolution.

Prompt

"Resolve the deployment failure for Work Item WI-001234.

The source workItem branch : WI-001234

Target Branch : Mar4\_Int

Error Details : DEPLOYMENT\_FAILURE: DeploymentFail2: Variable does not exist: Say\_hello (classes/DeploymentFail2.cls)"

How It Works

The `resolve_devops_center_deployment_failure` tool analyzes the deployment logs, identifies the error, and suggests potential troubleshooting steps, such as full promotion.

Sample Response

"1. Branch verification

\- Confirmed repository path: /home/codebuilder/dx-project/devops-center-repo

\- Checked out and verified branch: WI-001234

\- Current branch is up to date with origin/WI-001234

2\. Deployment failure analysis

\- Error: DeploymentFail2: Variable does not exist: Say\_hello (classes/DeploymentFail2.cls)

\- Determination: Full promotion can resolve the failure because dependency Say\_hello exists in source and target.

3\. Full promotion

\- Submitted full promotion for work item WI-001234

\- Response: message: Submitted for promotion, promotedWorkitemids: \["1fkWt000000VzVRIA0”\], requestld: 06309a61-d9da-492c-b9d8-a11b0b6a378, status: SUBMITTED

Next steps performed by pipeline: Lifecycle Center will process the full deployment for WI-001234. You can monitor promotion status in Lifecycle Center UI using the work item and requestld above.

\- Deliverables:

\- Verified correct branch checked out (WI-001234)

\- Promotion submitted to resolve dependency failure via full”