Azure Devops

Cloud and DevOps

The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

Your AI app calls the Azure Devops MCP server, which does the cloud and DevOps work and sends the result back to the chat.

About Azure Devops

Azure Devops is the official MCP server from microsoft, filed in our directory under cloud and devops. The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

At a glance

Publisher
microsoft, the company behind the product
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
2,107

How to set up Azure Devops

  1. Follow the install steps in the Azure Devops README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Azure Devops README for keys or settings; the registry lists none that Azure Devops requires.
  3. Add Azure Devops to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Azure Devops tools to confirm the connection.
  5. Run one read-only task with Azure Devops first, and keep your app asking before each tool call until the results look right.

Azure Devops compared with similar servers

  • TerraVision by patrickchugh has fewer GitHub stars than Azure Devops (1.7k against 2.1k); Azure Devops is official while TerraVision is a community server, and both run locally.
  • Unla by AmoyLab has more GitHub stars than Azure Devops (2.3k against 2.1k); Azure Devops is official while Unla is a community server, and both run locally.
  • Azure Skills by microsoft has fewer GitHub stars than Azure Devops (1.7k against 2.1k); both are official servers, and both run locally.

Before you connect Azure Devops

  • Give Azure Devops its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Azure Devops tool call until you trust what it does with them.
  • Treat text that Azure Devops fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Azure Devops on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Azure Devops

How marketing and sales teams put Azure Devops to work, by company size. Pick the size closest to yours and start Azure Devops on one use case.

Small business

  • A small business can ask Azure Devops why the site is slow or down and get the likely cause in plain words.
  • Owners can use Azure Devops to check hosting costs and spot services they pay for but no longer use.
  • Azure Devops runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Web teams can connect Azure Devops to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Azure Devops to spin up preview environments for every landing page review.
  • Start Azure Devops on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should give Azure Devops read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Azure Devops to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Because Azure Devops comes from microsoft, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Azure Devops README

From microsoft/azure-devops-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

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.

Questions about Azure Devops

What is the Azure Devops MCP server?

The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents. Azure Devops is published by microsoft, the company behind the product, on GitHub at microsoft/azure-devops-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Azure Devops MCP server?

Azure Devops doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (microsoft/azure-devops-mcp). Like most servers, Azure Devops ends with a command or URL you paste into your AI app's MCP config.

Does Azure Devops need an API key?

The registry lists no required keys for Azure Devops. Check the Azure Devops README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Azure Devops an official MCP server?

Yes. Azure Devops is published by microsoft, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is Azure Devops under?

Azure Devops is released under the MIT license, according to its GitHub repository. The license covers the code of Azure Devops; the service it connects to has its own terms.