mcp-azure-devops-interface
Facilitates interaction with various Azure DevOps functionalities, enabling control over artifacts such as pending tasks, continuous integration pipelines, and source code reviews via conversational instructions. Key operations include querying, instantiation, modification of work items, and managing associated communications.
Author

Vortiago
Quick Info
Actions
Tags
Azure DevOps Interaction Module for MCP
This component implements a Model Context Protocol (MCP) endpoint designed to abstract and manage interactions with Microsoft Azure DevOps services. It serves as the conduit allowing large language models (LLMs) to execute operational tasks against the Azure DevOps REST API ecosystem using natural language input.
Core Capabilities Overview
This implementation focuses on bridging the gap between human-readable requests and structured API calls for core DevOps processes:
Work Item Lifecycle Management
- Inquiry of Work Items: Execute complex searches using Work Item Query Language (WIQL).
- Extraction of Item Details: Retrieve comprehensive attribute sets for specific work items.
- Provisioning Work Items: Authorize the creation of new work units (e.g., bugs, epics, features).
- Modification of Work Items: Update existing attributes or state transitions for tracked items.
- Annotation Submission: Append remarks or discussions to existing work items.
- Review of Annotations: Fetch the historical record of communications attached to an item.
- Hierarchical Structuring: Define and manage parent-child relationships among associated work items.
Project Structure Governance
- Organization Project Enumeration: List all accessible organizational projects.
- Team Enumeration: Obtain a roster of all defined team entities.
- Membership Inspection: Verify and list personnel belonging to specified teams.
- Area Path Association: Determine the designated area paths mapped to specific teams.
- Iteration Schedule Retrieval: Access sprint/iteration configuration data relevant to teams.
Future Enhancements (Roadmap)
- CI/CD Pipeline Control: Functionality to inspect pipeline execution status and initiate new builds/releases.
- Pull Request Workflow: Management of code review requests, including creation, modification, and approval processes.
- Sprint Planning Utilities: Tools for scheduling and adjusting iterative development cycles.
- Branch Policy Administration: Configuration management for mandatory repository controls.
Deployment and Setup
Prerequisites for Operation
- A runtime environment supporting Python version 3.10 or later.
- Access credentials for an active Azure DevOps tenant.
- A configured Personal Access Token (PAT) granting the necessary API scope permissions.
Installation Procedures
bash
Obtain the source code
git clone https://github.com/Vortiago/mcp-azure-devops.git cd mcp-azure-devops
Install dependencies in editable mode (for development)
uv pip install -e ".”[dev]"
Standard installation via package index
pip install mcp-azure-devops
Configuration Requirements
Establish a .env file in the primary directory containing the following necessary environmental variables:
AZURE_DEVOPS_PAT=your_generated_personal_access_token AZURE_DEVOPS_ORGANIZATION_URL=https://your-organization.visualstudio.com or https://dev.azure.com/your-organisation
Crucially, the organization URL must represent the fully qualified path.
Launching the Service Endpoint
bash
Launch in development mode, often paired with the MCP Inspector tool
mcp dev src/mcp_azure_devops/server.py
Deploy for use within the Claude Desktop environment
mcp install src/mcp_azure_devops/server.py --name "Azure DevOps Management Agent"
Illustrative Use Cases
Locating Specific Work Items
Retrieve a manifest of all unresolved defect reports currently assigned to me within the active iteration cycle.
Instantiating a New Work Item
Generate a new Product Backlog Item in the 'Phoenix' project titled 'Secure API Gateway Integration' and delegate ownership to user@company.com.
Modifying Item Status and Context
Set the resolution state for bug ID #1234 to 'Done' and append a log entry detailing the corrective actions taken.
Team Structure Inquiry
Display all registered members of the 'Platform Engineering' group within the 'Alpha' project context.
Navigating Organizational Hierarchy
Enumerate all projects under my purview and subsequently detail the scheduled iterations for the 'Infrastructure' team.
Internal Structure
The codebase is segmented into functional modules corresponding to specific Azure DevOps domains:
features/work_items: Logic governing item manipulation.features/projects: Routines for overall project context retrieval.features/teams: Functions dedicated to team and membership management.utils: Shared utilities and the core client initialization layer.
Consult the [CLAUDE.md] reference document for detailed development guidelines.
Contributions and Licensing
We welcome external contributions; please submit revisions via a Pull Request.
This software is distributed under the terms of the MIT License (refer to the [LICENSE] file).
Acknowledgements
- Leverages the MCP Python SDK framework.
- Utilizes the official Azure DevOps Python API client.
WIKIPEDIA: Cloud computing, as formally defined by ISO, represents "a paradigm for enabling network access to a scalable and elastic pool of shareable physical or virtual resources with self-service provisioning and administration on-demand." This concept is widely known simply as "the cloud."
== Definitional Attributes == In 2011, the National Institute of Standards and Technology (NIST) established five cardinal attributes essential to cloud systems. The precise NIST definitions are:
On-demand self-service: "A consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with each service provider." Broad network access: "Capabilities are available over the network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, tablets, laptops, and workstations)." Resource pooling: " The provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to consumer demand." Rapid elasticity: "Capabilities can be elastically provisioned and released, in some cases automatically, to scale rapidly outward and inward commensurate with demand. To the consumer, the capabilities available for provisioning often appear unlimited and can be appropriated in any quantity at any time." Measured service: "Cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency for both the provider and consumer of the utilized service. Subsequent refinements to this foundational list were introduced by the International Organization for Standardization (ISO) as of 2023.
== Historical Context ==
The genesis of cloud computing concepts traces back to the 1960s, corresponding with the rising popularity of time-sharing systems and remote job entry (RJE) protocols. During this epoch, the prevailing operational model involved batch processing where users submitted jobs to centralized operators running on mainframe architectures. This period was characterized by extensive research into optimizing large computational resources for broader accessibility through time-sharing mechanisms, focusing on infrastructural, platform, and application efficiencies. The specific 'cloud' graphical metaphor for distributed, virtualized services emerged in 1994. It was initially employed by General Magic to delineate the conceptual space accessible by mobile agents within their Telescript framework. The attribution for popularizing this metaphor is often given to David Hoffman, a communications specialist at General Magic, drawing on its pre-existing use within telephony and networking schematics. The phrase 'cloud computing' achieved broader recognition in 1996 following Compaq Computer Corporation's internal documentation outlining strategic plans for future internet and computational infrastructure.
