Skip to main content
Glama

Azure DevOps MCP Server with PAT Authentication

by ennuiii

repo_create_pull_request

Create a pull request in Azure DevOps by specifying source and target branches, title, and optional details. Connects via PAT authentication to streamline repository collaboration.

Instructions

Create a new pull request.

Input Schema

NameRequiredDescriptionDefault
descriptionNoThe description of the pull request. Optional.
forkSourceRepositoryIdNoThe ID of the fork repository that the pull request originates from. Optional, used when creating a pull request from a fork.
isDraftNoIndicates whether the pull request is a draft. Defaults to false.
repositoryIdYesThe ID of the repository where the pull request will be created.
sourceRefNameYesThe source branch name for the pull request, e.g., 'refs/heads/feature-branch'.
targetRefNameYesThe target branch name for the pull request, e.g., 'refs/heads/main'.
titleYesThe title of the pull request.
workItemsNoWork item IDs to associate with the pull request, space-separated.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "description": { "description": "The description of the pull request. Optional.", "type": "string" }, "forkSourceRepositoryId": { "description": "The ID of the fork repository that the pull request originates from. Optional, used when creating a pull request from a fork.", "type": "string" }, "isDraft": { "default": false, "description": "Indicates whether the pull request is a draft. Defaults to false.", "type": "boolean" }, "repositoryId": { "description": "The ID of the repository where the pull request will be created.", "type": "string" }, "sourceRefName": { "description": "The source branch name for the pull request, e.g., 'refs/heads/feature-branch'.", "type": "string" }, "targetRefName": { "description": "The target branch name for the pull request, e.g., 'refs/heads/main'.", "type": "string" }, "title": { "description": "The title of the pull request.", "type": "string" }, "workItems": { "description": "Work item IDs to associate with the pull request, space-separated.", "type": "string" } }, "required": [ "repositoryId", "sourceRefName", "targetRefName", "title" ], "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