Logo vun Azure DevOps

Azure DevOps

OrganisatiounBeléift
microsoft

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

Editeurmicrosoft
Repositoryazure-devops-mcp
SproochTypeScript
Forks
651
Stären
2K
Disponibel Tools
77
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Azure DevOps stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 77 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    2K Stären an 651 Forks aus dem verlinkte 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.

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

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

Azure DevOps MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Azure DevOps verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Azure DevOps als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Azure DevOps an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "azure-devops": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Azure DevOps. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Azure DevOps.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Azure DevOps?
Azure DevOps
Jo. Ech hunn et gelies.
Dat hunn ech mat Azure DevOps fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Azure DevOps benotzt?

Azure DevOps ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Azure DevOps MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Azure DevOps mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Azure DevOps MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Azure DevOps verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Azure DevOps MCP mat TypingMind?

Azure DevOps leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Azure DevOps MCP an TypingMind zur Verfügung?

Azure DevOps stellt 77 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Azure DevOps MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Azure DevOps eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