azdo-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@azdo-mcpWhat is bug 4821 about, and is anyone working on it?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
azdo-mcp
An MCP server that connects Claude to Azure DevOps: give Claude a work item or pull request number and it can read it, find related work, comment, update fields and open pull requests.
It runs locally over stdio and works with Claude Code, Claude Desktop and any other MCP client.
> What is bug 4821 about, and is anyone working on it?
> List my active work items in the current sprint.
> Review PR 312 and leave comments on anything risky.
> Create a task under story 4790 for the Safari login fix and assign it to me.Tools
Work items
Tool | What it does |
| One work item with description, acceptance criteria, links (parent, children, PRs) and discussion comments |
| Short summaries of many work items at once |
| Search by assignee ( |
| Run any WIQL query |
| Work item types of a project and their states |
| Create a work item, optionally under a parent |
| Change any fields and optionally add a comment in the same revision |
| Add a discussion comment |
| Link as parent, child, related, predecessor, successor or duplicate |
Repositories and pull requests
Tool | What it does |
| Projects in the organization |
| Git repositories of a project or the organization |
| Pull requests by status, branch, or |
| Description, reviewers and votes, merge status, commits, linked work items |
| Files the pull request changes, with source and target commits |
| Comment threads, with file and line for code comments |
| A file (or a line range of it) at a branch, commit or tag |
| Files and folders of a repository path |
| Open a pull request, optionally linking work items |
| New comment, comment on a file line, or reply to a thread |
✏️ tools change data. They are not registered at all in read-only mode.
Related MCP server: ado-mcp
Setup
You need Node.js 20 or later and either a Personal Access Token or the Azure CLI.
1. Credentials
Personal Access Token (PAT). In Azure DevOps open User settings → Personal access tokens → New token and grant:
Scope | Needed for |
Work Items: Read & write | work item tools (Read is enough in read-only mode) |
Code: Read & write | repository and pull request tools (Read is enough in read-only mode) |
Project and Team: Read |
|
Azure CLI. If AZURE_DEVOPS_PAT is not set, the server asks the Azure CLI for a token, so az login with an account that has access to the organization is all you need.
2. Add the server to Claude
Claude Code
claude mcp add azure-devops --scope user \
--env AZURE_DEVOPS_PAT=<your-pat> \
--env AZURE_DEVOPS_PROJECT=<default-project> \
-- npx -y azdo-mcp <your-organization>On Windows, start the command with cmd /c: -- cmd /c npx -y azdo-mcp <your-organization>. In PowerShell, also write the separator as '--' (in quotes): claude runs through the claude.ps1 shim, and PowerShell drops a bare -- before calling a script, which makes claude fail with unknown option '-y'.
Claude Desktop — Settings → Developer → Edit Config and add to claude_desktop_config.json:
{
"mcpServers": {
"azure-devops": {
"command": "npx",
"args": ["-y", "azdo-mcp", "<your-organization>"],
"env": {
"AZURE_DEVOPS_PAT": "<your-pat>",
"AZURE_DEVOPS_PROJECT": "<default-project>"
}
}
}
}Until the package is published on npm, use github:recepkucukekiz/azdo-mcp in place of azdo-mcp, or point to a local build: "command": "node", "args": ["C:/path/to/azdo-mcp/dist/index.js", "<your-organization>"].
Configuration
Setting | Description |
first argument or | Organization name ( |
| Personal Access Token. When unset, the Azure CLI is used. |
| Default project, so tools can be called without |
|
|
Read-only mode
With AZURE_DEVOPS_READ_ONLY=true (or the --read-only argument) the tools that create or change anything are not offered to the model at all. Use it together with a read-only PAT when you only want Claude to look things up.
Development
npm install
npm run build
npm testnpm run dev -- <org> runs the server from source (Node 22.18+ runs the TypeScript directly). The tests start the tools through a real MCP client against a fake Azure DevOps API, so they need no account.
To try the server interactively, use the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js <your-organization>Security notes
The PAT gives the model whatever access the token has. Prefer short-lived tokens with only the scopes above, and read-only mode where you can.
Text from work items, comments and files is shown to the model as data. Like any tool that reads content other people write, it can contain instructions aimed at the model; keep write tools behind your client's tool approval.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Azure DevOps through Personal Access Token authentication. Supports work item management, wiki operations, project/repository listing, and build pipeline access through natural language.733 npmMIT
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with Azure DevOps, providing tools for managing work items, repositories, pipelines, and more through the Model Context Protocol.10011 npmMIT
- FlicenseNot gradedqualityDmaintenanceConnects Azure DevOps work items to Claude Code via MCP, enabling fetching, listing, updating tickets and automating PR creation.-
- AlicenseBqualityBmaintenanceEnables Claude Code to interact with Azure DevOps Server on-premises (work items, pull requests, repositories) through secure, controlled, safe-by-default access with read-only mode and explicit write confirmations.22MIT