
Azure DevOps MCP Server
Microsoft's server for Azure DevOps boards, repos, pipelines, wikis and test plans.
- 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).
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)
- npm package
- @azure-devops/mcp
- 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.
| Tool | What it is for |
|---|---|
pipelines_run | Lists and reads pipeline runs. |
Changes things18 tools · Can create, edit, send or delete.
| Tool | What it is for |
|---|---|
pipelines_artifact | Lists and downloads build artifacts. |
pipelines_write | Queues runs, creates and renames YAML pipelines, and cancels, retries or runs a stage of a running build. |
repo_create_branch | Creates a branch. |
repo_file_write | Creates or updates a text file on a branch and commits it. |
repo_pull_request_thread_write | Replies to, opens and resolves pull request comment threads. |
repo_pull_request_write | Creates and updates pull requests: reviewers, votes, status and auto-complete. |
testplan_test_case_write | Creates and updates test cases. |
testplan_test_plan_write | Creates test plans. |
testplan_test_suite_write | Creates test suites and adds test cases to them. |
wiki_upsert_page | Creates or updates a wiki page. |
wit_backlog | Reads backlogs and reorders the items on them. |
wit_work_item_attachment_link | Links an uploaded attachment to a work item. |
wit_work_item_attachment_upload | Uploads a file to attach to a work item. |
wit_work_item_comment_write | Adds or edits comments on a work item. |
wit_work_item_link_write | Links work items to each other, to pull requests or to commits. |
wit_work_item_write | Creates and updates work items, singly or in batches, including child items. |
work_capacity_write | Updates a team member's capacity for an iteration. |
work_iteration_write | Creates iterations or assigns them to a team. |
Only reads25 tools · Looks things up and changes nothing.
| Tool | What it is for |
|---|---|
advsec_get_alert_details | Reads one Advanced Security alert in detail. |
advsec_get_alerts | Lists Advanced Security alerts for a repository. |
core_get_identity_ids | Looks up people's identity IDs from a name or email. |
core_list_project_teams | Lists the teams in a project. |
core_list_projects | Lists the projects in your organization. |
pipelines_build | Lists builds and reads their status and changes. |
pipelines_build_log | Reads build logs, whole or by line range. |
pipelines_definition | Lists and reads pipeline definitions. |
repo_branch | Lists and reads branches. |
repo_file | Reads files and folders from a repository. |
repo_pull_request | Lists pull requests in a repository or reads one, with changed files if asked. |
repo_pull_request_org | Lists your active pull requests, or those waiting on your review, across the organization. |
repo_pull_request_thread | Reads pull request comment threads. |
repo_repository | Lists repositories or reads one. |
repo_search_commits | Searches commits by text, author, date or branch. |
search_code | Searches code across repositories. |
search_wiki | Searches wiki pages. |
search_workitem | Searches work items by text and filters. |
testplan | Reads test plans, suites and cases. |
testplan_show_test_results_from_build_id | Reads the test results of a build, filtered by outcome. |
wiki | Lists wikis and pages and reads page content. |
wit_query | Runs saved work item queries or WIQL. |
wit_work_item | Reads work items: one or many by ID, yours, their comments, history or those in an iteration. |
wit_work_item_attachment | Downloads a work item attachment. |
work | Reads 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 mcp add azure-devops -- npx -y @azure-devops/mcp YOUR_ORGANIZATIONThis 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.
Where it goes: ~/.cursor/mcp.json, or .cursor/mcp.json in a project
{
"mcpServers": {
"azure-devops": {
"command": "npx",
"args": [
"-y",
"@azure-devops/mcp",
"YOUR_ORGANIZATION"
]
}
}
}This runs the local server. The hosted server needs your own Entra app registration with the redirect http://localhost:8787/callback; Microsoft's remote server docs show the config.
Where it goes: claude_desktop_config.json (Settings → Developer → Edit Config)
{
"mcpServers": {
"azure-devops": {
"command": "npx",
"args": [
"-y",
"@azure-devops/mcp",
"YOUR_ORGANIZATION"
]
}
}
}Use this local server: Microsoft says the hosted server does not work in Claude Desktop, because Entra lacks the dynamic client registration it needs.
Where it goes: .vscode/mcp.json in your project
{
"servers": {
"ado-remote-mcp": {
"url": "https://mcp.dev.azure.com/YOUR_ORGANIZATION",
"type": "http"
}
},
"inputs": []
}Microsoft's recommended hosted server. Start it from the MCP view and sign in with your Entra (work) account. The local npx @azure-devops/mcp server is the fallback.
Where it goes: ~/.codex/config.toml, shared by the Codex CLI, IDE extension and ChatGPT desktop app
[mcp_servers.azure-devops]
command = "npx"
args = ["-y", "@azure-devops/mcp", "YOUR_ORGANIZATION"]Or run: codex mcp add azure-devops -- npx -y @azure-devops/mcp YOUR_ORGANIZATION
Where it goes: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"azure-devops": {
"command": "npx",
"args": [
"-y",
"@azure-devops/mcp",
"YOUR_ORGANIZATION"
]
}
}
}Where it goes: Not supported
Microsoft does not list ChatGPT for the hosted server, and the local server runs on your computer.
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.
https://mcp.dev.azure.com/YOUR_ORGANIZATIONChecked 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.
| Setting | What it does |
|---|---|
{organization}Config · required | Your organization name, the part after dev.azure.com/, as the first argument.contoso |
-d / --domainsCommand line flag | Loads 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 flag | How to sign in: interactive (browser, the default), azcli, env (Azure credential chain), envvar or pat.--authentication azcli |
-t / --tenantCommand line flag | The Entra tenant ID to sign in to, for people with access to several tenants. |
ADO_MCP_AUTH_TOKENEnvironment variable | A bearer token, used with --authentication envvar. |
PERSONAL_ACCESS_TOKENEnvironment variable | The base64 of email:PAT, used with --authentication pat. |
ado_mcp_project / ado_mcp_teamEnvironment variable | A 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
- Overview
- Design
- Remote MCP Server (Recommended)
- Supported Tools
- Local MCP Server Installation (Optional)
- Using Domains (Local Server)
- Project and Team Defaults (Local Server)
- Troubleshooting
- Examples and Best Practices
- Frequently Asked Questions
- 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
stdiosetup.
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
- Install VS Code or VS Code Insiders.
- Install Node.js 20 or later.
- Open your project in VS Code.
Installation
Install from npm
- Create
.vscode/mcp.jsonin your project. - Add this configuration:
{
"servers": {
"ado": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@azure-devops/mcp", "{organization}"]
}
}
}
- Save the file, then start the
adoserver from the MCP view in VS Code. - Open GitHub Copilot Chat and switch to Agent mode.
- Select the Azure DevOps tools, then try a prompt such as
List ADO projects. - 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

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

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