azure-devops-mcp-server

dariuszparys/azure-devops-mcp-server

3.2

If you are the rightful owner of azure-devops-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Azure DevOps MCP Server is a tool for managing Azure DevOps resources like pull requests, work items, pipelines, and variable groups through a model context protocol server.

Tools
4
Resources
0
Prompts
0

Azure DevOps MCP Server

MCP server for Azure DevOps - manage pull requests, work items, pipelines, and variable groups via Claude.

Features

13 tools across 4 categories:

  • Pull Requests (3 tools): create, list, get details
  • Work Items (3 tools): query, get, create
  • Pipelines (4 tools): list, run, check status, cancel
  • Variable Groups (3 tools): list, get, update variables

Quick Start

For Claude Desktop Users

Want to use this with Claude Desktop? See the for step-by-step instructions.

For Development/Testing

# 1. Clone repository
git clone <repo-url>
cd azure-devops-mcp

# 2. Set up project
make setup

# 3. Configure environment variables
export AZURE_DEVOPS_EXT_PAT="your-pat-token"
export AZURE_DEVOPS_ORG="https://dev.azure.com/your-org"
export AZURE_DEVOPS_PROJECT="your-project"

# 4. Run the server
make run

Documentation

  • - Use with Claude Desktop app
  • - Installation and configuration for development
  • - Complete tool documentation
  • - Common issues and solutions

Requirements

  • Python 3.11+
  • Azure CLI 2.30.0+ with DevOps extension
  • Azure DevOps Personal Access Token with required scopes:
    • Code: Read & Write
    • Work Items: Read & Write
    • Build: Read & Execute
    • Release: Read, Write & Execute

Development

Commands

make setup       # Bootstrap project (create venv, install deps)
make lint        # Lint and format code
make test        # Run unit tests
make test-e2e    # Run end-to-end tests (requires Azure DevOps)
make dev         # Launch MCP Inspector for interactive testing
make run         # Run server

Project Structure

azure-devops-mcp/
├── src/
│   └── azure_devops_mcp/
│       ├── server.py              # FastMCP entry point
│       ├── tools/                 # 13 tools
│       │   ├── pull_requests.py   # PR tools
│       │   ├── work_items.py      # Work item tools
│       │   ├── pipelines.py       # Pipeline tools
│       │   └── variable_groups.py # Variable group tools
│       ├── utils/                 # Core utilities
│       │   ├── azure_cli.py       # Azure CLI executor
│       │   ├── context.py         # Context manager
│       │   ├── errors.py          # Error handler
│       │   └── formatters.py      # Response formatters
│       └── schemas/
│           └── models.py          # Pydantic input models
├── tests/                         # Test suite
├── docs/                          # Documentation
├── pyproject.toml                 # Dependencies & config
└── Makefile                       # Development commands

License

MIT