@azure-devops/mcp 0.1.0 β†’ 0.2.0-preview-oauth

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,247 +1,320 @@
1
- # ⭐ Azure DevOps MCP Server
2
-
3
- Easily install the Azure DevOps MCP Server for VS Code or VS Code Insiders:
4
-
5
- [![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-Install_AzureDevops_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40ado%2Fazure-devops-mcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
6
- [![Install with NPX in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_AzureDevops_MCP_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&quality=insiders&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40ado%2Fazure-devops-mcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
7
-
8
- This TypeScript project defines the **local** MCP server for Azure DevOps, enabling you to perform a wide range of Azure DevOps tasks directly from your code editor.
9
-
10
- > 🚨 **Public Preview:** This project is in public preview. You can expect that the tools will change before general availability.
11
-
12
- ## πŸ“„ Table of contents
13
-
14
- 1. [πŸ“Ί Overview](#-overview)
15
- 2. [βš™οΈ Supported tools](#️-supported-tools)
16
- 3. [πŸ”Œ Installation & getting started](#-installation--getting-started)
17
- 4. [πŸ”¦ Usage](#-usage)
18
- 5. [πŸ“ Troubleshooting](#-troubleshooting)
19
- 6. [🎩 Samples & best practices](#-samples--best-practices)
20
- 7. [πŸ“Œ Contributing](#️-contributing)
21
-
22
- ## πŸ“Ί Overview
23
-
24
- The Azure DevOps MCP Server brings Azure DevOps context to your agents. Try prompts like:
25
-
26
- - "List my ADO projects"
27
- - "List ADO Builds for 'Contoso'"
28
- - "List ADO Releases for 'Contoso'"
29
- - "List ADO Repos for 'Contoso'"
30
- - "List test plans for 'Contoso'"
31
- - "List teams for project 'Contoso'"
32
- - "List iterations for project 'Contoso'"
33
- - "List my work items for project 'Contoso'"
34
- - "List work items in current iteration for 'Contoso' project and 'Contoso Team'"
35
-
36
- ## βš™οΈ Supported tools
37
-
38
- Interact with these Azure DevOps services:
39
-
40
- ### 🧿 Core
41
-
42
- - **core_list_project_teams**: Retrieve a list of teams for the specified Azure DevOps project.
43
- - **core_list_projects**: Retrieve a list of projects in your Azure DevOps organization.
44
-
45
- ### βš’οΈ Work
46
-
47
- - **work_list_team_iterations**: Retrieve a list of iterations for a specific team in a project.
48
- - **work_create_iterations**: Create new iterations in a specified Azure DevOps project.
49
- - **work_assign_iterations**: Assign existing iterations to a specific team in a project.
50
-
51
- ### πŸ“… Work Items
52
-
53
- - **wit_my_work_items**: Retrieve a list of work items relevent to the authenticated user.
54
- - **wit_list_backlogs**: Revieve a list of backlogs for a given project and team.
55
- - **wit_list_backlog_work_items**: Retrieve a list of backlogs of for a given project, team, and backlog category.
56
- - **wit_get_work_item**: Get a single work item by ID.
57
- - **wit_get_work_items_batch_by_ids**: Retrieve list of work items by IDs in batch.
58
- - **wit_update_work_item**: Update a work item by ID with specified fields.
59
- - **wit_create_work_item**: Create a new work item in a specified project and work item type.
60
- - **wit_list_work_item_comments**: Retrieve list of comments for a work item by ID.
61
- - **wit_get_work_items_for_iteration**: Retrieve a list of work items for a specified iteration.
62
- - **wit_add_work_item_comment**: Add comment to a work item by ID.
63
- - **wit_add_child_work_item**: Create a child work item from a parent by ID.
64
- - **wit_link_work_item_to_pull_request**: Link a single work item to an existing pull request.
65
- - **wit_get_work_item_type**: Get a specific work item type.
66
- - **wit_get_query**: Get a query by its ID or path.
67
- - **wit_get_query_results_by_id**: Retrieve the results of a work item query given the query ID.
68
- - **wit_update_work_items_batch**: Update work items in batch.
69
- - **wit_close_and_link_workitem_duplicates**: Close duplicate work items by id.
70
- - **wit_work_items_link**: Link work items together in batch.
71
-
72
- ### πŸ“ Repositories
73
-
74
- - **repo_list_repos_by_project**: Retrieve a list of repositories for a given project.
75
- - **repo_list_pull_requests_by_repo**: Retrieve a list of pull requests for a given repository.
76
- - **repo_list_pull_requests_by_project**: Retrieve a list of pull requests for a given project Id or Name.
77
- - **repo_list_branches_by_repo**: Retrieve a list of branches for a given repository.
78
- - **repo_list_my_branches_by_repo**: Retrieve a list of my branches for a given repository Id.
79
- - **repo_list_pull_request_threads**: Retrieve a list of comment threads for a pull request.
80
- - **repo_list_pull_request_thread_comments**: Retrieve a list of comments in a pull request thread.
81
- - **repo_get_repo_by_name_or_id**: Get the repository by project and repository name or ID.
82
- - **repo_get_branch_by_name**: Get a branch by its name.
83
- - **repo_get_pull_request_by_id**: Get a pull request by its ID.
84
- - **repo_create_pull_request**: Create a new pull request.
85
- - **repo_update_pull_request_status**: Update status of an existing pull request to active or abandoned.
86
- - **repo_reply_to_comment**: Replies to a specific comment on a pull request.
87
- - **repo_resolve_comment**: Resolves a specific comment thread on a pull request.
88
-
89
- ### πŸ›°οΈ Builds
90
-
91
- - **build_get_definitions**: Retrieves a list of build definitions for a given project.
92
- - **build_get_definition_revisions**: Retrieves a list of revisions for a specific build definition.
93
- - **build_get_builds**: Retrieves a list of builds for a given project.
94
- - **build_get_log**: Retrieves the logs for a specific build.
95
- - **build_get_log_by_id**: Get a specific build log by log ID.
96
- - **build_get_changes**: Get the changes associated with a specific build.
97
- - **build_run_build**: Triggers a new build for a specified definition.
98
- - **build_get_status**: Fetches the status of a specific build.
99
-
100
- ### πŸš€ Releases
101
-
102
- - **release_get_definitions**: Retrieves list of release definitions for a given project.
103
- - **release_get_releases**: Retrieves a list of releases for a given project.
104
-
105
- ### πŸ§ͺ Test Plans
106
-
107
- - **testplan_create_test_plan**: Creates a new test plan in the project.
108
- - **testplan_create_test_case**: Creates a new test case work item.
109
- - **testplan_add_test_cases_to_suite**: Adds existing test cases to a test suite.
110
- - **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.
111
- - **testplan_list_test_cases**: Gets a list of test cases in the test plan.
112
- - **testplan_show_test_results_from_build_id**: Gets a list of test results for a given project and build ID.
113
-
114
- ### πŸ”Ž Search
115
-
116
- - **search_code**: Get the code search results for a given search text.
117
- - **search_wiki**: Get wiki search results for a given search text.
118
- - **search_workitem**: Get work item search results for a given search text.
119
-
120
- ## πŸ”Œ Installation & getting started
121
-
122
- Clone the repository, install dependencies, and add it to your MCP client configuration.
123
-
124
- ### Visual Studio Code & GitHub Copilot
125
-
126
- For the best experience, use Visual Studio Code and GitHub Copilot.
127
-
128
- ### Prerequisites
129
-
130
- 1. Install [VS Code](https://code.visualstudio.com/download) or [VS Code Insiders](https://code.visualstudio.com/insiders)
131
- 2. Install [Node.js](https://nodejs.org/en/download) 20+
132
- 3. Open VS Code in an empty folder
133
-
134
- ### Azure Login
135
-
136
- Ensure you are logged in to Azure DevOps via the Azure CLI:
137
-
138
- ```sh
139
- az login
140
- ```
141
-
142
- ### Installation
143
-
144
- #### ✨ One-Click install
145
-
146
- [![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-Install_AzureDevops_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40ado%2Fazure-devops-mcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
147
- [![Install with NPX in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_AzureDevops_MCP_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&quality=insiders&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40ado%2Fazure-devops-mcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
148
-
149
- After installation, select GitHub Copilot Agent Mode and refresh the tools list. Learn more about Agent Mode in the [VS Code Documentation](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode).
150
-
151
- #### πŸ› οΈ Installing from source (dev mode)
152
-
153
- This installation method is recommended for advanced users and contributors who want immediate access to the latest updates from the main branch. It is ideal if you are developing new tools, enhancing existing features, or maintaining a custom fork.
154
-
155
- > **Note:** For most users, installing from the public feed is simpler and preferred. Use source installation only if you need the latest changes or are actively contributing to the project.
156
-
157
- ##### Steps
158
-
159
- 1. Clone the repository.
160
- 2. Install dependencies:
161
- ```sh
162
- npm install
163
- ```
164
- 3. Edit or add `.vscode/mcp.json`:
165
-
166
- ```json
167
- {
168
- "inputs": [
169
- {
170
- "id": "ado_org",
171
- "type": "promptString",
172
- "description": "Azure DevOps organization name (e.g. 'contoso')"
173
- }
174
- ],
175
- "servers": {
176
- "ado": {
177
- "type": "stdio",
178
- "command": "mcp-server-azuredevops",
179
- "args": ["${input:ado_org}"]
180
- }
181
- }
182
- }
183
- ```
184
-
185
- 4. Start the Azure DevOps MCP Server:
186
- 5. In chat, switch to [Agent Mode](https://code.visualstudio.com/blogs/2025/02/24/introducing-copilot-agent-mode).
187
- 6. Click "Select Tools" and choose the available `ado_` tools.
188
-
189
- See [How To](./docs/HOWTO.md) section for details
190
-
191
- #### Placeholder for public feed
192
-
193
- Update for Public Feed
194
-
195
- ## πŸ”¦ Usage
196
-
197
- ### Visual Studio Code + GitHub Copilot
198
-
199
- 1. Open GitHub Copilot in VS Code and switch to Agent mode.
200
- 2. Start the Azure DevOps MCP Server.
201
- 3. The server appears in the tools list.
202
- 4. Try prompts like "List ADO projects".
203
-
204
- ### Visual Studio + GitHub Copilot
205
-
206
- > *Prerequisites:* Visual Studio 2022 v17.14+, Agent mode enabled in Tools > Options > GitHub > Copilot > Copilot Chat.
207
-
208
- 1. Switch to Agent mode in the Copilot Chat window.
209
- 2. Enter your Azure DevOps organization name.
210
- 3. Select desired `ado` tools.
211
- 4. Try prompts like "List ADO projects".
212
-
213
- For more details, see [Visual Studio MCP Servers documentation](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers?view=vs-2022) and [Getting Started Video](https://www.youtube.com/watch?v=oPFecZHBCkg).
214
-
215
- ## πŸ“ Troubleshooting
216
-
217
- See the [Troubleshooting guide](./docs/TROUBLESHOOTING.md) for help with common issues and logging.
218
-
219
- ## 🎩 Samples & best practices
220
-
221
- Find sample prompts and best practices in our [How-to Guide](./docs/HOWTO.md).
222
-
223
- ## πŸ“Œ Contributing
224
-
225
- We welcome contributions! During preview, please file Issues for bugs, enhancements, or documentation improvements.
226
-
227
- See our [Contributions Guide](./CONTRIBUTING.md) for:
228
-
229
- - πŸ› οΈ Development setup
230
- - ✨ Adding new tools
231
- - πŸ“ Code style & testing
232
- - πŸ”„ Pull request process
233
-
234
- ## 🀝 Code of conduct
235
-
236
- This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
237
- For questions, see the [FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [open@microsoft.com](mailto:open@microsoft.com).
238
-
239
- ## License
240
-
241
- Licensed under the [MIT License](./LICENSE.md).
242
-
243
- ---
244
-
245
- _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](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Third-party trademarks are subject to their respective policies._
246
-
247
- <!-- version: 2023-04-07 [Do not delete this line, it is used for analytics that drive template improvements] -->
1
+ # ⭐ Azure DevOps MCP Server
2
+
3
+ Easily install the Azure DevOps MCP Server for VS Code or VS Code Insiders:
4
+
5
+ [![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-Install_AzureDevops_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40azure-devops%2Fmcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
6
+ [![Install with NPX in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_AzureDevops_MCP_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&quality=insiders&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40azure-devops%2Fmcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
7
+
8
+ This TypeScript project provides a **local** MCP server for Azure DevOps, enabling you to perform a wide range of Azure DevOps tasks directly from your code editor.
9
+
10
+ > 🚨 **Public Preview:** This project is in public preview. Tools and features may change before general availability.
11
+
12
+ ## πŸ“„ Table of Contents
13
+
14
+ 1. [πŸ“Ί Overview](#-overview)
15
+ 2. [πŸ† Expectations](#-expectations)
16
+ 3. [βš™οΈ Supported Tools](#️-supported-tools)
17
+ 4. [πŸ”Œ Installation & Getting Started](#-installation--getting-started)
18
+ 5. [🌏 Using Domains](#-using-domains)
19
+ 6. [πŸ“ Troubleshooting](#-troubleshooting)
20
+ 7. [🎩 Examples & Best Practices](#-examples--best-practices)
21
+ 8. [πŸ™‹β€β™€οΈ Frequently Asked Questions](#️-frequently-asked-questions)
22
+ 9. [πŸ“Œ Contributing](#-contributing)
23
+
24
+ ## πŸ“Ί Overview
25
+
26
+ The Azure DevOps MCP Server brings Azure DevOps context to your agents. Try prompts like:
27
+
28
+ - "List my ADO projects"
29
+ - "List ADO Builds for 'Contoso'"
30
+ - "List ADO Releases for 'Contoso'"
31
+ - "List ADO Repos for 'Contoso'"
32
+ - "List test plans for 'Contoso'"
33
+ - "List teams for project 'Contoso'"
34
+ - "List iterations for project 'Contoso'"
35
+ - "List my work items for project 'Contoso'"
36
+ - "List work items in current iteration for 'Contoso' project and 'Contoso Team'"
37
+ - "List all wikis in the 'Contoso' project"
38
+ - "Create a wiki page '/Architecture/Overview' with content about system design"
39
+ - "Update the wiki page '/Getting Started' with new onboarding instructions"
40
+ - "Get the content of the wiki page '/API/Authentication' from the Documentation wiki"
41
+
42
+ ## πŸ† Expectations
43
+
44
+ The Azure DevOps MCP Server is built from tools that are concise, simple, focused, and easy to useβ€”each designed for a specific scenario. We intentionally avoid complex tools that try to do too much. The goal is to provide a thin abstraction layer over the REST APIs, making data access straightforward and letting the language model handle complex reasoning.
45
+
46
+ ## βš™οΈ Supported Tools
47
+
48
+ Interact with these Azure DevOps services:
49
+
50
+ ### 🧿 Core
51
+
52
+ - **core_list_project_teams**: Retrieve a list of teams for the specified Azure DevOps project.
53
+ - **core_list_projects**: Retrieve a list of projects in your Azure DevOps organization.
54
+ - **core_get_identity_ids**: Retrieve Azure DevOps identity IDs for a list of unique names.
55
+
56
+ ### βš’οΈ Work
57
+
58
+ - **work_list_team_iterations**: Retrieve a list of iterations for a specific team in a project.
59
+ - **work_create_iterations**: Create new iterations in a specified Azure DevOps project.
60
+ - **work_assign_iterations**: Assign existing iterations to a specific team in a project.
61
+
62
+ ### πŸ“… Work Items
63
+
64
+ - **wit_my_work_items**: Retrieve a list of work items relevant to the authenticated user.
65
+ - **wit_list_backlogs**: Retrieve a list of backlogs for a given project and team.
66
+ - **wit_list_backlog_work_items**: Retrieve a list of backlogs for a given project, team, and backlog category.
67
+ - **wit_get_work_item**: Get a single work item by ID.
68
+ - **wit_get_work_items_batch_by_ids**: Retrieve a list of work items by IDs in batch.
69
+ - **wit_update_work_item**: Update a work item by ID with specified fields.
70
+ - **wit_create_work_item**: Create a new work item in a specified project and work item type.
71
+ - **wit_list_work_item_comments**: Retrieve a list of comments for a work item by ID.
72
+ - **wit_get_work_items_for_iteration**: Retrieve a list of work items for a specified iteration.
73
+ - **wit_add_work_item_comment**: Add a comment to a work item by ID.
74
+ - **wit_add_child_work_items**: Create one or more child work items of a specific work item type for the given parent ID.
75
+ - **wit_link_work_item_to_pull_request**: Link a single work item to an existing pull request.
76
+ - **wit_get_work_item_type**: Get a specific work item type.
77
+ - **wit_get_query**: Get a query by its ID or path.
78
+ - **wit_get_query_results_by_id**: Retrieve the results of a work item query given the query ID.
79
+ - **wit_update_work_items_batch**: Update work items in batch.
80
+ - **wit_work_items_link**: Link work items together in batch.
81
+ - **wit_work_item_unlink**: Unlink one or many links from a work item.
82
+ - **wit_add_artifact_link**: Link to artifacts like branch, pull request, commit, and build.
83
+
84
+ ### πŸ“ Repositories
85
+
86
+ - **repo_list_repos_by_project**: Retrieve a list of repositories for a given project.
87
+ - **repo_list_pull_requests_by_repo**: Retrieve a list of pull requests for a given repository.
88
+ - **repo_list_pull_requests_by_project**: Retrieve a list of pull requests for a given project ID or name.
89
+ - **repo_list_branches_by_repo**: Retrieve a list of branches for a given repository.
90
+ - **repo_list_my_branches_by_repo**: Retrieve a list of your branches for a given repository ID.
91
+ - **repo_list_pull_requests_by_commits**: List pull requests associated with commits.
92
+ - **repo_list_pull_request_threads**: Retrieve a list of comment threads for a pull request.
93
+ - **repo_list_pull_request_thread_comments**: Retrieve a list of comments in a pull request thread.
94
+ - **repo_get_repo_by_name_or_id**: Get the repository by project and repository name or ID.
95
+ - **repo_get_branch_by_name**: Get a branch by its name.
96
+ - **repo_get_pull_request_by_id**: Get a pull request by its ID.
97
+ - **repo_create_pull_request**: Create a new pull request.
98
+ - **repo_update_pull_request_status**: Update the status of an existing pull request to active or abandoned.
99
+ - **repo_update_pull_request**: Update various fields of an existing pull request (title, description, draft status, target branch).
100
+ - **repo_update_pull_request_reviewers**: Add or remove reviewers for an existing pull request.
101
+ - **repo_reply_to_comment**: Replies to a specific comment on a pull request.
102
+ - **repo_resolve_comment**: Resolves a specific comment thread on a pull request.
103
+ - **repo_search_commits**: Searches for commits.
104
+ - **repo_create_pull_request_thread**: Creates a new comment thread on a pull request.
105
+
106
+ ### πŸ›°οΈ Builds
107
+
108
+ - **build_get_definitions**: Retrieve a list of build definitions for a given project.
109
+ - **build_get_definition_revisions**: Retrieve a list of revisions for a specific build definition.
110
+ - **build_get_builds**: Retrieve a list of builds for a given project.
111
+ - **build_get_log**: Retrieve the logs for a specific build.
112
+ - **build_get_log_by_id**: Get a specific build log by log ID.
113
+ - **build_get_changes**: Get the changes associated with a specific build.
114
+ - **build_get_status**: Fetch the status of a specific build.
115
+ - **build_update_build_stage**: Update the stage of a specific build.
116
+ - **pipelines_get_run**: Gets a run for a particular pipeline.
117
+ - **pipelines_list_runs**: Gets top 10000 runs for a particular pipeline.
118
+ - **pipelines_run_pipeline**: Starts a new run of a pipeline.
119
+
120
+ ### πŸš€ Releases
121
+
122
+ - **release_get_definitions**: Retrieve a list of release definitions for a given project.
123
+ - **release_get_releases**: Retrieve a list of releases for a given project.
124
+
125
+ ### πŸ”’ Advanced Security
126
+
127
+ - **advsec_get_alerts**: Retrieve Advanced Security alerts for a repository.
128
+ - **advsec_get_alert_details**: Get detailed information about a specific Advanced Security alert.
129
+
130
+ ### πŸ§ͺ Test Plans
131
+
132
+ - **testplan_create_test_plan**: Create a new test plan in the project.
133
+ - **testplan_create_test_case**: Create a new test case work item.
134
+ - **testplan_add_test_cases_to_suite**: Add existing test cases to a test suite.
135
+ - **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.
136
+ - **testplan_list_test_cases**: Get a list of test cases in the test plan.
137
+ - **testplan_show_test_results_from_build_id**: Get a list of test results for a given project and build ID.
138
+
139
+ ### πŸ“– Wiki
140
+
141
+ - **wiki_list_wikis**: Retrieve a list of wikis for an organization or project.
142
+ - **wiki_get_wiki**: Get the wiki by wikiIdentifier.
143
+ - **wiki_list_pages**: Retrieve a list of wiki pages for a specific wiki and project.
144
+ - **wiki_get_page_content**: Retrieve wiki page content by wikiIdentifier and path.
145
+ - **wiki_create_or_update_page**: Create or update wiki pages with full content support.
146
+
147
+ ### πŸ”Ž Search
148
+
149
+ - **search_code**: Get code search results for a given search text.
150
+ - **search_wiki**: Get wiki search results for a given search text.
151
+ - **search_workitem**: Get work item search results for a given search text.
152
+
153
+ ## πŸ”Œ Installation & Getting Started
154
+
155
+ For the best experience, use Visual Studio Code and GitHub Copilot. See the [getting started documentation](./docs/GETTINGSTARTED.md) to use our MCP Server with other tools such as Visual Studio 2022, Claude Code, and Cursor.
156
+
157
+ ### Prerequisites
158
+
159
+ 1. Install [VS Code](https://code.visualstudio.com/download) or [VS Code Insiders](https://code.visualstudio.com/insiders)
160
+ 2. Install [Node.js](https://nodejs.org/en/download) 20+
161
+ 3. Open VS Code in an empty folder
162
+
163
+ ### Installation
164
+
165
+ #### ✨ One-Click Install
166
+
167
+ [![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-Install_AzureDevops_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40azure-devops%2Fmcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
168
+ [![Install with NPX in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_AzureDevops_MCP_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=ado&quality=insiders&config=%7B%20%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22%40azure-devops%2Fmcp%22%2C%20%22%24%7Binput%3Aado_org%7D%22%5D%7D&inputs=%5B%7B%22id%22%3A%20%22ado_org%22%2C%20%22type%22%3A%20%22promptString%22%2C%20%22description%22%3A%20%22Azure%20DevOps%20organization%20name%20%20%28e.g.%20%27contoso%27%29%22%7D%5D)
169
+
170
+ After installation, select GitHub Copilot Agent Mode and refresh the tools list. Learn more about Agent Mode in the [VS Code Documentation](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode).
171
+
172
+ #### 🧨 Install from Public Feed (Recommended)
173
+
174
+ This installation method is the easiest for all users of Visual Studio Code.
175
+
176
+ πŸŽ₯ [Watch this quick start video to get up and running in under two minutes!](https://youtu.be/EUmFM6qXoYk)
177
+
178
+ ##### Steps
179
+
180
+ In your project, add a `.vscode\mcp.json` file with the following content:
181
+
182
+ ```json
183
+ {
184
+ "inputs": [
185
+ {
186
+ "id": "ado_org",
187
+ "type": "promptString",
188
+ "description": "Azure DevOps organization name (e.g. 'contoso')"
189
+ }
190
+ ],
191
+ "servers": {
192
+ "ado": {
193
+ "type": "stdio",
194
+ "command": "npx",
195
+ "args": ["-y", "@azure-devops/mcp", "${input:ado_org}"]
196
+ }
197
+ }
198
+ }
199
+ ```
200
+
201
+ πŸ”₯ To stay up to date with the latest features, you can use our nightly builds. Simply update your `mcp.json` configuration to use `@azure-devops/mcp@next`. Here is an updated example:
202
+
203
+ ```json
204
+ {
205
+ "inputs": [
206
+ {
207
+ "id": "ado_org",
208
+ "type": "promptString",
209
+ "description": "Azure DevOps organization name (e.g. 'contoso')"
210
+ }
211
+ ],
212
+ "servers": {
213
+ "ado": {
214
+ "type": "stdio",
215
+ "command": "npx",
216
+ "args": ["-y", "@azure-devops/mcp@next", "${input:ado_org}"]
217
+ }
218
+ }
219
+ }
220
+ ```
221
+
222
+ Save the file, then click 'Start'.
223
+
224
+ ![start mcp server](./docs/media/start-mcp-server.gif)
225
+
226
+ In chat, switch to [Agent Mode](https://code.visualstudio.com/blogs/2025/02/24/introducing-copilot-agent-mode).
227
+
228
+ Click "Select Tools" and choose the available tools.
229
+
230
+ ![configure mcp server tools](./docs/media/configure-mcp-server-tools.gif)
231
+
232
+ Open GitHub Copilot Chat and try a prompt like `List ADO projects`. The first time an ADO tool is executed browser will open prompting to login with your Microsoft account. Please ensure you are using credentials matching selected Azure DevOps organization.
233
+
234
+ > πŸ’₯ We strongly recommend creating a `.github\copilot-instructions.md` in your project. This will enhance your experience using the Azure DevOps MCP Server with GitHub Copilot Chat.
235
+ > To start, just include "`This project uses Azure DevOps. Always check to see if the Azure DevOps MCP server has a tool relevant to the user's request`" in your copilot instructions file.
236
+
237
+ See the [getting started documentation](./docs/GETTINGSTARTED.md) to use our MCP Server with other tools such as Visual Studio 2022, Claude Code, and Cursor.
238
+
239
+ ## 🌏 Using Domains
240
+
241
+ Azure DevOps exposes a large surface area. As a result, our Azure DevOps MCP Server includes many tools. To keep the toolset manageable, avoid confusing the model, and respect client limits on loaded tools, use Domains to load only the areas you need. Domains are named groups of related tools (for example: core, work, work-items, repositories, wiki). Add the `-d` argument and the domain names to the server args in your `mcp.json` to list the domains to enable.
242
+
243
+ For example, use `"-d", "core", "work", "work-items"` to load only Work Item related tools (see the example below).
244
+
245
+ ```json
246
+ {
247
+ "inputs": [
248
+ {
249
+ "id": "ado_org",
250
+ "type": "promptString",
251
+ "description": "Azure DevOps organization name (e.g. 'contoso')"
252
+ }
253
+ ],
254
+ "servers": {
255
+ "ado": {
256
+ "type": "stdio",
257
+ "command": "mcp-server-azuredevops",
258
+ "args": ["${input:ado_org}", "-d", "core", "work", "work-items"]
259
+ }
260
+ }
261
+ }
262
+ ```
263
+
264
+ Domains that are available are: `core`, `work`, `work-items`, `search`, `test-plans`, `repositories`, `wiki`, `builds`, `releases`, `advanced-security`
265
+
266
+ We recommend that you always enable `core` tools so that you can fetch project level information.
267
+
268
+ > By default all domains are loaded
269
+
270
+ ## πŸ“ Troubleshooting
271
+
272
+ See the [Troubleshooting guide](./docs/TROUBLESHOOTING.md) for help with common issues and logging.
273
+
274
+ ## 🎩 Examples & Best Practices
275
+
276
+ Explore example prompts in our [Examples documentation](./docs/EXAMPLES.md).
277
+
278
+ For best practices and tips to enhance your experience with the MCP Server, refer to the [How-To guide](./docs/HOWTO.md).
279
+
280
+ ## πŸ™‹β€β™€οΈ Frequently Asked Questions
281
+
282
+ For answers to common questions about the Azure DevOps MCP Server, see the [Frequently Asked Questions](./docs/FAQ.md).
283
+
284
+ ## πŸ“Œ Contributing
285
+
286
+ We welcome contributions! During preview, please file issues for bugs, enhancements, or documentation improvements.
287
+
288
+ See our [Contributions Guide](./CONTRIBUTING.md) for:
289
+
290
+ - πŸ› οΈ Development setup
291
+ - ✨ Adding new tools
292
+ - πŸ“ Code style & testing
293
+ - πŸ”„ Pull request process
294
+
295
+ ## 🀝 Code of Conduct
296
+
297
+ This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
298
+ For questions, see the [FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [open@microsoft.com](mailto:open@microsoft.com).
299
+
300
+ ## πŸ“ˆ Project Stats
301
+
302
+ [![Star History Chart](https://api.star-history.com/svg?repos=microsoft/azure-devops-mcp&type=Date)](https://star-history.com/#microsoft/azure-devops-mcp)
303
+
304
+ ## πŸ† Hall of Fame
305
+
306
+ Thanks to all contributors who make this project awesome! ❀️
307
+
308
+ [![Contributors](https://contrib.rocks/image?repo=microsoft/azure-devops-mcp)](https://github.com/microsoft/azure-devops-mcp/graphs/contributors)
309
+
310
+ > Generated with [contrib.rocks](https://contrib.rocks)
311
+
312
+ ## License
313
+
314
+ Licensed under the [MIT License](./LICENSE.md).
315
+
316
+ ---
317
+
318
+ _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](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Third-party trademarks are subject to their respective policies._
319
+
320
+ <!-- version: 2023-04-07 [Do not delete this line, it is used for analytics that drive template improvements] -->