@azure-devops/mcp 1.3.1-nightly.20250820 → 1.3.1-nightly.20250821

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
@@ -120,6 +120,7 @@ Interact with these Azure DevOps services:
120
120
  - **build_get_log**: Retrieve the logs for a specific build.
121
121
  - **build_get_log_by_id**: Get a specific build log by log ID.
122
122
  - **build_get_changes**: Get the changes associated with a specific build.
123
+ - **build_get_timeline**: Retrieve the timeline for a specific build, showing detailed information about steps and tasks.
123
124
  - **build_run_build**: Trigger a new build for a specified definition.
124
125
  - **build_get_status**: Fetch the status of a specific build.
125
126
  - **build_update_build_stage**: Update the stage of a specific build.
@@ -14,6 +14,7 @@ const BUILD_TOOLS = {
14
14
  run_build: "build_run_build",
15
15
  get_status: "build_get_status",
16
16
  update_build_stage: "build_update_build_stage",
17
+ get_timeline: "build_get_timeline",
17
18
  };
18
19
  function configureBuildTools(server, tokenProvider, connectionProvider, userAgentProvider) {
19
20
  server.tool(BUILD_TOOLS.get_definitions, "Retrieves a list of build definitions for a given project.", {
@@ -204,5 +205,19 @@ function configureBuildTools(server, tokenProvider, connectionProvider, userAgen
204
205
  content: [{ type: "text", text: JSON.stringify(updatedBuild, null, 2) }],
205
206
  };
206
207
  });
208
+ server.tool(BUILD_TOOLS.get_timeline, "Retrieves the timeline for a specific build, showing detailed information about steps and tasks.", {
209
+ project: z.string().describe("Project ID or name to get the build timeline for"),
210
+ buildId: z.number().describe("ID of the build to get the timeline for"),
211
+ timelineId: z.string().optional().describe("The ID of a specific timeline to retrieve. If not specified, the primary timeline is returned."),
212
+ changeId: z.number().optional().describe("If specified, only includes timeline records that changed after this watermark."),
213
+ planId: z.string().optional().describe("The ID of the plan to retrieve the timeline for."),
214
+ }, async ({ project, buildId, timelineId, changeId, planId }) => {
215
+ const connection = await connectionProvider();
216
+ const buildApi = await connection.getBuildApi();
217
+ const timeline = await buildApi.getBuildTimeline(project, buildId, timelineId, changeId, planId);
218
+ return {
219
+ content: [{ type: "text", text: JSON.stringify(timeline, null, 2) }],
220
+ };
221
+ });
207
222
  }
208
223
  export { BUILD_TOOLS, configureBuildTools };
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const packageVersion = "1.3.1-nightly.20250820";
1
+ export const packageVersion = "1.3.1-nightly.20250821";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-devops/mcp",
3
- "version": "1.3.1-nightly.20250820",
3
+ "version": "1.3.1-nightly.20250821",
4
4
  "description": "MCP server for interacting with Azure DevOps",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft Corporation",