Skip to content
MCP Shelf

Azure DevOps MCP Server

Microsoft's server for Azure DevOps boards, repos, pipelines, wikis and test plans.

View on GitHub
  • Started in our test
  • ★ 2.1K GitHub stars
  • Last commit 23 Oct 2026

What is Azure DevOps MCP?

Azure DevOps MCP is Microsoft's official MCP server that lets AI assistants work with Azure DevOps projects, work items, repos, pull requests, pipelines, wikis and test plans.

Tools
44
Runs on
Hosted or your computer
Licence
MIT
GitHub stars
2.1K

Good for

  • Asking what is in the current sprint and updating work items
  • Reviewing pull requests and build failures from your editor
  • Keeping project wikis up to date

You'll need

  • An Azure DevOps organization
  • A Microsoft Entra ID work or school account
  • Node.js 20 or newer, for the local version

Started in our testWe ran this exact config on 27 Oct 2026: it started and answered with 44 tools. The shared database gave only the hosted address with a placeholder bearer token. The hosted server signs in with your Microsoft account, and the local package is @azure-devops/mcp on npm.

MCP Shelf take

We started Azure DevOps on our own test machine on 27 Oct 2026 and it answered with 44 tools. 25 of the 44 only read; the other 19 can change things. Every tool comes with a useful description, all of them say whether they change things, and the tool list costs about 3,500 tokens of context before you ask a thing. It sits 4th of 5 in its category on our shelf by GitHub stars (2.1K).
MCP Shelf tests: numbers from our own runs, not the README · tested on 27 Oct 2026

What can Azure DevOps MCP read and change?

It can read

  • Projects, teams, work items, backlogs and iterations
  • Repositories, branches, commits and pull requests
  • Pipelines, builds, logs, test plans, wikis and security alerts

It can change

  • Work items, comments, links and attachments
  • Pull requests, review threads, branches and committed files
  • Pipeline runs, iterations, capacity, wiki pages and test plans

Safer setup: Load only the domains you need with -d, and sign in as an account whose Azure DevOps permissions match what you want the model to do.

Azure DevOps MCP in more detail

Microsoft maintains this server for Azure DevOps. The model can list projects and teams, read and update work items, look at iterations and team capacity, browse repositories and pull requests, check and start pipeline runs, read and write wiki pages, search code and work items, and work with test plans and Advanced Security alerts.

There are two versions. Microsoft now recommends its hosted server at mcp.dev.azure.com, which needs no install and gets new tools first; this local npx package remains supported for clients that need stdio. Both need a work or school account backed by Microsoft Entra ID, since personal Microsoft accounts are not supported.

Made by
Microsoft
Latest version
2.11.0 (22 Oct 2026)
Last commit
23 Oct 2026
Setup checked
27 Oct 2026
Page updated
27 Oct 2026

What's in the pod

What tools does Azure DevOps MCP have?

We found 44 tools when we started it on 27 Oct 2026. 25 only read. The rest can change things, so keep your app's "ask before each tool call" setting on for them.

Runs commands1 tool · Can start programs or run code.

ToolWhat it is for
pipelines_runLists and reads pipeline runs.

Changes things18 tools · Can create, edit, send or delete.

ToolWhat it is for
pipelines_artifactLists and downloads build artifacts.
pipelines_writeQueues runs, creates and renames YAML pipelines, and cancels, retries or runs a stage of a running build.
repo_create_branchCreates a branch.
repo_file_writeCreates or updates a text file on a branch and commits it.
repo_pull_request_thread_writeReplies to, opens and resolves pull request comment threads.
repo_pull_request_writeCreates and updates pull requests: reviewers, votes, status and auto-complete.
testplan_test_case_writeCreates and updates test cases.
testplan_test_plan_writeCreates test plans.
testplan_test_suite_writeCreates test suites and adds test cases to them.
wiki_upsert_pageCreates or updates a wiki page.
wit_backlogReads backlogs and reorders the items on them.
wit_work_item_attachment_linkLinks an uploaded attachment to a work item.
wit_work_item_attachment_uploadUploads a file to attach to a work item.
wit_work_item_comment_writeAdds or edits comments on a work item.
wit_work_item_link_writeLinks work items to each other, to pull requests or to commits.
wit_work_item_writeCreates and updates work items, singly or in batches, including child items.
work_capacity_writeUpdates a team member's capacity for an iteration.
work_iteration_writeCreates iterations or assigns them to a team.

