azure-devops-mcp

by @Tiberriver256

Azure Devops MCP Server

Manage Azure DevOps Services (cloud) and on-premises Azure DevOps Server—work items, repos, PRs, pipelines, wikis, test plans, OData analytics, and events—over stdio or Streamable HTTP. Built by Tiberriver256 in Node.js (>=24.0.0) under MIT, it bundles 77 tools across 13 filterable toolsets.

Cloud & DevOps406nodeMIT

Server facts

azure-devops-mcp

GitHub stars

406

Last commit

Nov 30, 2026

Runtime

node

License

MIT

Tech

Runtime
node
Transports
stdiostreamable-http
Remote access
No
Authentication
Personal Access Token (PAT), Azure Identity, or Azure CLI login

Activity

GitHub stars
406
Last commit
Data as of

Overview

Engineering organizations running Azure DevOps Server on-premises or needing broader workflow coverage than Microsoft's cloud-focused official package can deploy `@tiberriver256/mcp-server-azure-devops` (`Tiberriver256/azure-devops-mcp`, MIT license) for `azure devops mcp` workflows. Requiring Node.js `>=24.0.0`, it launches via `npx -y @tiberriver256/mcp-server-azure-devops` over `stdio` for Claude Desktop, Cursor, or VS Code, or serves Streamable HTTP (`--transport http --port 3000`) with DNS-rebinding Origin validation, Bearer/PAT authentication, and Docker packaging. Authentication supports Personal Access Tokens across both cloud and on-prem collections (such as `https://server:8080/tfs/DefaultCollection`, with configurable `AZURE_DEVOPS_API_VERSION` defaulting to `7.1`), plus Azure Identity (`DefaultAzureCredential`) and `az login` Azure CLI credentials for Azure DevOps Services.

Spanning 77 tools partitioned across 13 domain toolsets—covering Work Items, Sprints/Work iterations, Pull Requests, Repositories, Pipelines, Test Plans, Wikis, Search, Projects, Organizations, Users, OData v4 Analytics, and SEP-3415 Events—the server prevents context bloat through curated presets (`pr-review`, `ci-debug`, `boards`, `core`) and fine-grained `--toolsets`, `--enabled-tools`, and `--disabled-tools` flags. Fail-closed `--read-only` mode blocks every state mutation and local attachment download, while prompt-injection Spotlighting wraps untrusted Azure DevOps payloads in per-call 128-bit cryptographic nonces by default, alongside `ado://` resource URIs and `/webhooks/ado` ingestion.

Install & configure

Requirements

  • Node.js >=24.0.0 (`npx -y @tiberriver256/mcp-server-azure-devops`) with npm or yarn
  • `AZURE_DEVOPS_ORG_URL` pointing to your Azure DevOps Services org or on-premises Azure DevOps Server collection
  • Authentication credentials: `AZURE_DEVOPS_PAT` (`pat`, required for on-prem), Azure Identity (`azure-identity`, cloud only), or `az login` (`azure-cli`, cloud only)
Documented launch / install command
npx -y @tiberriver256/mcp-server-azure-devops

