medeiroshudson/mcp-devops
3.1
If you are the rightful owner of mcp-devops and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a .NET console application that implements a Model Context Protocol (MCP) server for Azure DevOps operations.
Tools
8
Resources
0
Prompts
0
Azure DevOps MCP Server
This is a .NET console application that implements a Model Context Protocol (MCP) server exposing Azure DevOps operations via the official Azure DevOps .NET client libraries.
Features
- Connects with
AZDO_ORG_URLandAZDO_PATenvironment variables. - Optional default project via
AZDO_PROJECTor--project. - MCP Tools:
- List Projects
- List Repositories (optional
project; uses default if set) - List Build Definitions (optional
project) - Queue Build (optional
project) - WIQL Query (optional
project)- Parameters:
fieldsCsv(fields),includeRelations(bool),skip/pageSizefor paging;topdefault 50.
- Parameters:
- Get Work Item
- Create Work Item (optional
project) - Update Work Item
Getting Started
Prerequisites
- .NET 9 SDK (stdio) or Docker
- Azure DevOps organization URL (e.g., https://dev.azure.com/
) - Personal Access Token (PAT) with appropriate scopes (e.g., Project and Team, Work Items (Read/Write), Build (Read/Execute), Code (Read))
Setup
- Build
dotnet build AzDevOpsMcp.sln
- Run (stdio)
export AZDO_PAT="<your_pat>"
export AZDO_ORG_URL="https://dev.azure.com/<org>"
export AZDO_PROJECT="<project_name>" # optional, sets default project
dotnet run --project src/AzDevOpsMcp/AzDevOpsMcp.csproj
VS Code MCP
"mcp": {
"servers": {
"az-devops": {
"type": "stdio",
"command": "/full/path/to/src/AzDevOpsMcp/bin/Debug/net9.0/AzDevOpsMcp",
"env": {
"AZDO_PAT": "<your_pat>",
"AZDO_PROJECT": "<project_name>",
"AZDO_ORG_URL": "https://dev.azure.com/<org>"
}
}
}
}
Claude Desktop/ Claude Code
{
"mcpServers": {
"az-devops": {
"command": "/full/path/to/src/AzDevOpsMcp/bin/Debug/net9.0/AzDevOpsMcp",
"env": {
"AZDO_PAT": "<your_pat>",
"AZDO_PROJECT": "<project_name>",
"AZDO_ORG_URL": "https://dev.azure.com/<org>"
}
}
}
}
OpenAI Codex
[mcp_servers.az-devops]
command = "docker"
args = [
"run",
"-i",
"--rm",
"--name", "az-devops",
"-e", "AZDO_PAT=<your_pat>",
"-e", "AZDO_PROJECT=<project_name>",
"-e", "AZDO_ORG_URL=https://dev.azure.com/<org>",
"medeiroshudson/azdevops-mcp:latest"
]
Notes
- Ensure the PAT scopes align with the tools you plan to use.
- For on-prem TFS/Azure DevOps Server, set
AZDO_ORG_URLto your collection URL.
Additional Docs
- Docker: see
docs/docker.md - CI/CD (GitHub Actions → Docker Hub): see
docs/ci-cd.md