mcp-azure-devops MCP Server
Azure DevOps boards, repos, pipelines & projects for AI agents — governed.
About
MCP server for Azure DevOps. Query and manage boards / work items, repos and pull requests, pipelines and builds, and projects / process — with a governance layer: read-only / read-write / admin access modes, project allowlists, protected projects, delete gating, and typed high-impact confirmation (delete requires echoing the exact project name). PAT auth; JSON audit logging.
Security Report
This is a well-architected Azure DevOps MCP server with a thoughtful governance layer. Authentication uses Azure DevOps Personal Access Tokens sent via HTTP Basic Auth. The security model includes multiple controls: access modes (read-only, read-write, admin), project allowlists, protected projects, delete gating, typed confirmation for destructive operations, dry-run support, and JSON audit logging. Code is clean, input validation is present via Zod schemas, and dangerous operations are properly guarded. Minor code quality observations exist but do not represent security risks. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"mcp-azure-devops": {
"args": [
"-y",
"@dockndevai/mcp-azure-devops"
],
"command": "npx"
}
}
}Getting Started
Once installed, try these example prompts and explore these capabilities:
- 1"List active pull requests in the api repo of the Payments project"
- 2"Query work items assigned to me that are Active"
- 3"Show the last 10 builds in the Web project and which failed"
- 4Tool: create_work_item — create a work item (requires read-write mode)
Documentation
View on GitHubFrom the project's GitHub README.
A Model Context Protocol server for Azure DevOps. It lets an MCP-capable client (Claude Desktop, Claude Code, Cursor, Codex, …) work across boards, repos, pipelines, and projects — with a governance layer that keeps an AI agent inside safe boundaries.
What this offers
- Projects & teams — list projects/teams/members, inspect process templates.
- Boards / work items — WIQL queries, get work items, create/update work items, list iterations (sprints).
- Repos / pull requests — list repositories and branches, list/get PRs, open PRs.
- Pipelines / builds — list pipelines and recent builds, get a build, queue a run.
- Admin / process — list process templates, create a project, delete a project (guarded).
- Governance built in — access modes, project allowlists, protected projects, delete gating, typed confirmation for high-impact ops, dry-run, and JSON audit logging.
Governance & security model
| Concern | Flag | Default | Effect |
|---|---|---|---|
| What can the server do? | AZDO_MODE | read-only | read-only → reads; read-write → work items, PRs, pipeline runs; admin → create/delete project. Tools above the mode are never registered. |
| Which projects are in scope? | AZDO_PROJECT_ALLOWLIST | (all) | Operations on other projects are refused. |
| Which projects are read-only forever? | AZDO_PROTECTED_PROJECTS | (none) | Readable, never mutable. |
| Can it delete? | AZDO_ALLOW_DELETE | false | delete_project needs this and admin mode. |
| Typed confirmation | AZDO_REQUIRE_CONFIRMATION | true | High-impact ops require confirm to equal the target name — not just a boolean. |
| Preview | AZDO_DRY_RUN | false | Write/admin tools validate + log intent, then return. |
| Audit trail | AZDO_AUDIT_LOG | true | JSON line to stderr per guarded operation. |
Tools
Read (read-only+): list_projects, get_project, list_teams, list_team_members, list_processes, query_work_items, get_work_item, list_iterations, list_repositories, list_branches, list_pull_requests, get_pull_request, list_pipelines, list_builds, get_build
Write (read-write+): create_work_item, update_work_item, create_pull_request, run_pipeline
Admin (admin): create_project, delete_project (needs AZDO_ALLOW_DELETE + typed confirm)
Quickstart — add to your agent
Published on npm as @dockndevai/mcp-azure-devops. Runs via npx; needs an org and a PAT. See docs/CLIENTS.md for every client and .env.example for all variables.
Claude Code
claude mcp add azure-devops -e AZDO_ORG_URL="https://dev.azure.com/your-org" -e AZDO_PAT="your-pat" -e AZDO_MODE="read-only" -- npx -y @dockndevai/mcp-azure-devops
Claude Desktop · Cursor · Windsurf
{
"mcpServers": {
"azure-devops": {
"command": "npx",
"args": ["-y", "@dockndevai/mcp-azure-devops"],
"env": {
"AZDO_ORG_URL": "https://dev.azure.com/your-org",
"AZDO_PAT": "your-pat",
"AZDO_MODE": "read-only"
}
}
}
}
Example prompts
- "List active pull requests in the Payments project's api repo"
- "Query work items assigned to me that are still Active"
- "Show the last 10 builds in the Web project and which failed"
- "Create a Bug in Payments titled 'Checkout 500 on retry'" (needs read-write)
Run from source (development)
npm install
npm run build
node dist/index.js # with the environment variables set
Develop
npm run dev
npm test # governance policy: modes, allowlists, delete gating, confirmation
npm run typecheck
Publishing
Ships a server.json for the official MCP registry and an mcpName for npm ownership validation. See PUBLISHING.md.
License
MIT
Reviews
No reviews yet
Be the first to review this server!
More Cloud & DevOps MCP Servers
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
Google Workspace MCP
Freeby Taylorwilsdon · Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI