azure-devops-pullrequest-mcp-server

azure-devops-pullrequest-mcp-server

1

The Azure DevOps Pull Request MCP Server is a Model Context Protocol server designed to interact with Azure DevOps pull request APIs. It allows users to retrieve details, fetch comments, and create comment threads on pull requests. This project is intended as a learning tool and demonstration of MCP server capabilities.

Azure DevOps Pull Request MCP Server

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.

Overview

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:

  • Retrieving pull request details
  • Fetching pull request threads/comments
  • Creating new comment threads on specific code locations

Project Status

DISCLAIMER: This project is still a Work in Progress (WIP)

Upcoming Features

  • Package server as a dotnet tool for easier installation and usage
  • Enhanced thread support:
    • Ability to respond to existing threads
    • Add comments to existing threads
    • Better thread management capabilities

Requirements

  • .NET 8.0 SDK
  • Recommended: Azure Identity Authentication
  • Legacy: Personal Access Token (PAT)

Building and Installing the MCP Server

  1. Clone this repository
  2. Build the project
  3. Add the MCP server to your VSCode settings by modifying the MCP settings JSON file

Usage

Supports two authentication methods: Azure Identity and Personal Access Token (Legacy).