MCP Azure DevOps Server
The MCP Azure DevOps Server enables natural language interactions with Azure DevOps, providing capabilities for managing work items, projects, and teams.
Current capabilities:
Work Item Management
Query work items using WIQL
Get basic and detailed information about work items
Retrieve comments on work items
Project Management
List all accessible projects in the organization
Filter projects by state
Team Management
Get all teams and their members
Retrieve team area paths and iterations
Filter teams based on user membership
Note: Planned features including pipeline operations, pull request handling, sprint management, and branch policy administration are not currently available.
Enables repository operations for Azure DevOps Git repositories, supporting features like pull request management (planned).
Allows installation of the MCP server package from PyPI, making deployment easier through standard Python package management.
Built using Python SDK for MCP implementation, requiring Python 3.9+ for server installation and operation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Azure DevOps Server show me all active bugs assigned to me in the current sprint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Azure DevOps Server
⚠️ NOTICE: Official Server Available
Please use the official Microsoft Azure DevOps MCP server instead:
https://github.com/microsoft/azure-devops-mcp
This repository is no longer maintained. The official Microsoft server provides better support, ongoing maintenance, and the latest features.
A Model Context Protocol (MCP) server enabling AI assistants to interact with Azure DevOps services.
Overview
This project implements a Model Context Protocol (MCP) server that allows AI assistants (like Claude) to interact with Azure DevOps, providing a bridge between natural language interactions and the Azure DevOps REST API.
Related MCP server: Azure DevOps MCP Server
Features
Currently implemented:
Work Item Management
Query Work Items: Search for work items using WIQL queries
Get Work Item Details: View complete work item information
Create Work Items: Add new tasks, bugs, user stories, and other work item types
Update Work Items: Modify existing work items' fields and properties
Add Comments: Post comments on work items
View Comments: Retrieve the comment history for a work item
Parent-Child Relationships: Establish hierarchy between work items
Project Management
Get Projects: View all accessible projects in the organization
Get Teams: List all teams within the organization
Team Members: View team membership information
Team Area Paths: Retrieve area paths assigned to teams
Team Iterations: Access team iteration/sprint configurations
Planned features:
Pipeline Operations: Query pipeline status and trigger new pipeline runs
Pull Request Handling: Create, update, and review Pull Requests
Sprint Management: Plan and manage sprints and iterations
Branch Policy Administration: Configure and manage branch policies
Getting Started
Prerequisites
Python 3.10+
Azure DevOps account with appropriate permissions
Personal Access Token (PAT) with necessary scopes for Azure DevOps API access
Installation
# Clone the repository
git clone https://github.com/Vortiago/mcp-azure-devops.git
cd mcp-azure-devops
# Install in development mode
uv pip install -e ".[dev]"
# Install from PyPi
pip install mcp-azure-devopsConfiguration
Create a .env file in the project root with the following variables:
AZURE_DEVOPS_PAT=your_personal_access_token
AZURE_DEVOPS_ORGANIZATION_URL=https://your-organization.visualstudio.com or https://dev.azure.com/your-organisationNote: Make sure to provide the full URL to your Azure DevOps organization.
Running the Server
# Development mode with the MCP Inspector
mcp dev src/mcp_azure_devops/server.py
# Install in Claude Desktop
mcp install src/mcp_azure_devops/server.py --name "Azure DevOps Assistant"Usage Examples
Query Work Items
Show me all active bugs assigned to me in the current sprintCreate a Work Item
Create a user story in the ProjectX with the title "Implement user authentication" and assign it to john.doe@example.comUpdate a Work Item
Change the status of bug #1234 to "Resolved" and add a comment explaining the fixTeam Management
Show me all the team members in the "Core Development" team in the "ProjectX" projectView Project Structure
List all projects in my organization and show me the iterations for the Development teamDevelopment
The project is structured into feature modules, each implementing specific Azure DevOps capabilities:
features/work_items: Work item management functionalityfeatures/projects: Project management capabilitiesfeatures/teams: Team management featuresutils: Common utilities and client initialization
For more information on development, see the CLAUDE.md file.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with MCP Python SDK
Available Tools
21 toolsadd_parent_child_linkA
Adds a parent-child relationship between two work items.
Use this tool when you need to:
- Establish hierarchy between work items
- Organize epics, features, user stories, and tasks
- Create a structured breakdown of work
- Enable rollup of effort and progress tracking
IMPORTANT: The child work item will immediately appear under the parent
in hierarchical views. This relationship affects how the items are
displayed in backlogs and boards. In Azure DevOps, a work item can have
only one parent but multiple children.
Args:
parent_id: ID of the parent work item
child_id: ID of the child work item
project: Optional project name or ID
Returns:
Formatted string containing the updated child work item details
showing the new parent relationship, formatted as markdown
Inputs: parent_id (required), child_id (required), project.
add_work_item_commentA
Adds a new comment to a work item.
Use this tool when you need to:
- Provide feedback or clarification on a work item
- Document decisions made about the work
- Add context without changing the work item's fields
- Communicate with team members about specific tasks
IMPORTANT: Comments in Azure DevOps become part of the permanent work
item history and cannot be edited or deleted after they are added. The
comment will be attributed to the user associated with the Personal
Access Token used for authentication.
Args:
id: The work item ID
text: The text of the comment (supports markdown formatting)
project: Optional project name. If not provided, will be
determined from the work item.
Returns:
Formatted string containing confirmation and the added comment with
author information and timestamp
Inputs: id (required), text (required), project.
create_work_itemA
Creates a new work item in Azure DevOps.
Use this tool when you need to:
- Add a new task, user story, bug, or other work item to a project
- Create work items with specific field values and metadata
- Establish work hierarchies by setting parent relationships
- Track new requirements, features, or issues in your project
IMPORTANT: The work item will be created immediately and visible to all
users with access to the specified project. It will also trigger any
configured notifications or automation rules.
Args:
title: The title of the work item
project: The project name or ID where the work item will be created
work_item_type: Type of work item (e.g., "User Story", "Bug",
"Task")
fields: Optional dictionary of additional field name/value pairs
to set
description: Optional description of the work item
state: Optional initial state for the work item
assigned_to: Optional user email to assign the work item to
parent_id: Optional ID of parent work item for hierarchy
iteration_path: Optional iteration path for the work item
area_path: Optional area path for the work item
story_points: Optional story points value
priority: Optional priority value
tags: Optional tags as comma-separated string
Returns:
Formatted string containing the created work item details including
ID, title, type, state, and all other specified fields, formatted
as markdown
Inputs: title (required), project (required), work_item_type (required), fields, +9 more.
get_all_teamsA
Retrieves all teams in the Azure DevOps organization.
Use this tool when you need to:
- Get an overview of all teams across projects
- Find team IDs for use in other operations
- Determine which teams exist in the organization
- Locate specific teams by name
Args:
user_is_member_of: If true, return only teams where the current
user is a member. Otherwise return all teams the user
has read access to.
top: Maximum number of teams to return
skip: Number of teams to skip
Returns:
Formatted string containing team information including names,
IDs, descriptions, and associated projects, formatted as
markdown with each team clearly separated
Inputs: user_is_member_of, top, skip.
get_process_detailsA
Gets detailed information about a specific process.
Use this tool when you need to:
- View process properties and configuration
- Get a list of work item types defined in a process
- Check if a process is the default for the organization
Args:
process_id: The ID of the process
Returns:
Detailed information about the process including properties and
available work item types
Inputs: process_id (required).
get_project_process_idA
Gets the process ID associated with a project.
Use this tool when you need to:
- Find out which process a project is using
- Get the process ID for use in other process-related operations
- Verify process information for a project
Args:
project: Project ID or project name
Returns:
Formatted information about the process including name and ID
Inputs: project (required).
get_projectsA
Retrieves all projects accessible to the authenticated user
in the Azure DevOps organization.
Use this tool when you need to:
- Get an overview of all available projects
- Find project IDs for use in other operations
- Check project states and visibility settings
- Locate specific projects by name
Args:
state_filter: Filter on team projects in a specific state
(e.g., "WellFormed", "Deleting")
top: Maximum number of projects to return
Returns:
Formatted string containing project information including names,
IDs, descriptions, states, and visibility settings, formatted as
markdown with each project clearly separated
Inputs: state_filter, top.
get_team_area_pathsA
Retrieves the area paths assigned to a specific team.
Use this tool when you need to:
- Understand a team's areas of responsibility
- Check default area path assignments
- Determine how work is classified and routed to teams
- Set up board and backlog configurations
IMPORTANT: Area paths in Azure DevOps determine which work items appear
on a team's backlogs and boards. The default area path is used when
creating new work items through a team's interface.
Args:
project_name_or_id: The name or ID of the team project
team_name_or_id: The name or ID of the team
Returns:
Formatted string containing team area path information including
the default area path and all assigned paths, with indicators for
paths that include sub-areas
Inputs: project_name_or_id (required), team_name_or_id (required).
get_team_iterationsA
Retrieves the iterations (sprints) assigned to a specific team.
Use this tool when you need to:
- View a team's sprint schedule
- Find date ranges for iterations
- Determine which iteration is currently active
- Plan work based on team's iteration calendar
IMPORTANT: Iterations in Azure DevOps define time periods for planning
and tracking work. They determine sprint dates and are used for
capacity planning, burndown charts, and velocity calculations.
Args:
project_name_or_id: The name or ID of the team project
team_name_or_id: The name or ID of the team
current: If True, return only the current iteration
Returns:
Formatted string containing team iteration information including
names, date ranges, and time frames (past/current/future),
formatted as markdown
Inputs: project_name_or_id (required), team_name_or_id (required), current.
get_team_membersA
Retrieves the membership roster for a specific team.
Use this tool when you need to:
- See who belongs to a particular team
- Find team administrators
- Check user assignments across teams
- Determine team size and composition
Args:
project_id: The name or ID (GUID) of the team project the team
belongs to
team_id: The name or ID (GUID) of the team
top: Maximum number of members to return
skip: Number of members to skip
Returns:
Formatted string containing team members information including
display names, emails, IDs, and administrator status, formatted
as markdown with each member clearly separated
Inputs: project_id (required), team_id (required), top, skip.
get_work_itemA
Retrieves detailed information about one or multiple work items.
Use this tool when you need to:
- View the complete details of a specific work item
- Examine the current state, assigned user, and other properties
- Get information about multiple work items at once
- Access the full description and custom fields of work items
Args:
id: The work item ID or a list of work item IDs
Returns:
Formatted string containing comprehensive information for the
requested work item(s), including all system and custom fields,
formatted as markdown with clear section headings
Inputs: id (required).
get_work_item_commentsA
Retrieves all comments associated with a specific work item.
Use this tool when you need to:
- Review discussion history about a work item
- See feedback or notes left by team members
- Check if specific questions have been answered
- Understand the context and evolution of a work item
Args:
id: The work item ID
project: Optional project name. If not provided, will be
determined from the work item.
Returns:
Formatted string containing all comments on the work item,
including author names, timestamps, and content, organized
chronologically and formatted as markdown
Inputs: id (required), project.
get_work_item_templateA
Gets detailed information about a specific work item template.
Use this tool when you need to:
- View default field values in a template
- Understand what a template pre-populates in a work item
- Get complete details about a template
Args:
team_context: Dictionary containing team information with keys:
project: Project name (Optional if project_id is provided)
project_id: Project ID (Optional if project is provided)
team: Team name (Optional if team_id is provided)
team_id: Team ID (Optional if team is provided)
template_id: The ID of the template
Returns:
Detailed information about the template including default field
values
Inputs: team_context (required), template_id (required).
get_work_item_templatesA
Gets a list of all work item templates for a team.
Use this tool when you need to:
- Find available templates for creating work items
- Get template IDs for use in other operations
- Filter templates by work item type
Args:
team_context: Dictionary containing team information with keys:
project: Project name (Optional if project_id is provided)
project_id: Project ID (Optional if project is provided)
team: Team name (Optional if team_id is provided)
team_id: Team ID (Optional if team is provided)
work_item_type: Optional work item type name to filter templates
Returns:
A formatted table of all templates with names, work item types,
and descriptions
Inputs: team_context (required), work_item_type (required).
get_work_item_typeA
Gets detailed information about a specific work item type.
Use this tool when you need to:
- Get complete details about a work item type
- Understand the states and transitions for a work item type
- Learn about the color and icon for a work item type
Args:
project: Project ID or project name
type_name: The name of the work item type
Returns:
Detailed information about the work item type including states,
color, icon, and reference name
Inputs: project (required), type_name (required).
get_work_item_type_fieldA
Gets detailed information about a specific field in a work item type.
Use this tool when you need to:
- Get complete details about a work item field
- Check allowed values for a field
- Verify if a field is required or read-only
Args:
project: Project ID or project name
type_name: The name of the work item type
field_name: The reference name or display name of the field
Returns:
Detailed information about the field including type, allowed
values, and constraints
Inputs: project (required), type_name (required), field_name (required).
get_work_item_type_fieldsA
Gets a list of all fields for a specific work item type.
Use this tool when you need to:
- See what fields are available for a work item type
- Find required fields for creating work items of a specific type
- Get reference names for fields to use in queries or updates
Args:
project: Project ID or project name
type_name: The name of the work item type
Returns:
A formatted table of all fields with names, reference names,
types, and required/read-only status
Inputs: project (required), type_name (required).
get_work_item_typesA
Gets a list of all work item types in a project.
Use this tool when you need to:
- See what work item types are available in a project
- Get reference names for work item types to use in other operations
- Plan work item creation by understanding available types
Args:
project: Project ID or project name
Returns:
A formatted table of all work item types with names, reference
names, and descriptions
Inputs: project (required).
list_processesA
Lists all available processes in the organization.
Use this tool when you need to:
- See what processes are available in your Azure DevOps organization
- Find process IDs for project creation or configuration
- Check which process is set as the default
Returns:
A formatted table of all processes with names, IDs, and
descriptions
Inputs: no named parameters.
query_work_itemsA
Searches for work items using Work Item Query Language (WIQL).
Use this tool when you need to:
- Find work items matching specific criteria
- Search across projects for related tasks or bugs
- Create dynamic reports based on work item attributes
- Identify work items assigned to specific team members
IMPORTANT: WIQL syntax is similar to SQL and allows you to query
work items based on their fields. The query must follow Azure DevOps
WIQL syntax rules, with proper SELECT, FROM, and WHERE clauses.
Args:
query: The WIQL query string (e.g., "SELECT * FROM workitems
WHERE [System.State] = 'Active'")
top: Maximum number of results to return (default: 30)
Returns:
Formatted string containing detailed information for each matching
work item, with all fields and values formatted as markdown
Inputs: query (required), top.
update_work_itemA
Modifies an existing work item's fields and properties.
Use this tool when you need to:
- Change the status or state of a work item
- Reassign work to a different team member
- Update the description or details of a requirement
- Modify effort estimates or priority levels
- Add or change classification (area/iteration)
- Update any field supported by the work item type
IMPORTANT: This tool updates the work item directly in Azure DevOps.
Changes will be immediately visible to all users with access to the
work item and will trigger any configured notifications or workflows.
You must specify at least one field to update.
Args:
id: The ID of the work item to update
fields: Optional dictionary of field name/value pairs to update
project: Optional project name or ID
title: Optional new title for the work item
description: Optional new description
state: Optional new state
assigned_to: Optional user email to assign to
iteration_path: Optional new iteration path
area_path: Optional new area path
story_points: Optional new story points value
priority: Optional new priority value
tags: Optional new tags as comma-separated string
Returns:
Formatted string containing the updated work item details with
all current field values, formatted as markdown
Inputs: id (required), fields, project, title, +8 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Most tools have clearly distinct purposes, such as create_work_item vs. update_work_item or get_work_item vs. query_work_items. However, there is some potential overlap between get_work_item_comments and add_work_item_comment, as both deal with comments, but their distinct actions (retrieve vs. add) help differentiate them. The tools generally target specific resources and actions, reducing confusion.
All tool names follow a consistent verb_noun pattern using snake_case, such as create_work_item, get_work_item, and update_work_item. The naming is predictable and readable throughout, with no deviations or mixed conventions, making it easy for agents to understand the tool's purpose from its name.
With 21 tools, the count is slightly high but reasonable for the Azure DevOps domain, which involves managing projects, teams, processes, and work items. It covers a broad scope without being excessive, though it might feel heavy compared to simpler servers. Each tool appears to serve a specific function, justifying its inclusion.
The tool set provides comprehensive coverage for Azure DevOps operations, including CRUD for work items (create, get, update, query), project and team management, process and template handling, and comment functionality. There are no obvious gaps; it supports full lifecycle management and essential workflows, ensuring agents can perform typical tasks without dead ends.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standardized interface for communicating with Azure DevOps75 npm60MIT
- AlicenseCqualityAmaintenanceA Model Context Protocol server that enables AI assistants to interact with Azure DevOps resources including projects, work items, repositories, pull requests, branches, and pipelines through a standardized protocol.60403MIT
- -licenseNot gradedqualityNot gradedmaintenanceA reference server implementation for the Model Context Protocol that enables AI assistants to interact with Azure DevOps resources and perform operations such as project management, work item tracking, repository operations, and code search programmatically.7-
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with Azure DevOps services, providing capabilities for work item management, project management, and team collaboration through natural language.21-