
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server providing tools to retrieve Azure DevOps pull request details and comment threads, and to create new comment threads on specific code locations.
MCP server for Azure DevOps pull request interactions is cataloged as an MCP server attributed to oshvartz. An MCP server providing tools to retrieve Azure DevOps pull request details and comment threads, and to create new comment threads on specific code locations. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for Azure DevOps pull request interactions are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It exposes GetPrDetails, GetPrThreads, and CreatePrThread.
It recommends Azure Identity using DefaultAzureCredential, and also supports a legacy Personal Access Token option.
README.md · af3059f23fd5 · Fetched 2026-11-13 10:55:35 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server implementation focused on Azure DevOps pull request interactions. This server provides tools for accessing and manipulating Azure DevOps pull requests, built using the ModelContextProtocol NuGet package.
This MCP server is designed as a learning project to demonstrate integration with Azure DevOps pull request APIs through the Model Context Protocol. It provides tools for:
DISCLAIMER: This project is still a Work in Progress (WIP)
To perform a pull request review, you can use the following prompt template:
I want us to review together PR https://dev.azure.com/org/project/_git/repo/pullrequest/123
First let's have high level review of the PR context and then let's drill down to changed files
and what was changed there - please share if you have any suggestions or you notice any issues.
Please verify you are in the local folder of the repo we are doing PR on and switch to the PR
branch to be able to look at files.
This will trigger the following workflow:
var input = new AdoCreateThreadInput
{
PrUrl = "https://dev.azure.com/org/project/_git/repo/pullrequest/123",
Content = "Consider using a more descriptive variable name",
Context = new ThreadContext
{
FilePath = "src/file.cs",
StartLine = 10,
EndLine = 10
}
};
Prompts you can use during the review:
1. Get PR Overview:
"Let's review PR https://dev.azure.com/org/project/_git/repo/pullrequest/123"
2. Focus on Specific File:
"Can you analyze the changes in src/file.cs?"
3. Add Comment:
"Please add a comment on line 45 of src/file.cs suggesting to use async/await"
4. Get Existing Comments:
"Show me all the review comments in this PR"
Each of these prompts will utilize the appropriate MCP tools:
Recommended: Azure Identity Authentication
Legacy: Personal Access Token (PAT)
Code (Read & Write)Pull Request Threads (Read & Write)dotnet build -c Release
Add the following configuration to the mcpServers object in your configuration file:
{
"mcpServers": {
"azure-devops-pr": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "dotnet",
"args": ["path/to/bin/Release/net8.0/AzureDevopsPullrequestMcpServer.dll"],
"env": {
// Optional: Only needed if using PAT authentication (not recommended)
// "AZURE_DEVOPS_PAT": "your-pat-token"
// If AZURE_DEVOPS_PAT is not set, DefaultAzureCredential will be used
},
"transportType": "stdio"
}
}
}
Replace:
path/to with the actual path to your built DLLyour-pat-token with your Azure DevOps Personal Access Token (only if using PAT authentication)Note: If AZURE_DEVOPS_PAT is not provided in the configuration, the server will automatically use DefaultAzureCredential for authentication, which is the recommended approach.
Configuration options:
timeout: Operation timeout in seconds (default: 60)transportType: Communication protocol (using "stdio")disabled: Whether the server is disabledautoApprove: List of operations that don't require explicit approvalThe server will appear in the Connected MCP Servers section as:
azure-devops-pr (dotnet path/to/AzureDevopsPullrequestMcpServer.dll)
With the following available tools:
The application supports two authentication methods:
# DefaultAzureCredential will be used automatically if PAT is not provided
dotnet run -- --pr-url <azure-devops-pr-url>
# Not recommended for security reasons
dotnet run -- --pat <your-pat-token> --pr-url <azure-devops-pr-url>
Example:
# Using Azure Identity (Recommended)
dotnet run -- --pr-url https://dev.azure.com/org/project/_git/repo/pullrequest/123
# Using PAT (Not Recommended)
dotnet run -- --pat abc123... --pr-url https://dev.azure.com/org/project/_git/repo/pullrequest/123
Retrieves details about a specific pull request.
Input Schema:
{
"prUrl": "string",
"includeStatuses": ["string"] | null,
"excludeStatuses": ["string"] | null
}
Fetches comment threads from a pull request.
Input Schema:
{
"prUrl": "string",
"includeStatuses": ["string"] | null,
"excludeStatuses": ["string"] | null
}
Creates a new comment thread at a specific location in code.
Input Schema:
{
"prUrl": "string",
"content": "string",
"context": {
"filePath": "string",
"startLine": number | null,
"startOffset": number | null,
"endLine": number | null,
"endOffset": number | null
}
}
Built with:
src/Models/ - Data models for pull requests and threads
PullRequestDetails.cs - PR data structurePullRequestThread.cs - Thread and comment modelsAdoCreateThreadInput.cs - Thread creation input modelsrc/Services/
AdoPullRequestTool.cs - Core API communication servicesrc/Utils/
IUrlParser.cs - URL processing utilitiesThis is a learning project demonstrating MCP server implementation. Feel free to use it as a reference for building your own MCP servers or extending its functionality.
MIT License
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for Azure DevOps pull request interactions from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/azure-devops-pullrequest-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.