MCP Azure DevOps Server
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., "@MCP Azure DevOps Server list my open pull requests in the Contoso project"
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.
MCP Azure DevOps Server
An MCP (Model Context Protocol) server for Azure DevOps that combines the comprehensive features of Microsoft's official MCP with simplified authentication using only PAT (Personal Access Token).
Features
Simple PAT authentication: No interactive browser authentication required
100% of official MCP features: Includes all 82 tools from Microsoft's Azure DevOps MCP
Compatible with Claude Code and other MCP clients
Related MCP server: Azure DevOps MCP Server with PAT Authentication
Available Resources (82 tools)
Core (3 tools)
Tool | Description |
| List organization projects |
| List teams in a project |
| Search identities by filter |
Repositories (18 tools)
Tool | Description |
| List repositories in a project |
| Get repository by name or ID |
| List branches in a repository |
| List my branches |
| Get branch by name |
| Create new branch |
| List pull requests |
| Get PR details |
| Create pull request |
| Update pull request |
| Update PR reviewers |
| List PR comment threads |
| List comments in a thread |
| Create comment thread |
| Update thread |
| Reply to a comment |
| Search commits |
| List PRs by commits |
Work Items (21 tools)
Tool | Description |
| Get work item by ID |
| Get multiple work items |
| Create work item |
| Update work item |
| Update multiple work items |
| List my work items |
| List backlogs |
| List backlog items |
| List comments |
| Add comment |
| List revisions |
| Get items for an iteration |
| Add child work items |
| Create link between work items |
| Remove link between work items |
| Link work item to PR |
| Add artifact link |
| Get work item type |
| Get saved query |
| Execute query by ID |
Pipelines (14 tools)
Tool | Description |
| List builds |
| Get build changes |
| List build definitions |
| List definition revisions |
| Get build logs |
| Get specific log by ID |
| Get build status |
| Update build stage |
| Create pipeline |
| Get pipeline run |
| List runs |
| Run pipeline |
| List artifacts |
| Download artifact |
Wiki (6 tools)
Tool | Description |
| List project wikis |
| Get wiki by ID |
| List wiki pages |
| Get page by path |
| Get page content |
| Create or update page |
Search (3 tools)
Tool | Description |
| Search code |
| Search wiki |
| Search work items |
Test Plans (9 tools)
Tool | Description |
| List test plans |
| Create test plan |
| List test suites |
| Create test suite |
| List test cases |
| Create test case |
| Update test case steps |
| Add test cases to suite |
| Get test results from a build |
Advanced Security (2 tools)
Tool | Description |
| Get security alerts |
| Get alert details |
Work/Iterations (7 tools)
Tool | Description |
| List team iterations |
| List project iterations |
| Create iterations |
| Assign iterations to team |
| Get team capacity |
| Update capacity |
| Get iteration capacities |
Installation
npm install
npm run buildConfiguration
Set the environment variables:
# Azure DevOps organization URL
export AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
# Personal Access Token
export AZURE_DEVOPS_PAT=your-pat-tokenGenerating a PAT
Go to
https://dev.azure.com/{your-org}/_usersSettings/tokensClick "New Token"
Select the required scopes:
Code: Read & Write
Work Items: Read & Write
Build: Read & Execute
Project and Team: Read
Wiki: Read & Write
Test Management: Read & Write
Advanced Security: Read (if needed)
Usage with Claude Code
Add to your MCP configuration file (~/.config/claude-code/mcp.json or similar):
{
"mcpServers": {
"azure-devops": {
"command": "node",
"args": ["/path/to/mcp-azure-devops/build/index.js"],
"env": {
"AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
"AZURE_DEVOPS_PAT": "your-pat-token"
}
}
}
}Manual Execution
# With environment variables
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/org AZURE_DEVOPS_PAT=token npm start
# Or using .env file
npm startComparison with Microsoft's official MCP
Feature | Microsoft MCP | This MCP |
Authentication | Interactive OAuth, Azure CLI, env vars | PAT only |
Requires browser | Yes (default) | No |
Total tools | 82 | 82 (100%) |
Complexity | High | Low |
License
MIT
Available Tools
82 toolsadvsec_get_alert_detailsC
Get details of a specific alert.
Inputs: alertId (required), project (required), repository (required), ref.
advsec_get_alertsC
Get Advanced Security alerts for a repository.
Inputs: project (required), repository (required), top, states, +3 more.
core_get_identity_idsC
Retrieve Azure DevOps identity IDs for a provided search filter.
Inputs: searchFilter (required).
core_list_projectsC
Retrieve a list of projects in your Azure DevOps organization.
Inputs: top, skip, stateFilter, projectNameFilter.
core_list_project_teamsC
Retrieve a list of teams for the specified Azure DevOps project.
Inputs: project (required), top, mine, skip.
pipelines_create_pipelineC
Create a new pipeline.
Inputs: name (required), project (required), yamlPath (required), repositoryName (required), +3 more.
pipelines_download_artifactC
Download a build artifact.
Inputs: buildId (required), project (required), artifactName (required), destinationPath.
pipelines_get_build_changesC
Get the changes associated with a build.
Inputs: buildId (required), project (required), top.
pipelines_get_build_definition_revisionsC
Get revisions of a build definition.
Inputs: project (required), definitionId (required).
pipelines_get_build_definitionsC
Retrieves build definitions for a project.
Inputs: project (required), top, name, path, +2 more.
pipelines_get_build_logC
Retrieves logs for a build.
Inputs: buildId (required), project (required).
pipelines_get_build_log_by_idC
Get a specific build log by log ID.
Inputs: logId (required), buildId (required), project (required), endLine, +1 more.
pipelines_get_buildsC
Retrieves a list of builds for a given project.
Inputs: project (required), top, branchName, buildNumber, +3 more.
pipelines_get_build_statusB
Get the status of a build.
Inputs: buildId (required), project (required).
pipelines_get_runC
Get a specific pipeline run.
Inputs: runId (required), project (required), pipelineId (required).
pipelines_list_artifactsC
List artifacts for a build.
Inputs: buildId (required), project (required).
pipelines_list_runsC
List runs for a pipeline.
Inputs: project (required), pipelineId (required).
pipelines_run_pipelineC
Start a new pipeline run.
Inputs: project (required), pipelineId (required), variables, stagesToSkip, +1 more.
pipelines_update_build_stageB
Update a build stage (retry, cancel).
Inputs: status (required), buildId (required), project (required), stageName (required), +1 more.
repo_create_branchC
Create a new branch in the repository.
Inputs: branchName (required), repositoryId (required), sourceCommitId, sourceBranchName.
repo_create_pull_requestC
Create a new pull request.
Inputs: title (required), repositoryId (required), sourceRefName (required), targetRefName (required), +3 more.
repo_create_pull_request_threadC
Create a new comment thread on a pull request.
Inputs: content (required), repositoryId (required), pullRequestId (required), status, +2 more.
repo_get_branch_by_nameC
Get a branch by its name.
Inputs: branchName (required), repositoryId (required).
repo_get_pull_request_by_idC
Get a pull request by its ID.
Inputs: repositoryId (required), pullRequestId (required), includeWorkItemRefs.
repo_get_repo_by_name_or_idC
Get a repository by its name or ID.
Inputs: repositoryId (required), project.
repo_list_branches_by_repoC
Retrieve a list of branches for a repository.
Inputs: repositoryId (required), top, filterContains.
repo_list_my_branches_by_repoB
Retrieve branches created by the authenticated user.
Inputs: repositoryId (required), top.
repo_list_pull_requests_by_commitsC
Get pull requests associated with specific commits.
Inputs: commitIds (required), repositoryId (required), project.
repo_list_pull_requests_by_repo_or_projectC
Retrieve pull requests for a repository or project.
Inputs: top, skip, status, project, +1 more.
repo_list_pull_request_thread_commentsC
List comments in a specific thread.
Inputs: threadId (required), repositoryId (required), pullRequestId (required).
repo_list_pull_request_threadsC
List comment threads on a pull request.
Inputs: repositoryId (required), pullRequestId (required).
repo_list_repos_by_projectC
Retrieve a list of repositories for a given project.
Inputs: project (required), top, skip, repoNameFilter.
repo_reply_to_commentC
Reply to an existing comment thread.
Inputs: content (required), threadId (required), repositoryId (required), pullRequestId (required).
repo_search_commitsC
Search for commits in a repository.
Inputs: repositoryId (required), top, author, toDate, +3 more.
repo_update_pull_requestC
Update an existing pull request.
Inputs: repositoryId (required), pullRequestId (required), title, status, +2 more.
repo_update_pull_request_reviewersC
Add or update reviewers on a pull request.
Inputs: reviewerId (required), repositoryId (required), pullRequestId (required), vote, +1 more.
repo_update_pull_request_threadC
Update a comment thread status.
Inputs: status (required), threadId (required), repositoryId (required), pullRequestId (required).
search_codeC
Search for code in repositories.
Inputs: searchText (required), top, path, skip, +3 more.
search_wikiC
Search for wiki content.
Inputs: searchText (required), top, skip, wiki, +1 more.
search_workitemC
Search for work items.
Inputs: searchText (required), top, skip, state, +3 more.
testplan_add_test_cases_to_suiteC
Add test cases to a test suite.
Inputs: planId (required), project (required), suiteId (required), testCaseIds (required).
testplan_create_test_caseC
Create a new test case.
Inputs: title (required), project (required), steps, areaPath, +2 more.
testplan_create_test_planC
Create a new test plan.
Inputs: name (required), project (required), iteration (required), endDate, +3 more.
testplan_create_test_suiteC
Create a new test suite.
Inputs: name (required), planId (required), project (required), parentSuiteId (required).
testplan_list_test_casesC
List test cases in a test suite.
Inputs: planId (required), project (required), suiteId (required).
testplan_list_test_plansC
List test plans in a project.
Inputs: project (required), continuationToken, filterActivePlans, includePlanDetails.
testplan_list_test_suitesC
List test suites in a test plan.
Inputs: planId (required), project (required), continuationToken.
testplan_show_test_results_from_build_idC
Get test results for a build.
Inputs: buildId (required), project (required).
testplan_update_test_case_stepsC
Update test case steps.
Inputs: id (required), steps (required).
wiki_create_or_update_pageC
Create or update a wiki page.
Inputs: path (required), content (required), wikiIdentifier (required), etag, +1 more.
wiki_get_pageC
Get wiki page metadata.
Inputs: path (required), project (required), wikiIdentifier (required), recursionLevel.
wiki_get_page_contentC
Get wiki page content.
Inputs: project (required), wikiIdentifier (required), path.
wiki_get_wikiC
Get a specific wiki by identifier.
Inputs: wikiIdentifier (required), project.
wiki_list_pagesC
List pages in a wiki.
Inputs: project (required), wikiIdentifier (required), top, continuationToken.
wiki_list_wikisC
List wikis for a project or organization.
Inputs: project.
wit_add_artifact_linkC
Add an artifact link to a work item.
Inputs: workItemId (required), artifactUri (required), comment, linkType.
wit_add_child_work_itemsC
Add child work items to a parent.
Inputs: childIds (required), parentId (required).
wit_add_work_item_commentC
Add a comment to a work item.
Inputs: text (required), project (required), workItemId (required).
wit_create_work_itemD
Create a new work item.
Inputs: fields (required), project (required), workItemType (required).
wit_get_queryC
Get a saved query by path or ID.
Inputs: project (required), queryPath (required), expand.
wit_get_query_results_by_idC
Execute a saved query and get results.
Inputs: project (required), queryId (required), team.
wit_get_work_itemC
Get a single work item by ID.
Inputs: id (required), expand, fields, project.
wit_get_work_items_batch_by_idsC
Get multiple work items by IDs.
Inputs: ids (required), expand, fields, project.
wit_get_work_items_for_iterationC
Get work items for a specific iteration.
Inputs: team (required), project (required), iterationId (required).
wit_get_work_item_typeC
Get work item type definition.
Inputs: type (required), project (required).
wit_link_work_item_to_pull_requestC
Link a work item to a pull request.
Inputs: workItemId (required), repositoryId (required), pullRequestId (required).
wit_list_backlogsC
List backlogs for a team.
Inputs: team (required), project (required).
wit_list_backlog_work_itemsC
List work items in a backlog.
Inputs: team (required), project (required), backlogId (required).
wit_list_work_item_commentsC
List comments on a work item.
Inputs: project (required), workItemId (required).
wit_list_work_item_revisionsC
List revisions of a work item.
Inputs: workItemId (required), top, skip.
wit_my_work_itemsC
Retrieve work items relevant to the authenticated user.
Inputs: project (required), top, type.
wit_update_work_itemC
Update a work item.
Inputs: id (required), updates (required).
wit_update_work_items_batchC
Update multiple work items in batch.
Inputs: project (required), workItems (required).
wit_work_items_linkC
Create a link between work items.
Inputs: linkType (required), sourceId (required), targetId (required), comment.
wit_work_item_unlinkC
Remove a link between work items.
Inputs: linkType (required), sourceId (required), targetId (required).
work_assign_iterationsC
Assign iterations to a team.
Inputs: team (required), project (required), iterations (required).
work_create_iterationsC
Create new iterations.
Inputs: project (required), iterations (required).
work_get_iteration_capacitiesC
Get capacities for all teams in an iteration.
Inputs: project (required), iterationId (required).
work_get_team_capacityC
Get team capacity for an iteration.
Inputs: team (required), project (required), iterationId (required).
work_list_iterationsC
List all iterations in a project.
Inputs: project (required), depth.
work_list_team_iterationsC
List iterations for a team.
Inputs: team (required), project (required), timeframe.
work_update_team_capacityC
Update team member capacity.
Inputs: team (required), project (required), activities (required), iterationId (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 82 tools
Most tools target clearly distinct Azure DevOps resources and actions, helped by domain prefixes such as repo_, wit_, pipelines_, and testplan_. A few overlaps remain, especially around iterations/capacities, build logs, and multiple pull-request listing variants, but descriptions make them mostly separable.
The set generally follows a predictable domain-prefixed verb_noun pattern, e.g. repo_create_branch, wit_update_work_item, pipelines_run_pipeline. Minor deviations exist, such as wit_my_work_items and testplan_show_test_results_from_build_id, but the overall convention is readable and consistent.
With 82 tools, the surface is far beyond a practical, well-scoped MCP toolset and creates a heavy selection burden for an agent. Although Azure DevOps is broad and the tools are grouped by domain, this count is an extreme mismatch for effective tool use.
Coverage is broad across projects, repositories, pull requests, work items, pipelines, wiki, search, test plans, security alerts, and capacity. Some lifecycle gaps exist, notably around explicit delete operations and certain PR completion workflows, but core Azure DevOps workflows are largely represented.
Maintenance
Related MCP Connectors
Manage repositories, users, releases, and automate GitHub workflows
Repositories, work items with typed criteria, merge requests, specs and wikis
Laviya project management: read and update tasks, wikis, sprints and test cases.
Manage ONES projects, issues, tests, work hours, and Wiki knowledge.
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.MIT
- AlicenseBqualityDmaintenanceEnables interaction with Azure DevOps services through Personal Access Token authentication. Provides 75 tools for managing work items, builds, repositories, pull requests, and other DevOps operations via both CLI and HTTP API interfaces.701MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Azure DevOps entities like projects, repositories, work items, pull requests, and pipelines.17MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Azure DevOps for managing work items, repositories, wikis, and automating development workflows.MIT