Azure DevOps

v1.0.0Developer Toolsstable

A Model Context Protocol server that enables AI assistants to interact with Azure DevOps services, allowing users to query work items with plans to support creating/updating items, managing pipelines, handling pull requests, and administering sprints

mcp-azure-devops-servermcpai-integration
Share:
79
Stars
0
Downloads
0
Weekly
0/5

What is Azure DevOps?

Azure DevOps is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server that enables ai assistants to interact with azure devops services, allowing users to query work items with plans to support creating/updating items, managing pipelines, h...

A Model Context Protocol server that enables AI assistants to interact with Azure DevOps services, allowing users to query work items with plans to support creating/updating items, managing pipelines, handling pull requests, and administering sprints

This server falls under the Developer Tools and Business Applications categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Model Context Protocol server that enables AI assistants t

Use Cases

Query and interact with Azure DevOps work items.
Manage pipelines, pull requests, and sprints through AI assistants.
Vortiago

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedApr 3, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-azure-devops-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Azure DevOps

The MCP Azure DevOps server connects AI assistants to Azure DevOps via a Python-based MCP server that authenticates with a Personal Access Token. It exposes tools for querying and creating work items using WIQL, managing comments and parent-child relationships, listing projects and teams, and accessing sprint and iteration data — allowing developers to interact with their Azure DevOps organization through natural language without leaving their AI client.

Prerequisites

  • Python 3.10 or higher with pip or uv package manager
  • An Azure DevOps account with access to at least one organization
  • An Azure DevOps Personal Access Token (PAT) with Work Items (Read & Write) and Project (Read) scopes
  • Your organization URL in the format https://dev.azure.com/your-organisation or https://your-org.visualstudio.com
  • An MCP-compatible client such as Claude Desktop
1

Install the mcp-azure-devops Python package

Install the server package using pip. Using a virtual environment is recommended to avoid dependency conflicts.

python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install mcp-azure-devops
2

Create an Azure DevOps Personal Access Token

In Azure DevOps, go to User Settings > Personal Access Tokens > New Token. Grant it Read & Write access for Work Items and Read for Code and Project. Copy the token — it is only shown once.

3

Set environment variables

Export the required environment variables. AZURE_DEVOPS_ORGANIZATION_URL is your org root URL and AZURE_DEVOPS_PAT is the token you just created.

export AZURE_DEVOPS_ORGANIZATION_URL="https://dev.azure.com/your-organisation"
export AZURE_DEVOPS_PAT="your-personal-access-token"
4

Add the server to your MCP client configuration

Open claude_desktop_config.json and add the Azure DevOps server entry. Pass the environment variables directly in the env block so the MCP client sets them when spawning the server process.

{
  "mcpServers": {
    "azure-devops": {
      "command": "/path/to/.venv/bin/python",
      "args": ["-m", "mcp_azure_devops.server"],
      "env": {
        "AZURE_DEVOPS_ORGANIZATION_URL": "https://dev.azure.com/your-organisation",
        "AZURE_DEVOPS_PAT": "your-personal-access-token"
      }
    }
  }
}
5

Restart your MCP client and verify

Restart Claude Desktop. Ask the assistant to list your Azure DevOps projects to confirm the connection is working.

Azure DevOps Examples

Client configuration

Complete claude_desktop_config.json entry for the mcp-azure-devops server using a Python virtual environment.

{
  "mcpServers": {
    "azure-devops": {
      "command": "/Users/yourname/.venv/bin/python",
      "args": ["-m", "mcp_azure_devops.server"],
      "env": {
        "AZURE_DEVOPS_ORGANIZATION_URL": "https://dev.azure.com/your-organisation",
        "AZURE_DEVOPS_PAT": "your_pat_here"
      }
    }
  }
}

Prompts to try

Example prompts that use the work item query, creation, and project management tools exposed by the server.

- "List all projects in my Azure DevOps organization"
- "Show me all active bugs assigned to me in the current sprint"
- "Create a user story titled 'Add dark mode toggle' in the FrontendApp project"
- "What work items are in the current sprint for team Alpha?"
- "Add a comment to work item #1234 saying the fix is deployed to staging"

Troubleshooting Azure DevOps

Authentication error: 401 Unauthorized

Verify your AZURE_DEVOPS_PAT is correct and has not expired. PATs have a maximum lifetime of one year. Also confirm AZURE_DEVOPS_ORGANIZATION_URL is the root org URL (e.g. https://dev.azure.com/myorg), not a project URL.

Work item queries return empty results

Ensure your PAT has 'Work Items (Read)' scope. WIQL queries are case-sensitive for field names. Try a simple query first: 'List all projects' to confirm connectivity before running complex WIQL.

Module not found error when starting the server

Ensure you are using the virtual environment where mcp-azure-devops is installed. The command in your MCP config must point to the Python binary inside the venv (e.g. /path/to/.venv/bin/python), not the system Python.

Frequently Asked Questions about Azure DevOps

What is Azure DevOps?

Azure DevOps is a Model Context Protocol (MCP) server that model context protocol server that enables ai assistants to interact with azure devops services, allowing users to query work items with plans to support creating/updating items, managing pipelines, handling pull requests, and administering sprints It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Azure DevOps?

Follow the installation instructions on the Azure DevOps GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Azure DevOps?

Azure DevOps works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Azure DevOps free to use?

Yes, Azure DevOps is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-azure-devops-server": { "command": "npx", "args": ["-y", "mcp-azure-devops-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Azure DevOps?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides