@smartbear/mcp 0.35.0 → 0.36.0

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.
Files changed (48) hide show
  1. package/README.md +1 -1
  2. package/dist/bearq/tool/tasks/wait-for-task.js +3 -3
  3. package/dist/bugsnag/client.js +1 -1
  4. package/dist/bugsnag/tool/error/get-error.js +1 -1
  5. package/dist/bugsnag/tool/error/list-project-errors.js +1 -1
  6. package/dist/bugsnag/tool/error/update-error.js +1 -1
  7. package/dist/bugsnag/tool/event/get-event-details-from-dashboard-url.js +1 -1
  8. package/dist/bugsnag/tool/event/get-event.js +1 -1
  9. package/dist/bugsnag/tool/event/list-error-events.js +1 -1
  10. package/dist/bugsnag/tool/performance/get-network-endpoint-groupings.js +1 -1
  11. package/dist/bugsnag/tool/performance/get-span-group.js +1 -1
  12. package/dist/bugsnag/tool/performance/get-trace.js +1 -1
  13. package/dist/bugsnag/tool/performance/list-span-groups.js +1 -1
  14. package/dist/bugsnag/tool/performance/list-spans.js +1 -1
  15. package/dist/bugsnag/tool/performance/list-trace-fields.js +1 -1
  16. package/dist/bugsnag/tool/performance/set-network-endpoint-groupings.js +1 -1
  17. package/dist/bugsnag/tool/project/get-current-project.js +1 -1
  18. package/dist/bugsnag/tool/project/list-project-event-filters.js +1 -1
  19. package/dist/bugsnag/tool/project/list-projects.js +1 -1
  20. package/dist/bugsnag/tool/release/get-build.js +1 -1
  21. package/dist/bugsnag/tool/release/get-release.js +1 -1
  22. package/dist/bugsnag/tool/release/list-releases.js +1 -1
  23. package/dist/collaborator/client.js +10 -10
  24. package/dist/common/server.js +11 -32
  25. package/dist/common/transport-http.js +5 -5
  26. package/dist/common/transport-stdio.js +1 -1
  27. package/dist/common/zod-utils.js +2 -1
  28. package/dist/package.json.js +1 -1
  29. package/dist/pactflow/client/base.js +8 -4
  30. package/dist/pactflow/client/tools.js +2 -2
  31. package/dist/pactflow/client.js +4 -4
  32. package/dist/reflect/tool/recording/connect-to-session.js +2 -2
  33. package/dist/swagger/client/portal-types.js +1 -1
  34. package/dist/swagger/client.js +1 -1
  35. package/dist/zephyr/common/rest-api-schemas.js +3748 -3698
  36. package/dist/zephyr/tool/test-case/create-issue-link.js +4 -2
  37. package/dist/zephyr/tool/test-case/create-test-script.js +4 -2
  38. package/dist/zephyr/tool/test-case/create-test-steps.js +5 -1
  39. package/dist/zephyr/tool/test-case/get-test-steps.js +4 -2
  40. package/dist/zephyr/tool/test-case/update-test-case.js +3 -1
  41. package/dist/zephyr/tool/test-cycle/create-issue-link.js +4 -2
  42. package/dist/zephyr/tool/test-cycle/create-web-link.js +4 -2
  43. package/dist/zephyr/tool/test-cycle/update-test-cycle.js +5 -1
  44. package/dist/zephyr/tool/test-execution/create-issue-link.js +4 -2
  45. package/dist/zephyr/tool/test-execution/get-test-steps.js +4 -2
  46. package/dist/zephyr/tool/test-execution/update-test-execution.js +4 -2
  47. package/dist/zephyr/tool/test-execution/update-test-steps.js +4 -2
  48. package/package.json +7 -2
