@smartbear/mcp 0.12.1 → 0.13.1
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 +30 -6
- package/dist/bugsnag/client/api/CurrentUser.js +50 -26
- package/dist/bugsnag/client/api/Error.js +156 -93
- package/dist/bugsnag/client/api/Project.js +398 -276
- package/dist/bugsnag/client/api/api.js +4087 -3837
- package/dist/bugsnag/client/api/base.js +155 -173
- package/dist/bugsnag/client/api/configuration.js +28 -25
- package/dist/bugsnag/client/filters.js +11 -20
- package/dist/bugsnag/client.js +1398 -1281
- package/dist/bugsnag/input-schemas.js +39 -57
- package/dist/collaborator/client.js +335 -371
- package/dist/common/bugsnag.js +5 -3
- package/dist/common/cache.js +50 -57
- package/dist/common/client-registry.js +106 -119
- package/dist/common/info.js +7 -3
- package/dist/common/register-clients.js +0 -16
- package/dist/common/server.js +270 -228
- package/dist/common/tools.js +19 -0
- package/dist/common/transport-http.js +252 -343
- package/dist/common/transport-stdio.js +40 -37
- package/dist/common/zod-utils.js +20 -0
- package/dist/index.js +18 -23
- package/dist/package.json.js +11 -0
- package/dist/pactflow/client/ai.js +142 -169
- package/dist/pactflow/client/base.js +41 -51
- package/dist/pactflow/client/prompt-utils.js +93 -84
- package/dist/pactflow/client/prompts.js +95 -92
- package/dist/pactflow/client/tools.js +94 -83
- package/dist/pactflow/client/utils.js +60 -64
- package/dist/pactflow/client.js +399 -320
- package/dist/qmetry/client/api/client-api.js +43 -41
- package/dist/qmetry/client/api/error-handler.js +264 -310
- package/dist/qmetry/client/auto-resolve.js +78 -99
- package/dist/qmetry/client/automation.js +139 -162
- package/dist/qmetry/client/handlers.js +49 -46
- package/dist/qmetry/client/issues.js +133 -115
- package/dist/qmetry/client/project.js +153 -174
- package/dist/qmetry/client/requirement.js +82 -70
- package/dist/qmetry/client/testcase.js +240 -208
- package/dist/qmetry/client/testsuite.js +332 -293
- package/dist/qmetry/client/tools/automation-tools.js +291 -288
- package/dist/qmetry/client/tools/index.js +16 -13
- package/dist/qmetry/client/tools/issue-tools.js +534 -543
- package/dist/qmetry/client/tools/project-tools.js +635 -656
- package/dist/qmetry/client/tools/requirement-tools.js +525 -528
- package/dist/qmetry/client/tools/testcase-tools.js +773 -786
- package/dist/qmetry/client/tools/testsuite-tools.js +1069 -1083
- package/dist/qmetry/client/utils.js +8 -14
- package/dist/qmetry/client.js +111 -109
- package/dist/qmetry/config/constants.js +48 -44
- package/dist/qmetry/config/rest-endpoints.js +51 -48
- package/dist/qmetry/types/automation.js +7 -7
- package/dist/qmetry/types/common.js +763 -1049
- package/dist/qmetry/types/issues.js +26 -19
- package/dist/qmetry/types/project.js +32 -25
- package/dist/qmetry/types/requirements.js +26 -21
- package/dist/qmetry/types/testcase.js +55 -44
- package/dist/qmetry/types/testsuite.js +66 -52
- package/dist/reflect/client.js +284 -226
- package/dist/swagger/client/api.js +645 -662
- package/dist/swagger/client/configuration.js +31 -33
- package/dist/swagger/client/portal-types.js +204 -244
- package/dist/swagger/client/registry-types.js +62 -96
- package/dist/swagger/client/tools.js +148 -158
- package/dist/swagger/client/user-management-types.js +11 -22
- package/dist/swagger/client.js +143 -135
- package/dist/swagger/config-utils.js +10 -16
- package/dist/zephyr/client.js +43 -42
- package/dist/zephyr/common/api-client.js +35 -30
- package/dist/zephyr/common/auth-service.js +16 -13
- package/dist/zephyr/common/rest-api-schemas.js +3173 -5146
- package/dist/zephyr/tool/environment/get-environments.js +66 -66
- package/dist/zephyr/tool/priority/get-priorities.js +41 -41
- package/dist/zephyr/tool/project/get-project.js +37 -37
- package/dist/zephyr/tool/project/get-projects.js +46 -46
- package/dist/zephyr/tool/status/get-statuses.js +47 -47
- package/dist/zephyr/tool/test-case/get-test-case.js +37 -37
- package/dist/zephyr/tool/test-case/get-test-cases.js +62 -62
- package/dist/zephyr/tool/test-cycle/get-test-cycle.js +37 -37
- package/dist/zephyr/tool/test-cycle/get-test-cycles.js +70 -70
- package/dist/zephyr/tool/test-execution/get-test-execution.js +37 -37
- package/dist/zephyr/tool/test-execution/get-test-executions.js +43 -43
- package/package.json +5 -5
- package/dist/bugsnag/client/api/index.js +0 -6
- package/dist/common/types.js +0 -6
- package/dist/qmetry/client/tools/types.js +0 -1
- package/dist/swagger/client/index.js +0 -6
- package/dist/tests/unit/bugsnag/utils/factories.js +0 -86
- package/dist/zephyr/tool/zephyr-tool.js +0 -1
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return {
|
|
60
|
-
structuredContent: response,
|
|
61
|
-
content: [],
|
|
62
|
-
};
|
|
1
|
+
import { Tool } from "../../../common/tools.js";
|
|
2
|
+
import { listTestCasesCursorPaginatedResponse, listTestCasesCursorPaginatedQueryParams } from "../../common/rest-api-schemas.js";
|
|
3
|
+
class GetTestCases extends Tool {
|
|
4
|
+
specification = {
|
|
5
|
+
title: "Get Test Cases",
|
|
6
|
+
summary: "Get details of test cases in Zephyr",
|
|
7
|
+
readOnly: true,
|
|
8
|
+
idempotent: true,
|
|
9
|
+
inputSchema: listTestCasesCursorPaginatedQueryParams,
|
|
10
|
+
outputSchema: listTestCasesCursorPaginatedResponse,
|
|
11
|
+
examples: [
|
|
12
|
+
{
|
|
13
|
+
description: "Get the first 10 Test Cases",
|
|
14
|
+
parameters: {
|
|
15
|
+
limit: 10,
|
|
16
|
+
startAtId: 1
|
|
17
|
+
},
|
|
18
|
+
expectedOutput: "The first 10 Test Cases with their details"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
description: "Get any Test Case",
|
|
22
|
+
parameters: {
|
|
23
|
+
limit: 1
|
|
24
|
+
},
|
|
25
|
+
expectedOutput: "One Test Case with its details"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
description: "Get five Test Cases starting from the ID 123",
|
|
29
|
+
parameters: {
|
|
30
|
+
limit: 5,
|
|
31
|
+
startAtId: 123
|
|
32
|
+
},
|
|
33
|
+
expectedOutput: "Five Test Cases starting from the ID 123 with their details"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
description: "Get one Test Case from the project PROJ",
|
|
37
|
+
parameters: {
|
|
38
|
+
projectKey: "PROJ",
|
|
39
|
+
limit: 1
|
|
40
|
+
},
|
|
41
|
+
expectedOutput: "One Test Case from project PROJ with its details"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
description: "Get one Test Case from the folder with ID 123",
|
|
45
|
+
parameters: {
|
|
46
|
+
folderId: 123,
|
|
47
|
+
limit: 1
|
|
48
|
+
},
|
|
49
|
+
expectedOutput: "One Test Case from folder with ID 123 with its details"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
};
|
|
53
|
+
handle = async (args) => {
|
|
54
|
+
const parsedArgs = listTestCasesCursorPaginatedQueryParams.parse(args);
|
|
55
|
+
const response = await this.client.getApiClient().get("/testcases/nextgen", parsedArgs);
|
|
56
|
+
return {
|
|
57
|
+
structuredContent: response,
|
|
58
|
+
content: []
|
|
63
59
|
};
|
|
60
|
+
};
|
|
64
61
|
}
|
|
62
|
+
export {
|
|
63
|
+
GetTestCases
|
|
64
|
+
};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return {
|
|
35
|
-
structuredContent: response,
|
|
36
|
-
content: [],
|
|
37
|
-
};
|
|
1
|
+
import { Tool } from "../../../common/tools.js";
|
|
2
|
+
import { getTestCycleResponse, getTestCycleParams } from "../../common/rest-api-schemas.js";
|
|
3
|
+
class GetTestCycle extends Tool {
|
|
4
|
+
specification = {
|
|
5
|
+
title: "Get Test Cycle",
|
|
6
|
+
summary: "Get details of test cycle specified by id or key in Zephyr",
|
|
7
|
+
readOnly: true,
|
|
8
|
+
idempotent: true,
|
|
9
|
+
inputSchema: getTestCycleParams,
|
|
10
|
+
outputSchema: getTestCycleResponse,
|
|
11
|
+
examples: [
|
|
12
|
+
{
|
|
13
|
+
description: "Get the test cycle with id 1",
|
|
14
|
+
parameters: {
|
|
15
|
+
testCycleIdOrKey: "1"
|
|
16
|
+
},
|
|
17
|
+
expectedOutput: "The test cycle with its details"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
description: "Get the test cycle with key 'SA-R40'",
|
|
21
|
+
parameters: {
|
|
22
|
+
testCycleIdOrKey: "SA-R40"
|
|
23
|
+
},
|
|
24
|
+
expectedOutput: "The test cycle with its details"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
};
|
|
28
|
+
handle = async (args) => {
|
|
29
|
+
const { testCycleIdOrKey } = getTestCycleParams.parse(args);
|
|
30
|
+
const response = await this.client.getApiClient().get(`/testcycles/${testCycleIdOrKey}`);
|
|
31
|
+
return {
|
|
32
|
+
structuredContent: response,
|
|
33
|
+
content: []
|
|
38
34
|
};
|
|
35
|
+
};
|
|
39
36
|
}
|
|
37
|
+
export {
|
|
38
|
+
GetTestCycle
|
|
39
|
+
};
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
return {
|
|
68
|
-
structuredContent: response,
|
|
69
|
-
content: [],
|
|
70
|
-
};
|
|
1
|
+
import { Tool } from "../../../common/tools.js";
|
|
2
|
+
import { listTestCyclesResponse, listTestCyclesQueryParams } from "../../common/rest-api-schemas.js";
|
|
3
|
+
class GetTestCycles extends Tool {
|
|
4
|
+
specification = {
|
|
5
|
+
title: "Get Test Cycles",
|
|
6
|
+
summary: "Get details of Test Cycles in Zephyr",
|
|
7
|
+
readOnly: true,
|
|
8
|
+
idempotent: true,
|
|
9
|
+
inputSchema: listTestCyclesQueryParams,
|
|
10
|
+
outputSchema: listTestCyclesResponse,
|
|
11
|
+
examples: [
|
|
12
|
+
{
|
|
13
|
+
description: "Get the first 10 Test Cycles",
|
|
14
|
+
parameters: {
|
|
15
|
+
maxResults: 10,
|
|
16
|
+
startAt: 0
|
|
17
|
+
},
|
|
18
|
+
expectedOutput: "The first 10 Test Cycles with their details"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
description: "Get any Test Cycle",
|
|
22
|
+
parameters: {
|
|
23
|
+
maxResults: 1
|
|
24
|
+
},
|
|
25
|
+
expectedOutput: "One Test Cycle with its details"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
description: "Get five Test Cycles starting from the 7th Test Cycles of the list",
|
|
29
|
+
parameters: {
|
|
30
|
+
maxResults: 5,
|
|
31
|
+
startAt: 6
|
|
32
|
+
},
|
|
33
|
+
expectedOutput: "The 7th to the 11th Test Cycles with their details"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
description: "Get one Test Cycle from the project PROJ",
|
|
37
|
+
parameters: {
|
|
38
|
+
projectKey: "PROJ",
|
|
39
|
+
maxResults: 1
|
|
40
|
+
},
|
|
41
|
+
expectedOutput: "One Test Cycle from project PROJ with its details"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
description: "Get one Test Cycle from the folder with ID 123",
|
|
45
|
+
parameters: {
|
|
46
|
+
folderId: 123,
|
|
47
|
+
maxResults: 1
|
|
48
|
+
},
|
|
49
|
+
expectedOutput: "One Test Cycle from folder with ID 123 with its details"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
description: "Get one Test Cycle from the version 456",
|
|
53
|
+
parameters: {
|
|
54
|
+
jiraProjectVersionId: 456,
|
|
55
|
+
maxResults: 1
|
|
56
|
+
},
|
|
57
|
+
expectedOutput: "One Test Cycle from version 456 with its details"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
};
|
|
61
|
+
handle = async (args) => {
|
|
62
|
+
const parsedArgs = listTestCyclesQueryParams.parse(args);
|
|
63
|
+
const response = await this.client.getApiClient().get("/testcycles", parsedArgs);
|
|
64
|
+
return {
|
|
65
|
+
structuredContent: response,
|
|
66
|
+
content: []
|
|
71
67
|
};
|
|
68
|
+
};
|
|
72
69
|
}
|
|
70
|
+
export {
|
|
71
|
+
GetTestCycles
|
|
72
|
+
};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return {
|
|
35
|
-
structuredContent: response,
|
|
36
|
-
content: [],
|
|
37
|
-
};
|
|
1
|
+
import { Tool } from "../../../common/tools.js";
|
|
2
|
+
import { getTestExecutionResponse, getTestExecutionParams } from "../../common/rest-api-schemas.js";
|
|
3
|
+
class GetTestExecution extends Tool {
|
|
4
|
+
specification = {
|
|
5
|
+
title: "Get Test Execution",
|
|
6
|
+
summary: "Get details of test execution specified by id or key in Zephyr",
|
|
7
|
+
readOnly: true,
|
|
8
|
+
idempotent: true,
|
|
9
|
+
inputSchema: getTestExecutionParams,
|
|
10
|
+
outputSchema: getTestExecutionResponse,
|
|
11
|
+
examples: [
|
|
12
|
+
{
|
|
13
|
+
description: "Get the test execution with id 1",
|
|
14
|
+
parameters: {
|
|
15
|
+
testExecutionIdOrKey: "1"
|
|
16
|
+
},
|
|
17
|
+
expectedOutput: "The test execution with its details"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
description: "Get the test execution with key 'PROJ-E123'",
|
|
21
|
+
parameters: {
|
|
22
|
+
testExecutionIdOrKey: "PROJ-E123"
|
|
23
|
+
},
|
|
24
|
+
expectedOutput: "The test execution with its details"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
};
|
|
28
|
+
handle = async (args) => {
|
|
29
|
+
const { testExecutionIdOrKey } = getTestExecutionParams.parse(args);
|
|
30
|
+
const response = await this.client.getApiClient().get(`/testexecutions/${testExecutionIdOrKey}`);
|
|
31
|
+
return {
|
|
32
|
+
structuredContent: response,
|
|
33
|
+
content: []
|
|
38
34
|
};
|
|
35
|
+
};
|
|
39
36
|
}
|
|
37
|
+
export {
|
|
38
|
+
GetTestExecution
|
|
39
|
+
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return {
|
|
41
|
-
structuredContent: response,
|
|
42
|
-
content: [],
|
|
43
|
-
};
|
|
1
|
+
import { Tool } from "../../../common/tools.js";
|
|
2
|
+
import { listTestExecutionsNextgenResponse, listTestExecutionsNextgenQueryParams } from "../../common/rest-api-schemas.js";
|
|
3
|
+
class GetTestExecutions extends Tool {
|
|
4
|
+
specification = {
|
|
5
|
+
title: "Get Test Executions",
|
|
6
|
+
summary: "Get test executions with optional filters",
|
|
7
|
+
readOnly: true,
|
|
8
|
+
idempotent: true,
|
|
9
|
+
inputSchema: listTestExecutionsNextgenQueryParams,
|
|
10
|
+
outputSchema: listTestExecutionsNextgenResponse,
|
|
11
|
+
examples: [
|
|
12
|
+
{
|
|
13
|
+
description: "Get the first 10 test executions",
|
|
14
|
+
parameters: { limit: 10, startAtId: 0 },
|
|
15
|
+
expectedOutput: "The first 10 test executions with their details"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
description: "Get 5 test executions for the project PROJ",
|
|
19
|
+
parameters: { projectKey: "PROJ", limit: 5 },
|
|
20
|
+
expectedOutput: "Up to 5 test executions for project PROJ"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
description: "Get some test executions that finished after 01/Jan/2024",
|
|
24
|
+
parameters: { actualEndDateAfter: "2024-01-01T00:00:00Z" },
|
|
25
|
+
expectedOutput: "Test executions that ended after 2024-01-01"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
description: "Get test executions with step links included",
|
|
29
|
+
parameters: { includeStepLinks: true },
|
|
30
|
+
expectedOutput: "Test executions with step links included"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
handle = async (args) => {
|
|
35
|
+
const parsedArgs = listTestExecutionsNextgenQueryParams.parse(args);
|
|
36
|
+
const response = await this.client.getApiClient().get("/testexecutions/nextgen", parsedArgs);
|
|
37
|
+
return {
|
|
38
|
+
structuredContent: response,
|
|
39
|
+
content: []
|
|
44
40
|
};
|
|
41
|
+
};
|
|
45
42
|
}
|
|
43
|
+
export {
|
|
44
|
+
GetTestExecutions
|
|
45
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbear/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "MCP server for interacting SmartBear Products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"smartbear",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"mcpServerName": "SmartBear MCP Server"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "
|
|
34
|
+
"build": "vite build && shx chmod +x dist/*.js",
|
|
35
35
|
"lint": "biome lint .",
|
|
36
36
|
"lint:fix": "biome lint . --fix",
|
|
37
37
|
"format": "biome format . --write",
|
|
38
38
|
"format:check": "biome format .",
|
|
39
39
|
"prepare": "npm run build",
|
|
40
|
-
"watch": "
|
|
40
|
+
"watch": "vite build --watch",
|
|
41
41
|
"test": "vitest",
|
|
42
42
|
"test:watch": "vitest --watch",
|
|
43
43
|
"test:coverage": "vitest --coverage",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.15.0",
|
|
52
52
|
"node-cache": "^5.1.2",
|
|
53
53
|
"swagger-client": "^3.35.6",
|
|
54
|
-
"
|
|
55
|
-
"zod
|
|
54
|
+
"vite": "^7.3.1",
|
|
55
|
+
"zod": "^4"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@biomejs/biome": "^2.2.4",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Exporting all the types required outside of the api module - all imports from the tool should come from here
|
|
2
|
-
export { ErrorUpdateRequest, TraceField, } from "./api.js";
|
|
3
|
-
export { CurrentUserAPI } from "./CurrentUser.js";
|
|
4
|
-
export { Configuration } from "./configuration.js";
|
|
5
|
-
export { ErrorAPI } from "./Error.js";
|
|
6
|
-
export { ProjectAPI } from "./Project.js";
|
package/dist/common/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|