Skip to main content
Glama

Azure DevOps MCP Server with PAT Authentication

by ennuiii

repo_get_branch_by_name

Retrieve a specific branch from an Azure DevOps repository by providing the repository ID and branch name. Simplifies branch management using PAT authentication.

Instructions

Get a branch by its name.

Input Schema

NameRequiredDescriptionDefault
branchNameYesThe name of the branch to retrieve, e.g., 'main' or 'feature-branch'.
repositoryIdYesThe ID of the repository where the branch is located.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "branchName": { "description": "The name of the branch to retrieve, e.g., 'main' or 'feature-branch'.", "type": "string" }, "repositoryId": { "description": "The ID of the repository where the branch is located.", "type": "string" } }, "required": [ "repositoryId", "branchName" ], "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