Azure DevOps 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., "@Azure DevOps MCP Show me the open pull requests assigned to me."
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.
Azure DevOps MCP
Local, stdio-based MCP server for Azure DevOps and Claude Desktop.
Requirements
Python 3.13+
Azure DevOps PAT with only the scopes required by the enabled operations
Related MCP server: Azure DevOps MCP Server
Configuration
The server reads these environment variables:
ADO_ORGANIZATION=your-organization
ADO_PAT=your-pat
ADO_DEFAULT_PROJECT=your-project
ADO_READ_ONLY=true
ADO_API_VERSION=7.1Keep ADO_READ_ONLY=true until read operations are verified. Never commit the PAT or put it in an MCP tool argument.
Work item links
ado_work_item_create accepts an optional parent_id to link the new work item to a
parent as part of creation. ado_work_item_link_add adds a parent, child, or
related link between two existing work items. Both require ADO_READ_ONLY=false.
Pull request comments
ado_pull_request_thread_add creates a review thread. Without file_path it is a
general PR comment. With file_path it attaches to that file, and start_line
(plus optional end_line, start_offset, end_offset) anchors it to lines on the
right (new code, default) or left (old code) side of the diff. suggestion
adds an Azure DevOps suggested change for the anchored right-side lines, and
status sets the initial thread status (active by default).
ado_pull_request_thread_reply replies to an existing thread by thread_id
(use ado_pull_request_threads_list to find it). ado_pull_request_thread_status_update
sets a thread to active, fixed, wontFix, closed, byDesign, or pending.
All three require ADO_READ_ONLY=false.
Run locally
uv sync
uv run ado-mcpClaude Desktop
Add the following entry to Claude Desktop's claude_desktop_config.json, using absolute paths:
{
"mcpServers": {
"azure-devops": {
"command": "/absolute/path/to/ado-mcp/.venv/bin/ado-mcp",
"env": {
"ADO_ORGANIZATION": "your-organization",
"ADO_PAT": "your-pat",
"ADO_DEFAULT_PROJECT": "your-project",
"ADO_READ_ONLY": "true"
}
}
}
}Restart Claude Desktop after changing the configuration. The server writes diagnostics only to stderr so stdout remains available for MCP protocol traffic.
On macOS, Claude Desktop captures this server's stderr in:
~/Library/Logs/Claude/mcp-server-azure-devops.logLook for ado_request_failed and status_code when Azure DevOps rejects a request.
Available Tools
15 toolsado_pull_request_changesB
List changed files for a pull request.
Inputs: repository (required), pull_request_id (required), project. Returns: result
ado_pull_request_createC
Create a pull request when write mode is enabled.
Inputs: request (required). Returns: result
ado_pull_request_getB
Get a pull request by repository and ID.
Inputs: repository (required), pull_request_id (required), project. Returns: result
ado_pull_requests_listC
List pull requests in a project or repository.
Inputs: top, project, repository. Returns: result
ado_pull_request_thread_addB
Add a general review comment thread to a pull request.
Inputs: request (required). Returns: result
ado_pull_request_threads_listB
List review threads and comments for a pull request.
Inputs: repository (required), pull_request_id (required), project. Returns: result
ado_work_item_comment_addA
Add a comment to a work item when write mode is enabled.
Inputs: text (required), work_item_id (required), project. Returns: result
ado_work_item_comments_listB
List comments for a work item.
Inputs: work_item_id (required), top, project. Returns: result
ado_work_item_createC
Create a work item when write mode is enabled.
Inputs: request (required). Returns: result
ado_work_item_fields_listB
List work item fields available in a project.
Inputs: project. Returns: result
ado_work_item_getC
Get a work item and its fields, relations, and revision.
Inputs: work_item_id (required), project. Returns: result
ado_work_items_queryC
Run a bounded WIQL query in a project.
Inputs: wiql (required), top, project. Returns: result
ado_work_item_type_getA
Get fields, states, and rules for one work item type.
Inputs: work_item_type (required), project. Returns: result
ado_work_item_types_listC
List work item types available in a project.
Inputs: project. Returns: result
ado_work_item_updateB
Update explicitly selected work item fields using JSON Patch.
Inputs: request (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Tools split cleanly by resource (work items vs pull requests) and action (list/get/query/create/update/add). Work item query vs get are distinct via WIQL vs ID lookup, and metadata tools are clearly scoped. No two tools appear to do the same job.
All tools follow the ado_<resource>_<action> pattern, which is predictable and easy to learn. Minor inconsistencies exist: list/query sometimes use plural resources (pull_requests_list, work_items_query) while other actions use singular forms, and both 'add' and 'create' are used for different resources.
15 tools is at the upper boundary but remains well-scoped for work-item and pull-request workflows. Each tool maps to a distinct operation, and the metadata tools (types/fields) are justified by Azure DevOps's dynamic work-item models.
Work item coverage is solid with query/get/create/update/comments, but the PR side lacks update/complete/abandon operations, so a PR can be created and discussed but not merged or completed through the server. There is also no work-item delete or reply to existing PR review threads. These are notable lifecycle gaps rather than trivial workarounds.
Maintenance
Related MCP Connectors
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
Crie épicos, features, histórias e tasks no Azure DevOps a partir de uma conversa.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Azure DevOps work items to Claude Code via MCP, enabling fetching, listing, updating tickets and automating PR creation.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Azure DevOps for managing work items, repositories, wikis, and automating development workflows.MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Azure DevOps for managing work items, pull requests, and pipelines through natural language.MIT
- AlicenseBqualityDmaintenanceEnables 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