mcp-azure-devops
A Model Context Protocol (MCP) server enabling AI assistants to interact with Azure DevOps services via Python SDK.
Documentation
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.
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 functionality
- `features/projects`: Project management capabilities
- `features/teams`: Team management features
- `utils`: 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
- Uses Azure DevOps Python API
Frequently asked questions
What is mcp-azure-devops?
mcp-azure-devops is A Model Context Protocol (MCP) server enabling AI assistants to interact with Azure DevOps services via Python SDK.
How do I install mcp-azure-devops?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-azure-devops open source?
Yes — it is hosted on GitHub at https://github.com/Vortiago/mcp-azure-devops and has 76 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP