@azure-devops/mcp 2.4.0-nightly.20260309 → 2.4.0-nightly.20260310

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
@@ -46,7 +46,7 @@ See [TOOLSET.md](./docs/TOOLSET.md) for a comprehensive list.
46
46
 
47
47
  ## 🔌 Installation & Getting Started
48
48
 
49
- 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.
49
+ 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, Cursor, Opencode, and Kilocode.
50
50
 
51
51
  ### Prerequisites
52
52
 
@@ -10,6 +10,7 @@ const WORK_TOOLS = {
10
10
  get_team_capacity: "work_get_team_capacity",
11
11
  update_team_capacity: "work_update_team_capacity",
12
12
  get_iteration_capacities: "work_get_iteration_capacities",
13
+ get_team_settings: "work_get_team_settings",
13
14
  };
14
15
  function configureWorkTools(server, _, connectionProvider) {
15
16
  server.tool(WORK_TOOLS.list_team_iterations, "Retrieve a list of iterations for a specific team in a project.", {
@@ -294,5 +295,41 @@ function configureWorkTools(server, _, connectionProvider) {
294
295
  };
295
296
  }
296
297
  });
298
+ server.tool(WORK_TOOLS.get_team_settings, "Get team settings including default iteration, backlog iteration, and default area path for a team.", {
299
+ project: z.string().describe("The name or ID of the Azure DevOps project."),
300
+ team: z.string().optional().describe("The name or ID of the Azure DevOps team. If not provided, the default team will be used."),
301
+ }, async ({ project, team }) => {
302
+ try {
303
+ const connection = await connectionProvider();
304
+ const workApi = await connection.getWorkApi();
305
+ const teamContext = { project, team };
306
+ const teamSettings = await workApi.getTeamSettings(teamContext);
307
+ if (!teamSettings) {
308
+ return { content: [{ type: "text", text: "No team settings found" }], isError: true };
309
+ }
310
+ const teamFieldValues = await workApi.getTeamFieldValues(teamContext);
311
+ const result = {
312
+ backlogIteration: teamSettings.backlogIteration,
313
+ defaultIteration: teamSettings.defaultIteration,
314
+ defaultIterationMacro: teamSettings.defaultIterationMacro,
315
+ backlogVisibilities: teamSettings.backlogVisibilities,
316
+ bugsBehavior: teamSettings.bugsBehavior,
317
+ workingDays: teamSettings.workingDays,
318
+ defaultAreaPath: teamFieldValues?.defaultValue,
319
+ areaPathField: teamFieldValues?.field,
320
+ areaPaths: teamFieldValues?.values,
321
+ };
322
+ return {
323
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
324
+ };
325
+ }
326
+ catch (error) {
327
+ const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
328
+ return {
329
+ content: [{ type: "text", text: `Error fetching team settings: ${errorMessage}` }],
330
+ isError: true,
331
+ };
332
+ }
333
+ });
297
334
  }
298
335
  export { WORK_TOOLS, configureWorkTools };
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const packageVersion = "2.4.0-nightly.20260309";
1
+ export const packageVersion = "2.4.0-nightly.20260310";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-devops/mcp",
3
- "version": "2.4.0-nightly.20260309",
3
+ "version": "2.4.0-nightly.20260310",
4
4
  "mcpName": "microsoft.com/azure-devops",
5
5
  "description": "MCP server for interacting with Azure DevOps",
6
6
  "license": "MIT",