Implement support for Azure DevOps classic release pipelines also known as multi-stage release definitions #1061
mrvinaykj
started this conversation in
Backlog of Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Implement support for Azure DevOps classic release pipelines (also known as multi-stage release definitions). These pipelines use a separate host (
vsrm.dev.azure.com) and a distinct REST API surface that is currently not covered by any existing tools. The addition enables agents and users to create releases, monitor stage progress, and manage pre-deployment approvals entirely through MCP — without falling back to raw PowerShell REST calls.Tools
Develop the following tools with full parameter support, including optional ones:
list_release_definitions: List classic release pipeline definitions in a project.Endpoint:
GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/definitions?api-version=7.1list_releases: List releases for a given release definition.Endpoint:
GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases?definitionId={definitionId}&api-version=7.1get_release: Get full details of a specific release, including environment/stage statuses and artifact versions.Endpoint:
GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases/{releaseId}?api-version=7.1create_release: Create a new classic release, optionally pinning specific artifact versions.Endpoint:
POST https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases?api-version=7.1update_release_environment: Trigger or update a stage (environment) within a release — used to queue a deployment.Endpoint:
PATCH https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases/{releaseId}/environments/{environmentId}?api-version=7.1get_release_approvals: List pending or completed pre/post-deployment approvals for a release.Endpoint:
GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/approvals?releaseId={releaseId}&api-version=7.1update_release_approval: Approve or reject a pending pre/post-deployment approval gate.Endpoint:
PATCH https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/approvals/{approvalId}?api-version=7.1Rules
IReleaseApiinterface (getReleaseApi()).vsrm.dev.azure.com, notdev.azure.com— the connection URL must be adjusted accordingly when initialising the release API client.Special treat
If you follow the rules, you'll get candy!
Beta Was this translation helpful? Give feedback.
All reactions