@@ -7,8 +7,10 @@ class CreateTestCaseIssueLink extends Tool {
7
7
  summary: "Create a new link between an issue in Jira and a Test Case in Zephyr",
8
8
  readOnly: false,
9
9
  idempotent: false,
10
- inputSchema: CreateTestCaseIssueLinkParams.and(
11
- CreateTestCaseIssueLinkBody.partial()
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: CreateTestCaseIssueLinkParams.extend(
13
+ CreateTestCaseIssueLinkBody.partial().shape
12
14
  ),
13
15
  outputSchema: CreateTestCaseIssueLink201Response,
14
16
  examples: [
@@ -7,8 +7,10 @@ class CreateTestScript extends Tool {
7
7
  summary: "Create a new Test Script of the types Plain Text or BDD in a Zephyr Test Case.",
8
8
  readOnly: false,
9
9
  idempotent: false,
10
- inputSchema: CreateTestCaseTestScriptParams.and(
11
- CreateTestCaseTestScriptBody.partial()
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: CreateTestCaseTestScriptParams.extend(
13
+ CreateTestCaseTestScriptBody.partial().shape
12
14
  ),
13
15
  outputSchema: CreateTestCaseTestScript201Response,
14
16
  examples: [
@@ -8,7 +8,11 @@ class CreateTestSteps extends Tool {
8
8
  readOnly: false,
9
9
  destructive: true,
10
10
  idempotent: false,
11
- inputSchema: CreateTestCaseTestStepsParams.and(CreateTestCaseTestStepsBody),
11
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
12
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
13
+ inputSchema: CreateTestCaseTestStepsParams.extend(
14
+ CreateTestCaseTestStepsBody.shape
15
+ ),
12
16
  outputSchema: CreateTestCaseTestSteps201Response,
13
17
  examples: [
14
18
  {
@@ -7,8 +7,10 @@ class GetTestCaseSteps extends Tool {
7
7
  summary: "Get details of test case steps in Zephyr",
8
8
  readOnly: true,
9
9
  idempotent: true,
10
- inputSchema: GetTestCaseTestStepsParams.and(
11
- GetTestCaseTestStepsQueryParams.partial()
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: GetTestCaseTestStepsParams.extend(
13
+ GetTestCaseTestStepsQueryParams.partial().shape
12
14
  ),
13
15
  outputSchema: GetTestCaseTestSteps200Response,
14
16
  examples: [
@@ -14,7 +14,9 @@ class UpdateTestCase extends Tool {
14
14
  summary: 'Update an existing Test Case in Zephyr. This operation fetches the current test case and merges your updates with it to prevent accidental property deletion. Properties which are not included in the tool call will be left unchanged. To remove a property, set it to null explicitly. For fields that accept multiple values, such as `labels`, if the field is provided, it will override the previous values. For example, if `labels` is provided with the values `["label1", "label2"]`, the Test Case will now only have those two labels, and any previous labels will be removed. If you want to add a label, you would need to specify in the prompt the intention to add a label.',
15
15
  readOnly: false,
16
16
  idempotent: true,
17
- inputSchema: UpdateTestCaseParams.and(UpdateTestCaseBodyToolInput),
17
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
18
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
19
+ inputSchema: UpdateTestCaseParams.extend(UpdateTestCaseBodyToolInput.shape),
18
20
  examples: [
19
21
  {
20
22
  description: "Update the name of the test case 'SA-T10' to 'Check axial pump' and objective to 'To ensure the axial pump can be enabled'",
@@ -7,8 +7,10 @@ class CreateTestCycleIssueLink extends Tool {
7
7
  summary: "Create a new link between an issue in Jira and a Test Cycle in Zephyr",
8
8
  readOnly: false,
9
9
  idempotent: false,
10
- inputSchema: CreateTestCycleIssueLinkParams.and(
11
- CreateTestCycleIssueLinkBody
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: CreateTestCycleIssueLinkParams.extend(
13
+ CreateTestCycleIssueLinkBody.shape
12
14
  ),
13
15
  examples: [
14
16
  {
@@ -7,8 +7,10 @@ class CreateTestCycleWebLink extends Tool {
7
7
  summary: "Create a new Web Link for a Test Cycle in Zephyr",
8
8
  readOnly: false,
9
9
  idempotent: false,
10
- inputSchema: CreateTestCycleWebLinkParams.and(
11
- CreateTestCycleWebLinkBody.partial()
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: CreateTestCycleWebLinkParams.extend(
13
+ CreateTestCycleWebLinkBody.partial().shape
12
14
  ),
13
15
  examples: [
14
16
  {
@@ -14,7 +14,11 @@ class UpdateTestCycle extends Tool {
14
14
  summary: "Update an existing Test Cycle in Zephyr. This operation fetches the current test cycle and merges your updates with it to prevent accidental property deletion. To remove a property, set it to null explicitly. The plannedStartDate and plannedEndDate fields cannot be cleared",
15
15
  readOnly: false,
16
16
  idempotent: true,
17
- inputSchema: UpdateTestCycleParams.and(UpdateTestCycleBodyToolInput),
17
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
18
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
19
+ inputSchema: UpdateTestCycleParams.extend(
20
+ UpdateTestCycleBodyToolInput.shape
21
+ ),
18
22
  examples: [
19
23
  {
20
24
  description: "Update the name of the test cycle 'SA-R40' to 'Sprint 1 Regression - Updated' and set description.",
@@ -7,8 +7,10 @@ class CreateTestExecutionIssueLink extends Tool {
7
7
  summary: "Create a new link between a Jira issue and a Test Execution in Zephyr",
8
8
  readOnly: false,
9
9
  idempotent: false,
10
- inputSchema: CreateTestExecutionIssueLinkParams.and(
11
- CreateTestExecutionIssueLinkBody
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: CreateTestExecutionIssueLinkParams.extend(
13
+ CreateTestExecutionIssueLinkBody.shape
12
14
  ),
13
15
  examples: [
14
16
  {
@@ -7,8 +7,10 @@ class GetTestExecutionSteps extends Tool {
7
7
  summary: "Get details of test execution steps in Zephyr",
8
8
  readOnly: true,
9
9
  idempotent: true,
10
- inputSchema: GetTestExecutionTestStepsParams.and(
11
- GetTestExecutionTestStepsQueryParams.partial()
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: GetTestExecutionTestStepsParams.extend(
13
+ GetTestExecutionTestStepsQueryParams.partial().shape
12
14
  ),
13
15
  outputSchema: GetTestExecutionTestSteps200Response,
14
16
  examples: [
@@ -7,8 +7,10 @@ class UpdateTestExecution extends Tool {
7
7
  summary: "Update an existing Test Execution in Zephyr. This operation only updates specified fields in the payload and ignores `null` or `undefined` values.",
8
8
  readOnly: false,
9
9
  idempotent: true,
10
- inputSchema: UpdateTestExecutionParams.and(
11
- UpdateTestExecutionBody.partial()
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: UpdateTestExecutionParams.extend(
13
+ UpdateTestExecutionBody.partial().shape
12
14
  ),
13
15
  examples: [
14
16
  {
@@ -7,8 +7,10 @@ class UpdateTestExecutionSteps extends Tool {
7
7
  summary: "Update test steps for a given Test Execution in Zephyr. This operation updates the provided steps with their execution status and actual results. Only the fields included in the request will be modified.",
8
8
  readOnly: false,
9
9
  idempotent: true,
10
- inputSchema: PutTestExecutionTestStepsParams.and(
11
- PutTestExecutionTestStepsBody
10
+ // Flattened via .extend() (not .and()) so the advertised JSON Schema stays
11
+ // a plain object instead of `allOf`, which older MCP clients don't understand.
12
+ inputSchema: PutTestExecutionTestStepsParams.extend(
13
+ PutTestExecutionTestStepsBody.shape
12
14
  ),
13
15
  examples: [
14
16
  {
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@smartbear/mcp",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
+ "engines": {
5
+ "node": ">=22"
6
+ },
4
7
  "description": "MCP server for interacting SmartBear Products",
5
8
  "keywords": [
6
9
  "smartbear",
@@ -51,7 +54,9 @@
51
54
  },
52
55
  "dependencies": {
53
56
  "@bugsnag/js": "^8.8.1",
54
- "@modelcontextprotocol/sdk": "^1.27.1",
57
+ "@modelcontextprotocol/server": "^2.0.0-beta.5",
58
+ "@modelcontextprotocol/node": "^2.0.0-beta.5",
59
+ "@modelcontextprotocol/server-legacy": "^2.0.0-beta.5",
55
60
  "js-yaml": "^4.2.0",
56
61
  "node-cache": "^5.1.2",
57
62
  "swagger-client": "^3.37.1",