Cursor Azure DevOps MCP Server logo

Cursor Azure DevOps MCP Server

by maximtitovich

A Model Context Protocol (MCP) server for integrating Azure DevOps with Cursor IDE. This tool allows Claude AI in Cursor to interact with Azure DevOps, providing access to projects, work items, repositories, and pull requests.

View on GitHub

Last updated: N/A

What is Cursor Azure DevOps MCP Server?

The Cursor Azure DevOps MCP Server is a tool that bridges the gap between the Cursor IDE and Azure DevOps. It enables Claude AI within Cursor to access and interact with Azure DevOps resources, such as projects, work items, repositories, and pull requests, facilitating a more integrated and efficient development workflow.

How to use Cursor Azure DevOps MCP Server?

The server can be installed globally or locally using npm. Configuration can be done through command-line arguments, VSCode/Cursor IDE settings, or environment variables. Once configured, it can be run using npx cursor-azure-devops-mcp and connected to Cursor IDE via Command mode (recommended) or SSE mode. The available tools can then be used within Cursor IDE by Claude AI to interact with Azure DevOps.

Key features of Cursor Azure DevOps MCP Server

  • Get Azure DevOps projects

  • Retrieve work items by ID

  • List repositories in a project

  • Get pull requests for a repository

  • View pull request details and threads

  • Retrieve work item attachments

  • Get work item comments with metadata

  • Get detailed code changes for pull requests

  • Create comments on pull requests

  • Test Plan Management (list test plans, suites, cases)

  • Smart Response Handling (truncation, metadata preservation)

  • Project Configuration (default project support)

Use cases of Cursor Azure DevOps MCP Server

  • Using AI to summarize work items and provide context

  • Automating pull request reviews with AI assistance

  • Searching for code changes within pull requests using natural language

  • Managing and querying Azure DevOps test plans and suites directly from the IDE

  • Generating documentation and comments based on Azure DevOps data

FAQ from Cursor Azure DevOps MCP Server

What is an MCP server?

MCP stands for Model Context Protocol. It's a server that provides context to AI models, allowing them to interact with external services and data.

How do I configure the server?

You can configure the server using command-line arguments, VSCode/Cursor IDE settings, or environment variables. Command-line arguments take precedence, followed by IDE settings, then environment variables.

What is the recommended way to connect to the server in Cursor IDE?

The Command mode is the most reliable method and is recommended. It runs the MCP server as a process directly from Cursor.

Why am I getting a 'server.setRequestHandler is not a function' error?

This error usually indicates an outdated package version. Make sure you have the latest version installed and try reinstalling the package.

How do I use the test management tools?

First, retrieve test plans for your project using azure_devops_test_plans. Then, use a specific test plan ID to get test suites with azure_devops_test_suites. Finally, get test cases for a specific suite using azure_devops_test_cases.