@azure-devops/mcp 1.0.0 β†’ 1.2.0-daily.20250715

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,293 +1,316 @@
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 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. [πŸ™‹β€β™€οΈ Frequently asked questions](#️-frequently-asked-questions)
21
- 8. [πŸ“Œ Contributing](#️-contributing)
22
-
23
- ## πŸ“Ί Overview
24
-
25
- The Azure DevOps MCP Server brings Azure DevOps context to your agents. Try prompts like:
26
-
27
- - "List my ADO projects"
28
- - "List ADO Builds for 'Contoso'"
29
- - "List ADO Releases for 'Contoso'"
30
- - "List ADO Repos for 'Contoso'"
31
- - "List test plans for 'Contoso'"
32
- - "List teams for project 'Contoso'"
33
- - "List iterations for project 'Contoso'"
34
- - "List my work items for project 'Contoso'"
35
- - "List work items in current iteration for 'Contoso' project and 'Contoso Team'"
36
-
37
- ## βš™οΈ Supported tools
38
-
39
- Interact with these Azure DevOps services:
40
-
41
- ### 🧿 Core
42
-
43
- - **core_list_project_teams**: Retrieve a list of teams for the specified Azure DevOps project.
44
- - **core_list_projects**: Retrieve a list of projects in your Azure DevOps organization.
45
-
46
- ### βš’οΈ Work
47
-
48
- - **work_list_team_iterations**: Retrieve a list of iterations for a specific team in a project.
49
- - **work_create_iterations**: Create new iterations in a specified Azure DevOps project.
50
- - **work_assign_iterations**: Assign existing iterations to a specific team in a project.
51
-
52
- ### πŸ“… Work Items
53
-
54
- - **wit_my_work_items**: Retrieve a list of work items relevent to the authenticated user.
55
- - **wit_list_backlogs**: Revieve a list of backlogs for a given project and team.
56
- - **wit_list_backlog_work_items**: Retrieve a list of backlogs of for a given project, team, and backlog category.
57
- - **wit_get_work_item**: Get a single work item by ID.
58
- - **wit_get_work_items_batch_by_ids**: Retrieve list of work items by IDs in batch.
59
- - **wit_update_work_item**: Update a work item by ID with specified fields.
60
- - **wit_create_work_item**: Create a new work item in a specified project and work item type.
61
- - **wit_list_work_item_comments**: Retrieve list of comments for a work item by ID.
62
- - **wit_get_work_items_for_iteration**: Retrieve a list of work items for a specified iteration.
63
- - **wit_add_work_item_comment**: Add comment to a work item by ID.
64
- - **wit_add_child_work_item**: Create a child work item from a parent by ID.
65
- - **wit_link_work_item_to_pull_request**: Link a single work item to an existing pull request.
66
- - **wit_get_work_item_type**: Get a specific work item type.
67
- - **wit_get_query**: Get a query by its ID or path.
68
- - **wit_get_query_results_by_id**: Retrieve the results of a work item query given the query ID.
69
- - **wit_update_work_items_batch**: Update work items in batch.
70
- - **wit_close_and_link_workitem_duplicates**: Close duplicate work items by id.
71
- - **wit_work_items_link**: Link work items together in batch.
72
-
73
- ### πŸ“ Repositories
74
-
75
- - **repo_list_repos_by_project**: Retrieve a list of repositories for a given project.
76
- - **repo_list_pull_requests_by_repo**: Retrieve a list of pull requests for a given repository.
77
- - **repo_list_pull_requests_by_project**: Retrieve a list of pull requests for a given project Id or Name.
78
- - **repo_list_branches_by_repo**: Retrieve a list of branches for a given repository.
79
- - **repo_list_my_branches_by_repo**: Retrieve a list of my branches for a given repository Id.
80
- - **repo_list_pull_request_threads**: Retrieve a list of comment threads for a pull request.
81
- - **repo_list_pull_request_thread_comments**: Retrieve a list of comments in a pull request thread.
82
- - **repo_get_repo_by_name_or_id**: Get the repository by project and repository name or ID.
83
- - **repo_get_branch_by_name**: Get a branch by its name.
84
- - **repo_get_pull_request_by_id**: Get a pull request by its ID.
85
- - **repo_create_pull_request**: Create a new pull request.
86
- - **repo_update_pull_request_status**: Update status of an existing pull request to active or abandoned.
87
- - **repo_reply_to_comment**: Replies to a specific comment on a pull request.
88
- - **repo_resolve_comment**: Resolves a specific comment thread on a pull request.
89
-
90
- ### πŸ›°οΈ Builds
91
-
92
- - **build_get_definitions**: Retrieves a list of build definitions for a given project.
93
- - **build_get_definition_revisions**: Retrieves a list of revisions for a specific build definition.
94
- - **build_get_builds**: Retrieves a list of builds for a given project.
95
- - **build_get_log**: Retrieves the logs for a specific build.
96
- - **build_get_log_by_id**: Get a specific build log by log ID.
97
- - **build_get_changes**: Get the changes associated with a specific build.
98
- - **build_run_build**: Triggers a new build for a specified definition.
99
- - **build_get_status**: Fetches the status of a specific build.
100
-
101
- ### πŸš€ Releases
102
-
103
- - **release_get_definitions**: Retrieves list of release definitions for a given project.
104
- - **release_get_releases**: Retrieves a list of releases for a given project.
105
-
106
- ### πŸ§ͺ Test Plans
107
-
108
- - **testplan_create_test_plan**: Creates a new test plan in the project.
109
- - **testplan_create_test_case**: Creates a new test case work item.
110
- - **testplan_add_test_cases_to_suite**: Adds existing test cases to a test suite.
111
- - **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.
112
- - **testplan_list_test_cases**: Gets a list of test cases in the test plan.
113
- - **testplan_show_test_results_from_build_id**: Gets a list of test results for a given project and build ID.
114
-
115
- ### πŸ”Ž Search
116
-
117
- - **search_code**: Get the code search results for a given search text.
118
- - **search_wiki**: Get wiki search results for a given search text.
119
- - **search_workitem**: Get work item search results for a given search text.
120
-
121
- ## πŸ”Œ Installation & getting started
122
-
123
- Clone the repository, install dependencies, and add it to your MCP client configuration.
124
-
125
- ### Visual Studio Code & GitHub Copilot
126
-
127
- For the best experience, use Visual Studio Code and GitHub Copilot.
128
-
129
- ### Prerequisites
130
-
131
- 1. Install [VS Code](https://code.visualstudio.com/download) or [VS Code Insiders](https://code.visualstudio.com/insiders)
132
- 2. Install [Node.js](https://nodejs.org/en/download) 20+
133
- 3. Install [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
134
- 4. Open VS Code in an empty folder
135
-
136
- ### Azure Login
137
-
138
- Ensure you are logged in to Azure DevOps via the Azure CLI:
139
-
140
- ```sh
141
- az login
142
- ```
143
-
144
- ### Installation
145
-
146
- #### ✨ One-Click install
147
-
148
- [![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)
149
- [![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)
150
-
151
- 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).
152
-
153
- #### 🧨 Installing from public feed (recommended)
154
-
155
- This installation method is the easiest for all users using Visual Studio Code.
156
-
157
- πŸŽ₯ [Watch this quick start video to get up and running in under two minutes!](https://youtu.be/EUmFM6qXoYk)
158
-
159
- ##### Steps
160
-
161
- 1. In your project, add a `.vscode\mcp.json` file and add the following:
162
-
163
- ``` json
164
- {
165
- "inputs": [
166
- {
167
- "id": "ado_org",
168
- "type": "promptString",
169
- "description": "Azure DevOps organization name (e.g. 'contoso')"
170
- }
171
- ],
172
- "servers": {
173
- "ado": {
174
- "type": "stdio",
175
- "command": "npx",
176
- "args": [
177
- "-y",
178
- "@azure-devops/mcp",
179
- "${input:ado_org}"
180
- ]
181
- }
182
- }
183
- }
184
- ```
185
- 2. Save the file and click 'Start`
186
-
187
- <img src="./docs/media/start-mcp-server.gif" alt="start mcp server" width="250"/>
188
-
189
- 3. In chat, switch to [Agent Mode](https://code.visualstudio.com/blogs/2025/02/24/introducing-copilot-agent-mode).
190
- 4. Click "Select Tools" and choose the available tools.
191
- 5. We strongly recommend that you create a `.github\copilot-instructions.md` in your project and copy and paste the contents from this [copilot-instructions.md](./.github/copilot-instructions.md) file. This will help your experience when it comes to using the Azure DevOps MCP Server in GitHub Copilot Chat.
192
-
193
- #### πŸ› οΈ Installing from source (dev mode)
194
-
195
- 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.
196
-
197
- > **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.
198
-
199
- ##### Steps
200
-
201
- 1. Clone the repository.
202
- 2. Install dependencies:
203
- ```sh
204
- npm install
205
- ```
206
- 3. Edit or add `.vscode/mcp.json`:
207
-
208
- ```json
209
- {
210
- "inputs": [
211
- {
212
- "id": "ado_org",
213
- "type": "promptString",
214
- "description": "Azure DevOps organization name (e.g. 'contoso')"
215
- }
216
- ],
217
- "servers": {
218
- "ado": {
219
- "type": "stdio",
220
- "command": "mcp-server-azuredevops",
221
- "args": ["${input:ado_org}"]
222
- }
223
- }
224
- }
225
- ```
226
-
227
- 4. Start the Azure DevOps MCP Server
228
-
229
- <img src="./docs/media/start-mcp-server.gif" alt="start mcp server" width="250"/>
230
-
231
- 5. In chat, switch to [Agent Mode](https://code.visualstudio.com/blogs/2025/02/24/introducing-copilot-agent-mode).
232
- 6. Click "Select Tools" and choose the available tools.
233
- 7. We strongly recommend that you create a `.github\copilot-instructions.md` in your project and copy and paste the contents from this [copilot-instructions.md](./.github/copilot-instructions.md) file. This will help your experience when it comes to using the Azure DevOps MCP Server in GitHub Copilot Chat.
234
-
235
- See [How To](./docs/HOWTO.md) section for details
236
-
237
- ## πŸ”¦ Usage
238
-
239
- ### Visual Studio Code + GitHub Copilot
240
-
241
- 1. Open GitHub Copilot in VS Code and switch to Agent mode.
242
- 2. Start the Azure DevOps MCP Server.
243
- 3. The server appears in the tools list.
244
- 4. Try prompts like "List ADO projects".
245
-
246
- ### Visual Studio + GitHub Copilot
247
-
248
- > *Prerequisites:* Visual Studio 2022 v17.14+, Agent mode enabled in Tools > Options > GitHub > Copilot > Copilot Chat.
249
-
250
- 1. Switch to Agent mode in the Copilot Chat window.
251
- 2. Enter your Azure DevOps organization name.
252
- 3. Select desired `ado` tools.
253
- 4. Try prompts like "List ADO projects".
254
-
255
- 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).
256
-
257
- ## πŸ“ Troubleshooting
258
-
259
- See the [Troubleshooting guide](./docs/TROUBLESHOOTING.md) for help with common issues and logging.
260
-
261
- ## 🎩 Samples & best practices
262
-
263
- Find sample prompts and best practices in our [How-to Guide](./docs/HOWTO.md).
264
-
265
- ## πŸ™‹β€β™€οΈ Frequently asked questions
266
-
267
- For answers to common questions about the Azure DevOps MCP Server, see the [Frequently Asked Questions](./docs/FAQ.md).
268
-
269
- ## πŸ“Œ Contributing
270
-
271
- We welcome contributions! During preview, please file Issues for bugs, enhancements, or documentation improvements.
272
-
273
- See our [Contributions Guide](./CONTRIBUTING.md) for:
274
-
275
- - πŸ› οΈ Development setup
276
- - ✨ Adding new tools
277
- - πŸ“ Code style & testing
278
- - πŸ”„ Pull request process
279
-
280
- ## 🀝 Code of conduct
281
-
282
- This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
283
- For questions, see the [FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [open@microsoft.com](mailto:open@microsoft.com).
284
-
285
- ## License
286
-
287
- Licensed under the [MIT License](./LICENSE.md).
288
-
289
- ---
290
-
291
- _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._
292
-
293
- <!-- 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 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. [πŸ† Expectations](#-expectations)
16
+ 3. [βš™οΈ Supported tools](#️-supported-tools)
17
+ 4. [πŸ”Œ Installation & getting started](#-installation--getting-started)
18
+ 5. [πŸ”¦ Usage](#-usage)
19
+ 6. [πŸ“ Troubleshooting](#-troubleshooting)
20
+ 7. [🎩 Samples & best practices](#-samples--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
+
38
+ ## πŸ† Expectations
39
+
40
+ 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 the complex reasoning.
41
+
42
+ ## βš™οΈ Supported tools
43
+
44
+ Interact with these Azure DevOps services:
45
+
46
+ ### 🧿 Core
47
+
48
+ - **core_list_project_teams**: Retrieve a list of teams for the specified Azure DevOps project.
49
+ - **core_list_projects**: Retrieve a list of projects in your Azure DevOps organization.
50
+ - **core_get_identity_ids**: Retrieve Azure DevOps identity IDs for a list of unique names.
51
+
52
+ ### βš’οΈ Work
53
+
54
+ - **work_list_team_iterations**: Retrieve a list of iterations for a specific team in a project.
55
+ - **work_create_iterations**: Create new iterations in a specified Azure DevOps project.
56
+ - **work_assign_iterations**: Assign existing iterations to a specific team in a project.
57
+
58
+ ### πŸ“… Work Items
59
+
60
+ - **wit_my_work_items**: Retrieve a list of work items relevant to the authenticated user.
61
+ - **wit_list_backlogs**: Retrieve a list of backlogs for a given project and team.
62
+ - **wit_list_backlog_work_items**: Retrieve a list of backlogs for a given project, team, and backlog category.
63
+ - **wit_get_work_item**: Get a single work item by ID.
64
+ - **wit_get_work_items_batch_by_ids**: Retrieves a list of work items by IDs in batch.
65
+ - **wit_update_work_item**: Update a work item by ID with specified fields.
66
+ - **wit_create_work_item**: Create a new work item in a specified project and work item type.
67
+ - **wit_list_work_item_comments**: Retrieves a list of comments for a work item by ID.
68
+ - **wit_get_work_items_for_iteration**: Retrieves a list of work items for a specified iteration.
69
+ - **wit_add_work_item_comment**: Add comment to a work item by ID.
70
+ - **wit_add_child_work_items**: Create one or many child work items of a specific work item type for the given parent Id
71
+ - **wit_link_work_item_to_pull_request**: Link a single work item to an existing pull request.
72
+ - **wit_get_work_item_type**: Get a specific work item type.
73
+ - **wit_get_query**: Get a query by its ID or path.
74
+ - **wit_get_query_results_by_id**: Retrieve the results of a work item query given the query ID.
75
+ - **wit_update_work_items_batch**: Update work items in batch.
76
+ - **wit_close_and_link_workitem_duplicates**: Close duplicate work items by id.
77
+ - **wit_work_items_link**: Link work items together in batch.
78
+
79
+ #### Deprecated tools
80
+
81
+ - **wit_add_child_work_item**: Replaced by `wit_add_child_work_items` so that you can create one or many child items per call.
82
+
83
+ ### πŸ“ Repositories
84
+
85
+ - **repo_list_repos_by_project**: Retrieve a list of repositories for a given project.
86
+ - **repo_list_pull_requests_by_repo**: Retrieve a list of pull requests for a given repository.
87
+ - **repo_list_pull_requests_by_project**: Retrieve a list of pull requests for a given project Id or Name.
88
+ - **repo_list_branches_by_repo**: Retrieve a list of branches for a given repository.
89
+ - **repo_list_my_branches_by_repo**: Retrieve a list of my branches for a given repository Id.
90
+ - **repo_list_pull_requests_by_commits**: List pull requests associated with commits.
91
+ - **repo_list_pull_request_threads**: Retrieve a list of comment threads for a pull request.
92
+ - **repo_list_pull_request_thread_comments**: Retrieve a list of comments in a pull request thread.
93
+ - **repo_get_repo_by_name_or_id**: Get the repository by project and repository name or ID.
94
+ - **repo_get_branch_by_name**: Get a branch by its name.
95
+ - **repo_get_pull_request_by_id**: Get a pull request by its ID.
96
+ - **repo_create_pull_request**: Create a new pull request.
97
+ - **repo_update_pull_request_status**: Update status of an existing pull request to active or abandoned.
98
+ - **repo_update_pull_request_reviewers**: Add or remove reviewers for an existing pull request.
99
+ - **repo_reply_to_comment**: Replies to a specific comment on a pull request.
100
+ - **repo_resolve_comment**: Resolves a specific comment thread on a pull request.
101
+ - **repo_search_commits**: Searches for commits.
102
+
103
+ ### πŸ›°οΈ Builds
104
+
105
+ - **build_get_definitions**: Retrieves a list of build definitions for a given project.
106
+ - **build_get_definition_revisions**: Retrieves a list of revisions for a specific build definition.
107
+ - **build_get_builds**: Retrieves a list of builds for a given project.
108
+ - **build_get_log**: Retrieves the logs for a specific build.
109
+ - **build_get_log_by_id**: Get a specific build log by log ID.
110
+ - **build_get_changes**: Get the changes associated with a specific build.
111
+ - **build_run_build**: Triggers a new build for a specified definition.
112
+ - **build_get_status**: Fetches the status of a specific build.
113
+ - **build_update_build_stage**: Updates the stage of a specific build.
114
+
115
+ ### πŸš€ Releases
116
+
117
+ - **release_get_definitions**: Retrieves a list of release definitions for a given project.
118
+ - **release_get_releases**: Retrieves a list of releases for a given project.
119
+
120
+ ### πŸ§ͺ Test Plans
121
+
122
+ - **testplan_create_test_plan**: Creates a new test plan in the project.
123
+ - **testplan_create_test_case**: Creates a new test case work item.
124
+ - **testplan_add_test_cases_to_suite**: Adds existing test cases to a test suite.
125
+ - **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.
126
+ - **testplan_list_test_cases**: Gets a list of test cases in the test plan.
127
+ - **testplan_show_test_results_from_build_id**: Gets a list of test results for a given project and build ID.
128
+
129
+ ### πŸ”Ž Search
130
+
131
+ - **search_code**: Get the code search results for a given search text.
132
+ - **search_wiki**: Get wiki search results for a given search text.
133
+ - **search_workitem**: Get work item search results for a given search text.
134
+
135
+ ## πŸ”Œ Installation & getting started
136
+
137
+ Clone the repository, install dependencies, and add it to your MCP client configuration.
138
+
139
+ ### Visual Studio Code & GitHub Copilot
140
+
141
+ For the best experience, use Visual Studio Code and GitHub Copilot.
142
+
143
+ ### Prerequisites
144
+
145
+ 1. Install [VS Code](https://code.visualstudio.com/download) or [VS Code Insiders](https://code.visualstudio.com/insiders)
146
+ 2. Install [Node.js](https://nodejs.org/en/download) 20+
147
+ 3. Install [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
148
+ 4. Open VS Code in an empty folder
149
+
150
+ ### Azure Login
151
+
152
+ Ensure you are logged in to Azure DevOps via the Azure CLI:
153
+
154
+ ```sh
155
+ az login
156
+ ```
157
+
158
+ ### Installation
159
+
160
+ #### ✨ One-Click install
161
+
162
+ [![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)
163
+ [![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)
164
+
165
+ 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).
166
+
167
+ #### 🧨 Installing from public feed (recommended)
168
+
169
+ This installation method is the easiest for all users using Visual Studio Code.
170
+
171
+ πŸŽ₯ [Watch this quick start video to get up and running in under two minutes!](https://youtu.be/EUmFM6qXoYk)
172
+
173
+ ##### Steps
174
+
175
+ 1. In your project, add a `.vscode\mcp.json` file and add the following:
176
+
177
+ ```json
178
+ {
179
+ "inputs": [
180
+ {
181
+ "id": "ado_org",
182
+ "type": "promptString",
183
+ "description": "Azure DevOps organization name (e.g. 'contoso')"
184
+ }
185
+ ],
186
+ "servers": {
187
+ "ado": {
188
+ "type": "stdio",
189
+ "command": "npx",
190
+ "args": ["-y", "@azure-devops/mcp", "${input:ado_org}"]
191
+ }
192
+ }
193
+ }
194
+ ```
195
+
196
+ 2. Save the file, then click 'Start`
197
+
198
+ <img src="./docs/media/start-mcp-server.gif" alt="start mcp server" width="250"/>
199
+
200
+ 3. In chat, switch to [Agent Mode](https://code.visualstudio.com/blogs/2025/02/24/introducing-copilot-agent-mode).
201
+ 4. Click "Select Tools" and choose the available tools.
202
+ 5. We strongly recommend that you create a `.github\copilot-instructions.md` in your project and copy and paste the contents from this [copilot-instructions.md](./.github/copilot-instructions.md) file. This will enhance your experience using the Azure DevOps MCP Server with GitHub Copilot Chat.
203
+
204
+ #### πŸ› οΈ Installing from source (dev mode)
205
+
206
+ 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.
207
+
208
+ > **Note:** For most users, installing from the public feed is simpler and preferred. Use the source installation only if you need the latest changes or are actively contributing to the project.
209
+
210
+ ##### Steps
211
+
212
+ 1. Clone the repository.
213
+ 2. Install dependencies:
214
+ ```sh
215
+ npm install
216
+ ```
217
+ 3. Edit or add `.vscode/mcp.json`:
218
+
219
+ ```json
220
+ {
221
+ "inputs": [
222
+ {
223
+ "id": "ado_org",
224
+ "type": "promptString",
225
+ "description": "Azure DevOps organization's name (e.g. 'contoso')"
226
+ }
227
+ ],
228
+ "servers": {
229
+ "ado": {
230
+ "type": "stdio",
231
+ "command": "mcp-server-azuredevops",
232
+ "args": ["${input:ado_org}"]
233
+ }
234
+ }
235
+ }
236
+ ```
237
+
238
+ 4. Start the Azure DevOps MCP Server
239
+
240
+ <img src="./docs/media/start-mcp-server.gif" alt="start mcp server" width="250"/>
241
+
242
+ 5. In chat, switch to [Agent Mode](https://code.visualstudio.com/blogs/2025/02/24/introducing-copilot-agent-mode).
243
+ 6. Click "Select Tools" and choose the available tools.
244
+ 7. We strongly recommend that you create a `.github\copilot-instructions.md` in your project and copy and paste the contents from this [copilot-instructions.md](./.github/copilot-instructions.md) file. This will help your experience when it comes to using the Azure DevOps MCP Server in GitHub Copilot Chat.
245
+
246
+ See [How To](./docs/HOWTO.md) section for details
247
+
248
+ ## πŸ”¦ Usage
249
+
250
+ ### Visual Studio Code + GitHub Copilot
251
+
252
+ 1. Open GitHub Copilot in VS Code and switch to Agent mode.
253
+ 2. Start the Azure DevOps MCP Server.
254
+ 3. The server appears in the tools list.
255
+ 4. Try prompts like "List ADO projects".
256
+
257
+ ### Visual Studio + GitHub Copilot
258
+
259
+ > _Prerequisites:_ Visual Studio 2022 v17.14+, Agent mode enabled in Tools > Options > GitHub > Copilot > Copilot Chat.
260
+
261
+ 1. Switch to Agent mode in the Copilot Chat window.
262
+ 2. Enter your Azure DevOps organization name.
263
+ 3. Select desired `ado` tools.
264
+ 4. Try prompts like "List ADO projects".
265
+
266
+ 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).
267
+
268
+ ## πŸ“ Troubleshooting
269
+
270
+ See the [Troubleshooting guide](./docs/TROUBLESHOOTING.md) for help with common issues and logging.
271
+
272
+ ## 🎩 Samples & best practices
273
+
274
+ Find sample prompts and best practices in our [How-to Guide](./docs/HOWTO.md).
275
+
276
+ ## πŸ™‹β€β™€οΈ Frequently asked questions
277
+
278
+ For answers to common questions about the Azure DevOps MCP Server, see the [Frequently Asked Questions](./docs/FAQ.md).
279
+
280
+ ## πŸ“Œ Contributing
281
+
282
+ We welcome contributions! During preview, please file Issues for bugs, enhancements, or documentation improvements.
283
+
284
+ See our [Contributions Guide](./CONTRIBUTING.md) for:
285
+
286
+ - πŸ› οΈ Development setup
287
+ - ✨ Adding new tools
288
+ - πŸ“ Code style & testing
289
+ - πŸ”„ Pull request process
290
+
291
+ ## 🀝 Code of conduct
292
+
293
+ This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
294
+ For questions, see the [FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [open@microsoft.com](mailto:open@microsoft.com).
295
+
296
+ ## πŸ“ˆ Project Stats
297
+
298
+ [![Star History Chart](https://api.star-history.com/svg?repos=microsoft/azure-devops-mcp&type=Date)](https://star-history.com/#microsoft/azure-devops-mcp)
299
+
300
+ ## πŸ† Hall of Fame
301
+
302
+ Thanks to all contributors who make this project awesome! ❀️
303
+
304
+ [![Contributors](https://contrib.rocks/image?repo=microsoft/azure-devops-mcp)](https://github.com/microsoft/azure-devops-mcp/graphs/contributors)
305
+
306
+ > Generated with [contrib.rocks](https://contrib.rocks)
307
+
308
+ ## License
309
+
310
+ Licensed under the [MIT License](./LICENSE.md).
311
+
312
+ ---
313
+
314
+ _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._
315
+
316
+ <!-- version: 2023-04-07 [Do not delete this line, it is used for analytics that drive template improvements] -->