Only reads25 tools · Looks things up and changes nothing.

ToolWhat it is for
advsec_get_alert_detailsReads one Advanced Security alert in detail.
advsec_get_alertsLists Advanced Security alerts for a repository.
core_get_identity_idsLooks up people's identity IDs from a name or email.
core_list_project_teamsLists the teams in a project.
core_list_projectsLists the projects in your organization.
pipelines_buildLists builds and reads their status and changes.
pipelines_build_logReads build logs, whole or by line range.
pipelines_definitionLists and reads pipeline definitions.
repo_branchLists and reads branches.
repo_fileReads files and folders from a repository.
repo_pull_requestLists pull requests in a repository or reads one, with changed files if asked.
repo_pull_request_orgLists your active pull requests, or those waiting on your review, across the organization.
repo_pull_request_threadReads pull request comment threads.
repo_repositoryLists repositories or reads one.
repo_search_commitsSearches commits by text, author, date or branch.
search_codeSearches code across repositories.
search_wikiSearches wiki pages.
search_workitemSearches work items by text and filters.
testplanReads test plans, suites and cases.
testplan_show_test_results_from_build_idReads the test results of a build, filtered by outcome.
wikiLists wikis and pages and reads page content.
wit_queryRuns saved work item queries or WIQL.
wit_work_itemReads work items: one or many by ID, yours, their comments, history or those in an iteration.
wit_work_item_attachmentDownloads a work item attachment.
workReads iterations, team settings and team capacity.

Grouped and described by us. The README on GitHub lists the inputs each tool takes.

How clearly it describes its tools to your assistant

Tools with a description
44 of 44
Say if they change things
44 of 44
Context it takes, at least
~3,500 tokens

Every tool says whether it only reads or can change things, so a client can ask before the risky ones.

From the tool list it sent us. The token figure counts names, descriptions and input names; the full schemas your client loads add more.

How do I install Azure DevOps MCP?

Install steps from the Azure DevOps MCP README

The project's own instructions, copied from its README on GitHub on 27 Oct 2026 under its MIT licence. They are the source of truth; the ready-made configs further down are built from them. The rest of the README is in the README tab.

Quick Start

Create .vscode/mcp.json in your project and add this configuration. Replace {organization} with your Azure DevOps organization name.

{
  "servers": {
    "ado-remote-mcp": {
      "url": "https://mcp.dev.azure.com/{organization}",
      "type": "http"
    }
  },
  "inputs": []
}

See the remote server configuration documentation for more options.

After saving .vscode/mcp.json, start the server from the MCP view in VS Code, then run a prompt like List ADO projects.

What you need first

  • An Azure DevOps organization
  • A Microsoft Entra ID work or school account
  • Node.js 20 or newer, for the local version

Add Azure DevOps MCP to your app

Pick your app for a ready-to-paste snippet and where it goes, built from the steps above.

Where it goes: Your terminal, in the project folder

Claude Code
claude mcp add azure-devops -- npx -y @azure-devops/mcp YOUR_ORGANIZATION

This runs the local server. The hosted server also works in Claude Code, but only with your own Entra app registration: claude mcp add --transport http ado https://mcp.dev.azure.com/YOUR_ORGANIZATION --client-id YOUR_CLIENT_ID --callback-port 3118.

Replace YOUR_ORGANIZATION with the name in your dev.azure.com address. Add "-d", "core", "work", "work-items" to load only some tool groups. It signs in through a browser by default; use "--authentication", "azcli" or "pat" on machines without one.

Remote option

Microsoft's recommended hosted server, in preview. Replace the last part with your organization name and sign in with your Microsoft account.

Server URL
https://mcp.dev.azure.com/YOUR_ORGANIZATION

Checked against the project's own install docs on 27 Oct 2026: microsoft/azure-devops-mcp README, learn.microsoft.com/en-us/azure/devops/mcp-server/remote-mcp-server.

Did this work for you?

Projects change their install steps often. If Azure DevOps MCP did not install, or something here no longer matches the project, tell us and we will check it against the README and fix the page.

New to this? See the setup guides for Claude Code, Cursor, Claude Desktop, VS Code, Codex and ChatGPT. If it will not start, test it in MCP Inspector and look up the error in Fixing MCP server errors.

Azure DevOps MCP not working? Common fixes

Sign-in hangs in WSL, SSH sessions, containers or CI
The default browser sign-in needs a browser. Use --authentication azcli after az login, or envvar or pat with a token.
TF400813: the user is not authorized
You are probably signed in to the wrong tenant. Pass --tenant with your organization's tenant ID.
A personal Microsoft account is rejected
Only Entra ID work or school accounts are supported.
The client warns about too many tools
Pass -d with only the domains you need, such as core work work-items.

How do I configure Azure DevOps MCP?

Names are exactly as the project spells them. Required ones are marked.

SettingWhat it does
{organization}Config · requiredYour organization name, the part after dev.azure.com/, as the first argument.contoso
-d / --domainsCommand line flagLoads only some tool groups: core, work, work-items, search, test-plans, repositories, wiki, pipelines and advanced-security. Always include core.-d core work work-items
-a / --authenticationCommand line flagHow to sign in: interactive (browser, the default), azcli, env (Azure credential chain), envvar or pat.--authentication azcli
-t / --tenantCommand line flagThe Entra tenant ID to sign in to, for people with access to several tenants.
ADO_MCP_AUTH_TOKENEnvironment variableA bearer token, used with --authentication envvar.
PERSONAL_ACCESS_TOKENEnvironment variableThe base64 of email:PAT, used with --authentication pat.
ado_mcp_project / ado_mcp_teamEnvironment variableA default project and team, so tools do not ask each time.Contoso

Azure DevOps MCP FAQ

How do I add Azure DevOps MCP to VS Code?

Create .vscode/mcp.json with a server of type http at https://mcp.dev.azure.com/ followed by your organization name, start it from the MCP view and sign in with your Entra account. Then ask Copilot to list your projects.

How do I add Azure DevOps MCP to Claude Code?

The simple route is the local server: claude mcp add ado -- npx -y @azure-devops/mcp YOUR_ORGANIZATION. The hosted server works too, with your own Entra app registration passed as --client-id and --callback-port 3118.

Should I use the hosted or local Azure DevOps MCP server?

Microsoft recommends the hosted server at mcp.dev.azure.com and says it will eventually replace the local one. Use the local npx server for Claude Desktop, Codex or anything that needs stdio.

Does Azure DevOps MCP work with a personal Microsoft account?

No. It supports Entra ID work or school accounts, and the hosted server needs an organization backed by Microsoft Entra. Organizations on personal Microsoft accounts are not supported.

Does Azure DevOps MCP work with Azure DevOps Server on-premises?

No. It supports only Azure DevOps Services in the cloud, and Microsoft says it has no plans for on-premises support.

Is Azure DevOps MCP free?

Yes. The server is MIT licensed and the hosted endpoint has no separate charge. It works within your existing Azure DevOps licences and permissions.

Is Azure DevOps MCP safe?

It acts with your Azure DevOps permissions, so it can change what you can. Load only the domains you need with -d, such as core and work-items, and sign in as an account whose rights match the job.

Why does Azure DevOps MCP say TF400813, user not authorized?

The signed-in account lacks access to that organization or project, or you signed in to the wrong tenant. Pass --tenant with the right tenant ID, or sign in with the account that is a project member.

Azure DevOps MCP README

This is the project's own README from microsoft/azure-devops-mcp, written by Microsoft, and shared under its MIT licence. We copied it on 27 Oct 2026, so the version on GitHub may be newer.

Azure DevOps MCP Server

Important: We recommend using the Remote MCP Server instead of this local server. It requires no installation and gets new features first.

Learn more

This project gives AI agents access to Azure DevOps through the Model Context Protocol (MCP). Use the hosted remote server for the simplest setup, or run the local server when you need a stdio connection.

Table of Contents

  1. Overview
  2. Design
  3. Remote MCP Server (Recommended)
  4. Supported Tools
  5. Local MCP Server Installation (Optional)
  6. Using Domains (Local Server)
  7. Project and Team Defaults (Local Server)
  8. Troubleshooting
  9. Examples and Best Practices
  10. Frequently Asked Questions
  11. Contributing

Overview

The Azure DevOps MCP Server brings Azure DevOps context to your agents. Try prompts like:

  • "List my ADO projects"
  • "List ADO Builds for 'Contoso'"
  • "List ADO Repos for 'Contoso'"
  • "List test plans for 'Contoso'"
  • "List teams for project 'Contoso'"
  • "List iterations for project 'Contoso'"
  • "List my work items for project 'Contoso'"
  • "List work items in current iteration for 'Contoso' project and 'Contoso Team'"
  • "List all wikis in the 'Contoso' project"
  • "Create a wiki page '/Architecture/Overview' with content about system design"
  • "Update the wiki page '/Getting Started' with new onboarding instructions"
  • "Get the content of the wiki page '/API/Authentication' from the Documentation wiki"

Design

Each tool handles a focused Azure DevOps task. The server provides a thin layer over the REST APIs, while the AI agent handles higher-level reasoning.

Remote MCP Server (Recommended)

For complete instructions, see the Remote MCP Server onboarding documentation.

The remote server will eventually replace the local server. The local server remains supported, but new development will focus on the remote server. Existing local server users should begin planning their migration.

If you encounter issues with tools, need support, or have a feature request, you can report an issue using the Remote MCP Server issue template. During the preview period, we will track Remote MCP Server issues through this repository.

Quick Start

Create .vscode/mcp.json in your project and add this configuration. Replace {organization} with your Azure DevOps organization name.

{
  "servers": {
    "ado-remote-mcp": {
      "url": "https://mcp.dev.azure.com/{organization}",
      "type": "http"
    }
  },
  "inputs": []
}

See the remote server configuration documentation for more options.

After saving .vscode/mcp.json, start the server from the MCP view in VS Code, then run a prompt like List ADO projects.

Supported Tools

See the Available Tools documentation for the complete list of available remote tools.

For the complete list of local tools, see TOOLSET.md.

Local MCP Server Installation (Optional)

Important: Start with the Remote MCP Server first. Use the local MCP Server only if your scenario specifically requires a local stdio setup.

These steps use Visual Studio Code and GitHub Copilot. For other supported clients, including Visual Studio 2022, Codex, Claude Code, Cursor, OpenCode, and Kilo Code, see the getting started guide.

Prerequisites
  1. Install VS Code or VS Code Insiders.
  2. Install Node.js 20 or later.
  3. Open your project in VS Code.
Installation
Install from npm
  1. Create .vscode/mcp.json in your project.
  2. Add this configuration:
{
  "servers": {
    "ado": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "{organization}"]
    }
  }
}
  1. Save the file, then start the ado server from the MCP view in VS Code.
  2. Open GitHub Copilot Chat and switch to Agent mode.
  3. Select the Azure DevOps tools, then try a prompt such as List ADO projects.
  4. When prompted, sign in with a Microsoft account that has access to the selected Azure DevOps organization.

To use nightly builds, replace @azure-devops/mcp with @azure-devops/mcp@next in the configuration.

For better tool selection, add .github/copilot-instructions.md to your project with this instruction:

This project uses Azure DevOps. Always check whether the Azure DevOps MCP server has a tool relevant to the user's request.

Using Domains (Local Server)

The local server includes many tools. Domains let you load only the tool groups you need, which keeps the tool list manageable and helps clients with tool limits. Available domains are core, work, work-items, search, test-plans, repositories, wiki, pipelines, and advanced-security.

Add -d followed by the domains to the server arguments. For example, this configuration loads only work item-related tools:

{
  "servers": {
    "ado_with_filtered_domains": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "{organization}", "-d", "core", "work", "work-items"]
    }
  }
}

Always include core so the agent can retrieve project information.

If you omit -d, the server loads all domains.

Project and Team Defaults (Local Server)

Set default Azure DevOps project and team values in .vscode/mcp.json so tools can skip selection prompts.

Example .vscode/mcp.json
{
  "servers": {
    "ado": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "{organization}", "--authentication", "azcli"],
      "env": {
        "ado_mcp_project": "Contoso",
        "ado_mcp_team": "Fabrikam Team"
      }
    }
  }
}

Troubleshooting

See the Troubleshooting guide for help with common issues and logging.

Examples

See the examples for sample prompts.

Frequently Asked Questions

For answers to common questions about the Azure DevOps MCP Server, see the Frequently Asked Questions.

Contributing

We welcome contributions. During preview, file issues for bugs, enhancements, or documentation improvements.

See our Contributions Guide for:

  • Development setup
  • Adding new tools
  • Code style and testing
  • Pull request process

Read the Contributions Guide before creating a pull request.

Code of Conduct

This project follows the Microsoft Open Source Code of Conduct. For questions, see the FAQ or contact open@microsoft.com.

Hall of Fame

Thanks to all contributors who make this project awesome! ❤️

Generated with contrib.rocks

License

Licensed under the MIT License.


Trademarks: This project may include trademarks or logos for Microsoft or third parties. Use of Microsoft trademarks or logos must follow Microsoft’s Trademark & Brand Guidelines. Third-party trademarks are subject to their respective policies.

Two peas, one chat

Chat with AI about Azure DevOps

Opens a chat primed with Azure DevOps’s README and setup docs from this page, or add it in Cursor to use its tools.

The Cursor button opens Cursor and asks before it adds the server. Fill in any keys it needs in Cursor’s MCP settings.

Peas in a pod

What are the alternatives to Azure DevOps MCP?

How Azure DevOps MCP lines up against its neighbours on the shelf. See every cloud and operations server.

  • Azure DevOps MCPThis pea

    Microsoft's server for Azure DevOps boards, repos, pipelines, wikis and test plans.

    Tools
    44
    Runs on
    Hosted or your computer
    Licence
    MIT
    Stars
    2.1K
  • Terraform MCP Server

    Current Terraform provider and module docs for your assistant, plus HCP Terraform if you want it.

    Tools
    61
    Runs on
    Your computer or hosted
    Licence
    MPL-2.0
    Stars
    1.6K
  • AWS Knowledge MCP Server

    AWS's free hosted server for current AWS docs, API references and region checks.

    Tools
    5
    Runs on
    Hosted
    Licence
    Apache-2.0
    Stars
    9.8K
  • Cloudflare MCP Servers

    Cloudflare's own hosted servers, starting with a docs search that needs no sign-in.

    Tools
    2
    Runs on
    Hosted
    Licence
    Apache-2.0
    Stars
    4.4K
  • Grafana MCP

    Dashboards, metrics, logs, alerts and incidents from your Grafana, in one server.

    Tools
    62
    Runs on
    Your computer
    Licence
    Apache-2.0
    Stars
    3.6K
Full docs on GitHubmicrosoft/azure-devops-mcp

Something wrong on this page? Tell us.

For bots & AI agents

Machine-readable versions of Azure DevOps MCP and MCP Shelf. Fetch these instead of parsing this page.

This listing (.md)llms.txtllms-full.txtai.txtFull catalog (.md)API specMCP serverMCP manifestDeveloper docs