π Azure DevOps MCP Server
A custom Model Context Protocol (MCP) server built with NestJS, enabling AI agents (like Claude Desktop) to securely query Azure DevOps data such as work items, projects, and ticket statistics.
π Overview
This project exposes Azure DevOps data through a standards-based MCP server, allowing any MCP-compatible AI agent to perform real-time queries such as:
π List all projects in the organization
π Get count of created / active / closed work items
π§© Fetch ticket details
π Query backlog items or sprints
ποΈ Extend Azure DevOps automation through AI
It supports two modes:
1οΈβ£ STDIO MCP Server
Tested locally using the MCP Inspector (not using a direct Claude Desktop STDIO client).
2οΈβ£ HTTP MCP Server
Allows remote access using MCP-over-HTTP.
ποΈ Architecture
β¨ Features
βοΈ Custom Tools for Azure DevOps
Tools exposed to MCP clients:
Tool Name | Description |
| Returns all Azure DevOps projects |
| Returns summary of created/active/resolved tickets |
| Fetch details of a single work item |
| Query work items based on filters |
βοΈ STDIO Transport (MCP Inspector)
This project was tested locally using the MCP Inspector, which acts as an MCP client that connects over STDIO to your server.
Run the server so the inspector can connect over STDIO:
Start the inspector with:
When prompted in the inspector, choose the STDIO connection and point it at the running process (the inspector will spawn or attach to the process as configured).
βοΈ HTTP MCP Support
Start server:
You can POST MCP-style requests:
π§ Installation
π Environment Variables
Create .env:
βΆοΈ Running the Server
Run in STDIO mode (for MCP Inspector)
Run in HTTP mode
π§ͺ Testing with MCP Inspector
(You will explain this with screenshots in your blog.)
Then connect using STDIO:
π» Code Walkthrough
π MCP Server Setup
π Azure DevOps API Integration
π STDIO Bootstrap
π HTTP Controller
π Example MCP Tool Call
Response:
π§© Use Cases
For Developers
Query Azure DevOps without opening the UI
Get ticket summaries instantly
Automate repetitive DevOps activities
For AI Assistants
Smart sprint planning
Ticket prioritization
Automated status reporting
For Teams
Faster decision making
AI-powered insights
π₯ Future Enhancements
Create/Update work items using AI
Integration with Release Pipelines
Sprint burndown insights
PR and Repository analytics
π Screenshots (Add your own)
Claude Desktop working
MCP Inspector connected
Tool response logs
π§βπ» Author
Saktheeswaran M AI Engineer & Full-Stack Developer
π Source Code
π GitHub Repository: (https://github.com/saktheeswar/Azure_Devops_MCP_Server)