@azure-devops/mcp 2.2.0-nightly.20250923 → 2.2.0-nightly.20250924

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
@@ -129,6 +129,7 @@ Interact with these Azure DevOps services:
129
129
  - **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.
130
130
  - **testplan_list_test_cases**: Get a list of test cases in the test plan.
131
131
  - **testplan_show_test_results_from_build_id**: Get a list of test results for a given project and build ID.
132
+ - **testplan_create_test_suite**: Creates a new test suite in a test plan.
132
133
 
133
134
  ### 📖 Wiki
134
135
 
@@ -8,6 +8,7 @@ const Test_Plan_Tools = {
8
8
  test_results_from_build_id: "testplan_show_test_results_from_build_id",
9
9
  list_test_cases: "testplan_list_test_cases",
10
10
  list_test_plans: "testplan_list_test_plans",
11
+ create_test_suite: "testplan_create_test_suite",
11
12
  };
12
13
  function configureTestPlanTools(server, _, connectionProvider) {
13
14
  /*
@@ -55,6 +56,30 @@ function configureTestPlanTools(server, _, connectionProvider) {
55
56
  content: [{ type: "text", text: JSON.stringify(createdTestPlan, null, 2) }],
56
57
  };
57
58
  });
59
+ /*
60
+ Create Test Suite - CREATE
61
+ */
62
+ server.tool(Test_Plan_Tools.create_test_suite, "Creates a new test suite in a test plan.", {
63
+ project: z.string().describe("Project ID or project name"),
64
+ planId: z.number().describe("ID of the test plan that contains the suites"),
65
+ parentSuiteId: z.number().describe("ID of the parent suite under which the new suite will be created, if not given by user this can be id of a root suite of the test plan"),
66
+ name: z.string().describe("Name of the child test suite"),
67
+ }, async ({ project, planId, parentSuiteId, name }) => {
68
+ const connection = await connectionProvider();
69
+ const testPlanApi = await connection.getTestPlanApi();
70
+ const testSuiteToCreate = {
71
+ name,
72
+ parentSuite: {
73
+ id: parentSuiteId,
74
+ name: "",
75
+ },
76
+ suiteType: 2,
77
+ };
78
+ const createdTestSuite = await testPlanApi.createTestSuite(testSuiteToCreate, project, planId);
79
+ return {
80
+ content: [{ type: "text", text: JSON.stringify(createdTestSuite, null, 2) }],
81
+ };
82
+ });
58
83
  /*
59
84
  Add Test Cases to Suite - ADD
60
85
  */
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const packageVersion = "2.2.0-nightly.20250923";
1
+ export const packageVersion = "2.2.0-nightly.20250924";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-devops/mcp",
3
- "version": "2.2.0-nightly.20250923",
3
+ "version": "2.2.0-nightly.20250924",
4
4
  "description": "MCP server for interacting with Azure DevOps",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft Corporation",