Logo van Azure DevOps

Azure DevOps

OrganisatiePopulair
microsoft

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

Uitgevermicrosoft
Repositoryazure-devops-mcp
TaalTypeScript
Forks
651
Sterren
2K
Beschikbare tools
77
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Azure DevOps biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 77 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    2K sterren en 651 forks in de gekoppelde repository.

Azure DevOps MCP Server

[!WARNING] We recently completed a full tool consolidation that includes renaming of existing tools. Please see the Toolset documentation for the complete list of new tool names.

If this is a breaking change for your agents or skills, you can temporarily pin the version to @azure-devops/mcp@2.8.1

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

[!IMPORTANT] We recommend using the Remote MCP Server instead of this local server. It requires no installation and gets new features first.

Learn more

  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.

json
{
  "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:
json
{
  "inputs": [
    {
      "id": "ado_org",
      "type": "promptString",
      "description": "Azure DevOps organization name  (e.g. 'contoso')"
    }
  ],
  "servers": {
    "ado": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "${input:ado_org}"]
    }
  }
}
  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:

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

json
{
  "inputs": [
    {
      "id": "ado_org",
      "type": "promptString",
      "description": "Azure DevOps organization name  (e.g. 'contoso')"
    }
  ],
  "servers": {
    "ado_with_filtered_domains": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "${input:ado_org}", "-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

json
{
  "servers": {
    "ado": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@azure-devops/mcp", "myorg", "--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! ❤️

Contributors

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.

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "azure_devops": {
      "command": "npx",
      "args": [
        "-y",
        "@azure-devops/mcp",
        "${input:ado_org}"
      ]
    }
  }
}

Beschikbare tools

  • core_list_project_teams

    Retrieve a list of teams for the specified Azure DevOps project.

  • core_list_projects

    Retrieve a list of projects in your Azure DevOps organization.

  • core_get_identity_ids

    Retrieve Azure DevOps identity IDs for a provided search filter.

  • work_list_team_iterations

    Retrieve a list of iterations for a specific team in a project.

  • work_create_iterations

    Create new iterations in a specified Azure DevOps project.

  • work_assign_iterations

    Assign existing iterations to a specific team in a project.

  • repo_create_pull_request

    Create a new pull request.

  • repo_update_pull_request

    Update a Pull Request by ID with specified fields, including setting autocomplete with various completion options.

  • repo_update_pull_request_reviewers

    Add or remove reviewers for an existing pull request.

  • repo_list_repos_by_project

    Retrieve a list of repositories for a given project

  • repo_list_pull_request_threads

    Retrieve a list of comment threads for a pull request.

  • repo_list_pull_request_thread_comments

    Retrieve a list of comments in a pull request thread.

  • repo_list_branches_by_repo

    Retrieve a list of branches for a given repository.

  • repo_list_my_branches_by_repo

    Retrieve a list of my branches for a given repository Id.

  • repo_get_repo_by_name_or_id

    Get the repository by project and repository name or ID.

  • repo_get_branch_by_name

    Get a branch by its name.

  • repo_get_pull_request_by_id

    Get a pull request by its ID.

  • repo_reply_to_comment

    Replies to a specific comment on a pull request.

  • repo_create_pull_request_thread

    Creates a new comment thread on a pull request.

  • repo_resolve_comment

    Resolves a specific comment thread on a pull request.

  • repo_search_commits

    Search for commits in a repository with comprehensive filtering capabilities. Supports searching by description/comment text, time range, author, committer, specific commit IDs, and more. This is the unified tool for all commit search operations.

  • repo_list_pull_requests_by_commits

    Lists pull requests by commit IDs to find which pull requests contain specific commits

  • wit_list_backlogs

    Receive a list of backlogs for a given project and team.

  • wit_list_backlog_work_items

    Retrieve a list of backlogs of for a given project, team, and backlog category

  • wit_my_work_items

    Retrieve a list of work items relevent to the authenticated user.

  • wit_get_work_items_batch_by_ids

    Retrieve list of work items by IDs in batch.

  • wit_get_work_item

    Get a single work item by ID.

  • wit_list_work_item_comments

    Retrieve list of comments for a work item by ID.

  • wit_add_work_item_comment

    Add comment to a work item by ID.

  • wit_add_child_work_items

    Create one or many child work items from a parent by work item type and parent id.

  • wit_link_work_item_to_pull_request

    Link a single work item to an existing pull request.

  • wit_get_work_items_for_iteration

    Retrieve a list of work items for a specified iteration.

  • wit_update_work_item

    Update a work item by ID with specified fields.

  • wit_get_work_item_type

    Get a specific work item type.

  • wit_create_work_item

    Create a new work item in a specified project and work item type.

  • wit_get_query

    Get a query by its ID or path.

  • wit_get_query_results_by_id

    Retrieve the results of a work item query given the query ID.

  • wit_update_work_items_batch

    Update work items in batch

  • wit_work_items_link

    Link work items together in batch.

  • wit_work_item_unlink

    Remove one or many links from a single work item

  • wit_add_artifact_link

    Add artifact links (repository, branch, commit, builds) to work items. You can either provide the full vstfs URI or the individual components to build it automatically.

  • wiki_get_wiki

    Get the wiki by wikiIdentifier

  • wiki_list_wikis

    Retrieve a list of wikis for an organization or project.

  • wiki_list_pages

    Retrieve a list of wiki pages for a specific wiki and project.

  • wiki_get_page_content

    Retrieve wiki page content. Provide either a 'url' parameter OR the combination of 'wikiIdentifier' and 'project' parameters.

  • wiki_create_or_update_page

    Create or update a wiki page with content.

  • testplan_list_test_plans

    Retrieve a paginated list of test plans from an Azure DevOps project. Allows filtering for active plans and toggling detailed information.

  • testplan_create_test_plan

    Creates a new test plan in the project.

  • testplan_add_test_cases_to_suite

    Adds existing test cases to a test suite.

  • testplan_create_test_case

    Creates a new test case work item.

  • testplan_list_test_cases

    Gets a list of test cases in the test plan.

  • testplan_show_test_results_from_build_id

    Gets a list of test results for a given project and build ID.

  • search_code

    Search Azure DevOps Repositories for a given search text

  • search_wiki

    Search Azure DevOps Wiki for a given search text

  • search_workitem

    Get Azure DevOps Work Item search results for a given search text

  • advsec_get_alerts

    Retrieve Advanced Security alerts for a repository.

  • advsec_get_alert_details

    Get detailed information about a specific Advanced Security alert.

  • work_list_iterations

    List all iterations in a specified Azure DevOps project.

  • work_get_team_capacity

    Get the team capacity of a specific team and iteration in a project.

  • work_update_team_capacity

    Update the team capacity of a team member for a specific iteration in a project.

  • work_get_iteration_capacities

    Get an iteration's capacity for all teams in iteration and project.

  • pipelines_get_build_definitions

    Retrieves a list of build definitions for a given project.

  • pipelines_get_build_definition_revisions

    Retrieves a list of revisions for a specific build definition.

  • pipelines_get_builds

    Retrieves a list of builds for a given project.

  • pipelines_get_build_log

    Retrieves the logs for a specific build.

  • pipelines_get_build_log_by_id

    Get a specific build log by log ID.

  • pipelines_get_build_changes

    Get the changes associated with a specific build.

  • pipelines_get_run

    Gets a run for a particular pipeline.

  • pipelines_list_runs

    Gets top 10000 runs for a particular pipeline.

  • pipelines_run_pipeline

    Starts a new run of a pipeline.

  • pipelines_get_build_status

    Fetches the status of a specific build.

  • pipelines_update_build_stage

    Updates the stage of a specific build.

  • repo_create_branch

    Create a new branch in the repository.

  • repo_list_pull_requests_by_repo_or_project

    Retrieve a list of pull requests for a given repository. Either repositoryId or project must be provided.

  • wiki_get_page

    Retrieve wiki page metadata by path. This tool does not return page content.

  • testplan_create_test_suite

    Creates a new test suite in a test plan.

  • testplan_update_test_case_steps

    Update an existing test case work item.

Gebruik Azure DevOps MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Azure DevOps is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Azure DevOps toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Azure DevOps.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "azure-devops": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Azure DevOps in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Azure DevOps in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Azure DevOps gebruiken om me hiermee te helpen?
Azure DevOps
Zeker. Ik heb het gelezen.
Dit vond ik met Azure DevOps.

Veelgestelde vragen

Waarvoor wordt de MCP-server Azure DevOps gebruikt?

Azure DevOps is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Azure DevOps MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Azure DevOps gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Azure DevOps MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Azure DevOps verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Azure DevOps MCP met TypingMind?

Azure DevOps werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Azure DevOps MCP in TypingMind?

Azure DevOps biedt 77 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Azure DevOps MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Azure DevOps authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