Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

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

core_list_projects

List organization projects

core_list_project_teams

List teams in a project

core_get_identity_ids

Search identities by filter

Repositories (18 tools)

Tool

Description

repo_list_repos_by_project

List repositories in a project

repo_get_repo_by_name_or_id

Get repository by name or ID

repo_list_branches_by_repo

List branches in a repository

repo_list_my_branches_by_repo

List my branches

repo_get_branch_by_name

Get branch by name

repo_create_branch

Create new branch

repo_list_pull_requests_by_repo_or_project

List pull requests

repo_get_pull_request_by_id

Get PR details

repo_create_pull_request

Create pull request

repo_update_pull_request

Update pull request

repo_update_pull_request_reviewers

Update PR reviewers

repo_list_pull_request_threads

List PR comment threads

repo_list_pull_request_thread_comments

List comments in a thread

repo_create_pull_request_thread

Create comment thread

repo_update_pull_request_thread

Update thread

repo_reply_to_comment

Reply to a comment

repo_search_commits

Search commits

repo_list_pull_requests_by_commits

List PRs by commits

Work Items (21 tools)

Tool

Description

wit_get_work_item

Get work item by ID

wit_get_work_items_batch_by_ids

Get multiple work items

wit_create_work_item

Create work item

wit_update_work_item

Update work item

wit_update_work_items_batch

Update multiple work items

wit_my_work_items

List my work items

wit_list_backlogs

List backlogs

wit_list_backlog_work_items

List backlog items

wit_list_work_item_comments

List comments

wit_add_work_item_comment

Add comment

wit_list_work_item_revisions

List revisions

wit_get_work_items_for_iteration

Get items for an iteration

wit_add_child_work_items

Add child work items

wit_work_items_link

Create link between work items

wit_work_item_unlink

Remove link between work items

wit_link_work_item_to_pull_request

Link work item to PR

wit_add_artifact_link

Add artifact link

wit_get_work_item_type

Get work item type

wit_get_query

Get saved query

wit_get_query_results_by_id

Execute query by ID

Pipelines (14 tools)

Tool

Description

pipelines_get_builds

List builds

pipelines_get_build_changes

Get build changes

pipelines_get_build_definitions

List build definitions

pipelines_get_build_definition_revisions

List definition revisions

pipelines_get_build_log

Get build logs

pipelines_get_build_log_by_id

Get specific log by ID

pipelines_get_build_status

Get build status

pipelines_update_build_stage

Update build stage

pipelines_create_pipeline

Create pipeline

pipelines_get_run

Get pipeline run

pipelines_list_runs

List runs

pipelines_run_pipeline

Run pipeline

pipelines_list_artifacts

List artifacts

pipelines_download_artifact

Download artifact

Wiki (6 tools)

Tool

Description

wiki_list_wikis

List project wikis

wiki_get_wiki

Get wiki by ID

wiki_list_pages

List wiki pages

wiki_get_page

Get page by path

wiki_get_page_content

Get page content

wiki_create_or_update_page

Create or update page

Search (3 tools)

Tool

Description

search_code

Search code

search_wiki

Search wiki

search_workitem

Search work items

Test Plans (9 tools)

Tool

Description

testplan_list_test_plans

List test plans

testplan_create_test_plan

Create test plan

testplan_list_test_suites

List test suites

testplan_create_test_suite

Create test suite

testplan_list_test_cases

List test cases

testplan_create_test_case

Create test case

testplan_update_test_case_steps

Update test case steps

testplan_add_test_cases_to_suite

Add test cases to suite

testplan_show_test_results_from_build_id

Get test results from a build

Advanced Security (2 tools)

Tool

Description

advsec_get_alerts

Get security alerts

advsec_get_alert_details

Get alert details

Work/Iterations (7 tools)

Tool

Description

work_list_team_iterations

List team iterations

work_list_iterations

List project iterations

work_create_iterations

Create iterations

work_assign_iterations

Assign iterations to team

work_get_team_capacity

Get team capacity

work_update_team_capacity

Update capacity

work_get_iteration_capacities

Get iteration capacities

Installation

npm install
npm run build

Configuration

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-token

Generating a PAT

  1. Go to https://dev.azure.com/{your-org}/_usersSettings/tokens

  2. Click "New Token"

  3. 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 start

Comparison 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 tools
advsec_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_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_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).

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

    C2.7/5.0

    Scored across 82 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count1/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers