Skip to main content

Announcing StackOne Defender: leading open-source prompt injection guard for your agent Read More

Azure DevOps MCP Server
for AI Agents

Production-ready Azure DevOps MCP server with 172 extensible actions — plus built-in authentication, security, and optimized execution.

Azure DevOps logo
Azure DevOps MCP Server
Built by StackOne StackOne

Coverage

172 Agent Actions

Create, read, update, and delete across Azure DevOps — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your Azure DevOps MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every Azure DevOps tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Azure DevOps call.

Tools Discovery →

What is the Azure DevOps MCP Server?

A Azure DevOps MCP server lets AI agents read and write Azure DevOps data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Azure DevOps MCP server ships with 172 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All Azure DevOps MCP Tools and Actions

Every action from Azure DevOps's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Projects

  • Create Project

    Create a new project in the organization

  • List Projects

    Retrieve all projects in the Azure DevOps organization

  • Get Project

    Retrieve a specific project by ID or name

  • Update Project

    Update a project's name, description, or abbreviation

  • Delete Project

    Queue deletion of a project and all its resources

Project Properties

  • Get Project Properties

    Get a collection of team project properties

  • Set Project Properties

    Create, update, or delete team project properties using JSON Patch

Work Items

  • Create Work Item

    Create a new work item in a project

  • Get Work Item

    Retrieve a single work item by ID

  • Search Work Items

    Full-text search across work items

  • Update Work Item

    Update an existing work item

  • Delete Work Item

    Delete a work item by ID

Work Item Types

  • List Work Item Types

    Retrieve all work item types for a project

  • Get Work Item Type

    Get details of a specific work item type including fields and transitions

Work Item Comments

  • Add Work Item Comment

    Add a new comment to a work item

  • List Work Item Comments

    Get paginated list of comments on a work item

  • Get Work Item Comment

    Get a specific comment by ID on a work item

  • Update Work Item Comment

    Update the text of an existing comment on a work item

  • Delete Work Item Comment

    Delete a comment from a work item

Attachments

  • Upload Attachment

    Upload an attachment to the attachment store

  • Download Attachment

    Download an attachment by its ID

Work Item Tags

  • List Work Item Tags

    Get all tags defined in a project

  • Get Work Item Tag

    Get a specific tag by name or ID

  • Update Work Item Tag

    Update a work item tag (rename)

  • Delete Work Item Tag

    Delete a tag from all work items and pull requests in the project

Queries

  • List Queries

    Get saved query folders and flat queries for a project

  • Search Queries

    Search for saved queries by name filter

Classification Nodes

  • Create Classification Node

    Create a new area path or iteration path node

  • Get Classification Nodes

    Get area or iteration path hierarchy for a project

  • Update Classification Node

    Update an area or iteration node (rename, update dates)

  • Delete Classification Node

    Delete an area or iteration path and reclassify work items

Repositorys

  • Create Repository

    Create a new Git repository in a project

  • Get Repository

    Retrieve a specific Git repository by ID or name

  • Update Repository

    Update repository properties like name or default branch

  • Delete Repository

    Delete a Git repository

Pull Requests

  • Create Pull Request

    Create a new pull request

  • List Pull Requests

    Retrieve pull requests for a repository

  • Get Pull Request

    Retrieve a specific pull request by ID

  • Update Pull Request

    Update an existing pull request

Pull Request Threads

  • Create Pull Request Thread

    Create a new comment thread on a pull request

  • List Pull Request Threads

    Retrieve comment threads for a pull request

Pull Request Reviewers

  • Add Pull Request Reviewer

    Add a reviewer to a pull request or cast a vote

  • List Pull Request Reviewers

    Get all reviewers on a pull request with their vote status

Pull Request Labels

  • Add Pull Request Label

    Add a label to a pull request

  • List Pull Request Labels

    Get labels on a pull request

Items

  • Get Item

    Get a file item (content or metadata) from a repository

  • List Items

    Get items (files and folders) in a repository path

Refs

  • List Refs

    Retrieve Git references (branches and tags) for a repository

  • Update Refs

    Create, update, or delete branches/tags by updating refs

Commits

  • List Commits

    Retrieve commits for a repository

  • Get Commit

    Retrieve a specific commit by ID

Pipelines

  • Create Pipeline

    Create a new pipeline in a project

  • List Pipelines

    Retrieve all pipelines in a project

  • Get Pipeline

    Retrieve a specific pipeline by ID

Pipeline Runs

  • List Pipeline Runs

    Retrieve runs for a specific pipeline

  • Get Pipeline Run

    Retrieve a specific pipeline run by ID

Pipeline Logs

  • List Pipeline Logs

    Get log entries for a pipeline run

  • Get Pipeline Log

    Get a specific log by ID for a pipeline run

Builds

  • List Builds

    Retrieve builds for a project

  • Get Build

    Retrieve a specific build by ID

Build Definitions

  • List Build Definitions

    Retrieve build definitions for a project

  • Get Build Definition

    Retrieve a specific build definition by ID

Build Logs

  • Get Build Logs

    Retrieve log references for a build

  • Get Build Log

    Retrieve the content of a specific build log

Build Tags

  • Add Build Tag

    Add a tag to a build

  • List Build Tags

    Retrieve all tags for a specific build

Teams

  • Create Team

    Create a new team in a project

  • List Teams

    Retrieve all teams in the organization

  • Get Team

    Retrieve a specific team by project and team ID

  • Update Team

    Update an existing team in a project

  • Delete Team

    Delete a team from a project

Iterations

  • List Iterations

    Retrieve iterations (sprints) for a team

  • Get Iteration

    Retrieve a specific iteration (sprint) by ID

Backlogs

  • List Backlogs

    Get backlog configurations and levels for a team

  • Get Backlog

    Get a specific backlog level configuration

Users

  • List Users

    Retrieve all users in the organization

  • Get User

    Retrieve a specific user by descriptor

User Entitlements

  • Add User Entitlement

    Add a user with license assignment and project group membership

  • List User Entitlements

    Retrieve user entitlements (licenses and access levels)

  • Get User Entitlement

    Get a user's entitlements (license, extensions, projects)

  • Update User Entitlement

    Update a user's entitlements (license, extensions, project membership)

  • Delete User Entitlement

    Remove a user, unassign license and extensions, remove from projects

Memberships

  • Add Membership

    Add a user or group to a group

  • List Memberships

    Get group memberships for a user or group

Wikis

  • Create Wiki

    Create a new wiki in a project

  • List Wikis

    Retrieve all wikis in a project

  • Get Wiki

    Retrieve a specific wiki by identifier

  • Delete Wiki

    Delete a wiki from a project

Wiki Pages

  • Get Wiki Page

    Retrieve a wiki page by path

  • Delete Wiki Page

    Delete a wiki page by path

Feeds

  • Create Feed

    Create a new package feed

  • List Feeds

    Get artifact feeds in the organization or project

  • Get Feed

    Get a specific feed by ID with configuration details

  • Update Feed

    Update feed settings and properties

Feed Permissions

  • Get Feed Permissions

    Get permissions on a feed

  • Set Feed Permissions

    Set permissions on a feed for users or groups

Service Hooks

  • Create Service Hook

    Create a webhook subscription for Azure DevOps events

  • List Service Hooks

    List webhook subscriptions

  • Delete Service Hook

    Delete a webhook subscription

Service Endpoints

  • Create Service Endpoint

    Create a new service connection (endpoint)

  • List Service Endpoints

    Get service connections for a project

  • Get Service Endpoint

    Retrieve a specific service connection by ID

  • Delete Service Endpoint

    Delete a service connection

Variable Groups

  • Create Variable Group

    Create a new variable group with key-value pairs

  • List Variable Groups

    Get variable groups for a project

  • Get Variable Group

    Retrieve a specific variable group by ID

  • Update Variable Group

    Update variable group variables and properties

  • Delete Variable Group

    Delete a variable group

Environments

  • Create Environment

    Create a new pipeline environment in a project

  • List Environments

    Get pipeline environments for a project

  • Get Environment

    Get a specific pipeline environment by ID

  • Delete Environment

    Delete a pipeline environment from a project

Agent Pools

  • List Agent Pools

    Get agent pools in the organization

  • Get Agent Pool

    Retrieve a specific agent pool by ID

Policy Configurations

  • Create Policy Configuration

    Create a branch policy configuration

  • List Policy Configurations

    Get branch policy configurations for a project

  • Get Policy Configuration

    Retrieve a specific policy configuration by ID

  • Update Policy Configuration

    Update an existing policy configuration

Dashboards

  • List Dashboards

    Get dashboards for a team

  • Get Dashboard

    Retrieve a specific dashboard by ID

Other (52)

  • Create Query

    Create a new saved query or query folder

  • Create Pull Request Status

    Create a status on a pull request from an external service

  • Create Push

    Push changes (commits) to a repository including branch creation

  • Create Or Update Wiki Page

    Create or update a wiki page with markdown content

  • Create Dashboard Widget

    Create a widget on a team dashboard

  • Query Work Items (WIQL)

    Execute a Work Item Query Language (WIQL) query to find work items

  • List Work Items By IDs

    Retrieve multiple work items by their IDs

  • List Fields

    Get all fields defined in a project or organization

  • List Work Item Type Fields

    Get fields specific to a work item type with allowed values

  • List Work Item Relation Types

    Get available work item relation/link types in the collection

  • List Work Item Revisions

    Get all revisions of a work item showing full state at each revision

  • List Work Item Updates

    Get individual update records showing field changes per revision

  • Get Query

    Get a specific saved query or query folder by path or ID

  • List Repositories

    Retrieve all Git repositories in a project

  • List Pull Request Commits

    Get commits included in a pull request

  • List Pull Request Work Items

    Get work items linked to a pull request

  • List Pull Request Iterations

    Get iterations (push updates) of a pull request

  • List Pull Request Statuses

    Get status checks on a pull request

  • Get Tree

    Get a Git tree object (folder contents) by SHA1

  • List Pushes

    Get pushes to a repository with filtering

  • List Forks

    List forks of a repository in a specified collection

  • List Merge Bases

    Get merge base commits between two commits

  • List Branch Statistics

    Retrieve branch statistics (ahead/behind counts) for a repository

  • Get Pipeline Artifact

    Get artifact metadata for a pipeline run

  • Get Build Timeline

    Get the timeline (stages, jobs, tasks) of a build

  • List Build Artifacts

    Get artifacts produced by a build

  • Get Build Changes

    Retrieve source changes associated with a build

  • Get Build Work Items

    Retrieve work items associated with a build

  • List Release Definitions

    Retrieve release definitions for a project

  • List Releases

    Retrieve releases for a project

  • List Deployments

    Get deployment records with filtering

  • List Team Members

    Retrieve members of a specific team

  • List Iteration Work Items

    Retrieve work items for a specific iteration

  • List Boards

    Get boards for a team

  • List Groups

    Get groups in the organization via Graph API

  • List Test Plans

    Retrieve test plans for a project

  • List Test Runs

    Retrieve test runs for a project

  • List Test Results

    Retrieve test results for a test run

  • Search Code

    Search for code across repositories

  • List Service Hook Notifications

    Get notification history for a service hook subscription

  • Get Subscription

    Retrieve a specific service hook subscription by ID

  • List Environment Deployment Records

    Get deployment execution history for a pipeline environment

  • List Agents

    Get agents in an agent pool

  • List Policy Evaluations

    Get policy evaluation records for a pull request

  • List Approvals

    Retrieve pipeline approvals for a project

  • List Widgets

    Retrieve all widgets on a dashboard

  • Update Query

    Update, rename, or move a saved query or query folder

  • Delete Query

    Delete a saved query or query folder

  • Run Pipeline

    Trigger a pipeline run

  • Preview Pipeline

    Queue a dry run returning the final resolved YAML

  • Queue Build

    Queue a new build using a build definition

  • Replace Service Hook

    Replace/update an existing webhook subscription

Set Up Your Azure DevOps MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to Azure DevOps in under 10 lines of code.

MCP Clients

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

More Developer Tools MCP Servers

Cloudflare

137+ actions

Bitbucket

134+ actions

Supabase

128+ actions

GitLab

125+ actions

Terraform

118+ actions

OneLogin

109+ actions

LaunchDarkly

85+ actions

Azure DevOps MCP Server FAQ

Azure DevOps MCP server vs direct API integration — what's the difference?
A Azure DevOps MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling Azure DevOps. A Azure DevOps MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling Azure DevOps at runtime. StackOne provides both.
How does Azure DevOps authentication work for AI agents?
Azure DevOps authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own Azure DevOps account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are Azure DevOps MCP tools vulnerable to prompt injection?
Yes — Azure DevOps MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a Azure DevOps agent and how do I avoid it?
Context bloat happens when Azure DevOps tool schemas and API responses eat your Azure DevOps agent's memory, preventing it from reasoning effectively. A single Azure DevOps query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my Azure DevOps agent can access?
Yes — you can limit which actions your Azure DevOps agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my Azure DevOps MCP server?
Yes — you can create custom agent actions for your Azure DevOps MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research Azure DevOps's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a Azure DevOps MCP server?
Skip a Azure DevOps MCP server if your integration is purely software-to-software — direct Azure DevOps API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call Azure DevOps actions at runtime.
What AI frameworks and AI clients does the StackOne Azure DevOps MCP server support?
The StackOne Azure DevOps MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.