Skip to main content
Glama

Azure DevOps MCP Server with PAT Authentication

by ennuiii

repo_update_pull_request

Update a pull request in Azure DevOps by specifying its ID and modifying fields such as title, description, target branch, or status using Personal Access Token authentication.

Instructions

Update a Pull Request by ID with specified fields.

Input Schema

NameRequiredDescriptionDefault
descriptionNoThe new description for the pull request.
isDraftNoWhether the pull request should be a draft.
pullRequestIdYesThe ID of the pull request to update.
repositoryIdYesThe ID of the repository where the pull request exists.
statusNoThe new status of the pull request. Can be 'Active' or 'Abandoned'.
targetRefNameNoThe new target branch name (e.g., 'refs/heads/main').
titleNoThe new title for the pull request.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "description": { "description": "The new description for the pull request.", "type": "string" }, "isDraft": { "description": "Whether the pull request should be a draft.", "type": "boolean" }, "pullRequestId": { "description": "The ID of the pull request to update.", "type": "number" }, "repositoryId": { "description": "The ID of the repository where the pull request exists.", "type": "string" }, "status": { "description": "The new status of the pull request. Can be 'Active' or 'Abandoned'.", "enum": [ "Active", "Abandoned" ], "type": "string" }, "targetRefName": { "description": "The new target branch name (e.g., 'refs/heads/main').", "type": "string" }, "title": { "description": "The new title for the pull request.", "type": "string" } }, "required": [ "repositoryId", "pullRequestId" ], "type": "object" }

Other Tools from Azure DevOps MCP Server with PAT Authentication

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ennuiii/DevOpsMcpPAT'

If you have feedback or need assistance with the MCP directory API, please join our Discord server