Add `@tiberriver256/mcp-server-azure-devops` via `npx -y` to Claude Desktop or Cursor under `mcpServers`, setting `AZURE_DEVOPS_ORG_URL`, `AZURE_DEVOPS_AUTH_METHOD`, and optional `--toolsets` presets (`pr-review`, `ci-debug`, `boards`, `core`) or `--read-only`. For Streamable HTTP, pass `--transport http --port 3000 --http-auth-token`.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "azureDevOps": {
      "command": "npx",
      "args": [
        "-y",
        "@tiberriver256/mcp-server-azure-devops"
      ],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
        "AZURE_DEVOPS_AUTH_METHOD": "pat",
        "AZURE_DEVOPS_PAT": "<YOUR_PAT>",
        "AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
      }
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "azureDevOps": {
      "command": "npx",
      "args": [
        "-y",
        "@tiberriver256/mcp-server-azure-devops"
      ],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
        "AZURE_DEVOPS_AUTH_METHOD": "pat",
        "AZURE_DEVOPS_PAT": "<YOUR_PAT>",
        "AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
      }
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "azureDevOps": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tiberriver256/mcp-server-azure-devops"
      ],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
        "AZURE_DEVOPS_AUTH_METHOD": "pat",
        "AZURE_DEVOPS_PAT": "<YOUR_PAT>",
        "AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
      }
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "azureDevOps": {
      "command": "npx",
      "args": [
        "-y",
        "@tiberriver256/mcp-server-azure-devops"
      ],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
        "AZURE_DEVOPS_AUTH_METHOD": "pat",
        "AZURE_DEVOPS_PAT": "<YOUR_PAT>",
        "AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
      }
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "azureDevOps": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tiberriver256/mcp-server-azure-devops"
      ],
      "env": {
        "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
        "AZURE_DEVOPS_AUTH_METHOD": "pat",
        "AZURE_DEVOPS_PAT": "<YOUR_PAT>",
        "AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
      }
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
list_projectsList all projects accessible in the configured Azure DevOps organization or on-prem collection.
list_repositoriesEnumerate Git repositories belonging to an Azure DevOps project.
get_file_contentRead the contents of a file or directory directly from an Azure DevOps Git repository.
create_branchCreate a new Git branch from an existing ref inside an Azure DevOps repository.
create_commitCommit multi-file changes to a branch using unified diffs or search-and-replace instructions.
get_work_itemRetrieve full metadata and field values for an Azure Boards work item by ID.
create_work_itemCreate a new Azure Boards work item in a project.
update_work_itemModify fields, state, or links on an existing Azure Boards work item.
search_codeRun code search queries across repositories within an Azure DevOps project.
list_pipelinesList CI/CD build and release pipelines configured in an Azure DevOps project.
get_pipeline_logRetrieve raw or JSON-formatted execution logs for an Azure Pipelines run.
trigger_pipelineTrigger an Azure Pipeline run with customizable runtime parameters.
create_pull_requestOpen a new pull request in an Azure DevOps Git repository.
get_pull_request_checksSummarize pull request status checks, policy evaluations, and linked pipeline runs.
merge_pull_requestComplete or configure auto-complete on an active pull request with merge strategy and work-item transitions.
list_test_plansList Azure Test Plans configured in a project alongside suite and test-case workflows.
query_analyticsExecute guarded OData v4 Analytics queries with $batch support and same-origin @odata.nextLink paging.
poll_eventsPoll buffered Azure DevOps MCP events by cursor with optional event-type filtering.

Use cases

  • Review and merge Azure Repos pull requests with the narrow `--toolsets pr-review` preset covering diffs, status checks, reviewer votes, and comment threads.
  • Debug broken CI builds using `--toolsets ci-debug` to inspect pipeline timelines, download artifacts, examine failing test results, and retry canceled stages.
  • Manage on-premises Azure DevOps Server work items, sprints, wikis, and test plans where Microsoft's cloud-first official MCP server may not apply.
  • Calculate cycle time, lead time, sprint velocity, and pipeline pass rates through guarded OData v4 Analytics queries and `get_analytics_metrics`.

Strengths

  • Explicitly supports on-premises Azure DevOps Server via PAT auth and configurable `AZURE_DEVOPS_API_VERSION` alongside Azure DevOps Services cloud.
  • Curated workflow presets (`pr-review`, `ci-debug`, `boards`, `core`), allow/denylists, and fail-closed `--read-only` mode trim the 77-tool surface safely.
  • Enables prompt-injection Spotlighting (128-bit cryptographic nonces) by default and ships both `stdio` and Streamable HTTP (`node:http`) transports.
  • Covers rare DevOps capabilities including Test Plans, OData v4 Analytics, `ado://` resource URIs, and SEP-3415 webhook event polling.

Limitations

  • Requires Node.js >=24.0.0, which is newer than older LTS runtimes installed on many enterprise developer machines.
  • On-premises Azure DevOps Server supports PAT authentication only—Azure Identity, Azure CLI, `get_me`, and `list_organizations` work on cloud Services only.
  • Microsoft maintains an official `microsoft/azure-devops-mcp` server, which this README itself recommends trying first for standard cloud-only usage.

azure-devops-mcp setup notes

  • Check AZURE_DEVOPS_AUTH_METHOD, AZURE_DEVOPS_DEFAULT_PROJECT, AZURE_DEVOPS_ORG_URL, AZURE_DEVOPS_PAT in the azure-devops-mcp configuration if startup or authentication fails.
  • azure-devops-mcp's example uses stdio, while its catalog transports are stdio / streamable-http; use the example's connection type.

Frequently asked questions

Choose this community server when you run Azure DevOps Server on-premises (especially older releases needing PAT auth and custom `AZURE_DEVOPS_API_VERSION`), or when you want built-in features like OData v4 Analytics, Test Plans, SEP-3415 webhook events, workflow presets, and default-ON 128-bit Spotlighting. For standard cloud-only Azure DevOps Services, the README recommends evaluating `microsoft/azure-devops-mcp` first.

Related MCP servers