@smartbear/mcp 0.35.0 → 0.37.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.
- package/README.md +1 -1
- package/dist/bearq/tool/tasks/wait-for-task.js +3 -3
- package/dist/bugsnag/client.js +1 -1
- package/dist/bugsnag/tool/error/get-error.js +1 -1
- package/dist/bugsnag/tool/error/list-project-errors.js +1 -1
- package/dist/bugsnag/tool/error/update-error.js +1 -1
- package/dist/bugsnag/tool/event/get-event-details-from-dashboard-url.js +1 -1
- package/dist/bugsnag/tool/event/get-event.js +1 -1
- package/dist/bugsnag/tool/event/list-error-events.js +1 -1
- package/dist/bugsnag/tool/performance/get-network-endpoint-groupings.js +1 -1
- package/dist/bugsnag/tool/performance/get-span-group.js +1 -1
- package/dist/bugsnag/tool/performance/get-trace.js +1 -1
- package/dist/bugsnag/tool/performance/list-span-groups.js +1 -1
- package/dist/bugsnag/tool/performance/list-spans.js +1 -1
- package/dist/bugsnag/tool/performance/list-trace-fields.js +1 -1
- package/dist/bugsnag/tool/performance/set-network-endpoint-groupings.js +1 -1
- package/dist/bugsnag/tool/project/get-current-project.js +1 -1
- package/dist/bugsnag/tool/project/list-project-event-filters.js +1 -1
- package/dist/bugsnag/tool/project/list-projects.js +1 -1
- package/dist/bugsnag/tool/release/get-build.js +1 -1
- package/dist/bugsnag/tool/release/get-release.js +1 -1
- package/dist/bugsnag/tool/release/list-releases.js +1 -1
- package/dist/collaborator/client.js +10 -10
- package/dist/common/server.js +11 -32
- package/dist/common/transport-http.js +5 -5
- package/dist/common/transport-stdio.js +1 -1
- package/dist/common/zod-utils.js +2 -1
- package/dist/package.json.js +1 -1
- package/dist/pactflow/client/base.js +8 -4
- package/dist/pactflow/client/tools.js +2 -2
- package/dist/pactflow/client.js +4 -4
- package/dist/qmetry/client/auto-resolve.js +5 -0
- package/dist/qmetry/client/date-utils.js +104 -0
- package/dist/qmetry/client/handlers.js +9 -5
- package/dist/qmetry/client/issues.js +124 -7
- package/dist/qmetry/client/testcase.js +36 -2
- package/dist/qmetry/client/testsuite.js +27 -2
- package/dist/qmetry/client/tools/issue-tools.js +202 -23
- package/dist/qmetry/client/tools/project-tools.js +14 -2
- package/dist/qmetry/client/tools/testcase-tools.js +275 -14
- package/dist/qmetry/client/tools/testsuite-tools.js +152 -5
- package/dist/qmetry/client/tools/udf-tools.js +83 -5
- package/dist/qmetry/client/udf.js +159 -4
- package/dist/qmetry/client.js +236 -1
- package/dist/qmetry/config/constants.js +5 -1
- package/dist/qmetry/config/rest-endpoints.js +7 -3
- package/dist/qmetry/types/common.js +113 -12
- package/dist/qmetry/types/testcase.js +1 -2
- package/dist/qmetry/types/udf.js +12 -1
- package/dist/reflect/tool/recording/connect-to-session.js +2 -2
- package/dist/swagger/client/api.js +96 -12
- package/dist/swagger/client/functional-testing-api.js +7 -1
- package/dist/swagger/client/functional-testing-tools.js +20 -17
- package/dist/swagger/client/functional-testing-types.js +184 -1
- package/dist/swagger/client/patch-spec-utils.js +31 -0
- package/dist/swagger/client/portal-types.js +1 -1
- package/dist/swagger/client/registry-types.js +44 -0
- package/dist/swagger/client/tools.js +11 -2
- package/dist/swagger/client/utils.js +8 -0
- package/dist/swagger/client.js +6 -2
- package/dist/zephyr/common/rest-api-schemas.js +3748 -3698
- package/dist/zephyr/tool/test-case/create-issue-link.js +4 -2
- package/dist/zephyr/tool/test-case/create-test-script.js +4 -2
- package/dist/zephyr/tool/test-case/create-test-steps.js +5 -1
- package/dist/zephyr/tool/test-case/get-test-steps.js +4 -2
- package/dist/zephyr/tool/test-case/update-test-case.js +3 -1
- package/dist/zephyr/tool/test-cycle/create-issue-link.js +4 -2
- package/dist/zephyr/tool/test-cycle/create-web-link.js +4 -2
- package/dist/zephyr/tool/test-cycle/update-test-cycle.js +5 -1
- package/dist/zephyr/tool/test-execution/create-issue-link.js +4 -2
- package/dist/zephyr/tool/test-execution/get-test-steps.js +4 -2
- package/dist/zephyr/tool/test-execution/update-test-execution.js +4 -2
- package/dist/zephyr/tool/test-execution/update-test-steps.js +4 -2
- 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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
11
|
-
|
|
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.
|
|
3
|
+
"version": "0.37.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/
|
|
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",
|