Azure DevOpsのロゴ

Azure DevOps

組織人気
microsoft

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

公開者microsoft
リポジトリazure-devops-mcp
言語TypeScript
フォーク
651
スター
2K
利用可能なツール
77
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Azure DevOpsは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 77個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには2K件のスターと651件のフォークがあります。

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.

インストール

TypingMind
前提条件:

Node.js 18+

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

利用可能なツール

  • 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を複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Azure DevOpsに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Azure DevOpsをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Azure DevOpsのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "azure-devops": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAzure DevOpsのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Azure DevOpsのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Azure DevOpsを使ってこのタスクを手伝ってもらえますか?
Azure DevOps
はい、読みました。
Azure DevOpsで調べた結果をお伝えします。

よくある質問

Azure DevOps MCPサーバーは何に使いますか?

Azure DevOpsは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでAzure DevOps MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAzure DevOpsを利用できます。

TypingMindでAzure DevOps MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Azure DevOpsを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Azure DevOps MCPをTypingMindに接続するにはどうすればよいですか?

Azure DevOpsはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAzure DevOps MCPのどのようなツールを利用できますか?

Azure DevOpsは77個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Azure DevOps MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Azure DevOpsで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