Azure DevOps MCP Server logo

Azure DevOps MCP Server

by langkurt

This project implements a Model Context Protocol (MCP) server that enables AI assistants to interact with Azure DevOps for creating and updating tickets (work items). The server acts as a bridge between LLMs and the Azure DevOps REST API, providing a standardized way for AI agents to manage work items.

View on GitHub

Last updated: N/A

What is Azure DevOps MCP Server?

This is an MCP server that allows AI assistants to interact with Azure DevOps for ticket management (creating, updating, and retrieving work items). It acts as a bridge between Large Language Models (LLMs) and the Azure DevOps REST API using the Model Context Protocol.

How to use Azure DevOps MCP Server?

  1. Clone the repository. 2. Install dependencies using pip install -r requirements.txt. 3. Configure environment variables (AZURE_DEVOPS_PAT, AZURE_DEVOPS_ORGANIZATION_URL, AZURE_DEVOPS_DEFAULT_PROJECT) in a .env file. 4. Run the server using mcp dev main.py, mcp install main.py --name "Azure DevOps Ticket Manager", or python main.py. 5. Configure your AI assistant (e.g., Claude) to use the server with the appropriate command and environment variables. 6. Use example prompts to interact with Azure DevOps through the AI assistant.

Key features of Azure DevOps MCP Server

  • Create new work items

  • Update existing work items

  • Add comments to work items

  • Retrieve work item details

  • Standardized interface for LLMs

  • Integration with Azure DevOps

Use cases of Azure DevOps MCP Server

  • Automated ticket creation based on user requests

  • Updating ticket status and assigning owners via AI commands

  • Adding comments to tickets based on analysis of user feedback

  • Retrieving ticket details for context during conversations

  • Integrating Azure DevOps with AI-powered workflows

FAQ from Azure DevOps MCP Server

What is MCP?

Model Context Protocol (MCP) is an open standard that standardizes how applications provide context to Large Language Models (LLMs).

What are the prerequisites for using this server?

Python 3.10+, an Azure DevOps account with permissions, and a Personal Access Token (PAT).

How do I install the server?

Clone the repository, install dependencies using pip install -r requirements.txt, and configure environment variables in a .env file.

How do I configure this server with Claude?

Add the server configuration to your Claude Desktop configuration file with the appropriate command and environment variables.

What are some example prompts I can use?

Examples include: 'Create a bug...', 'Update work item...', 'Get details about work item...', 'Create a new user story...'