@smartbear/mcp 0.28.0 → 0.30.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 (37) hide show
  1. package/README.md +1 -1
  2. package/dist/bearq/client.js +5 -3
  3. package/dist/bearq/tool/environments/list-environments.js +28 -0
  4. package/dist/bearq/tool/tasks/run-regression-tests.js +10 -3
  5. package/dist/bearq/tool/tasks/run-test-cases.js +12 -3
  6. package/dist/bearq/tool/tasks/run-tests-in-functional-areas.js +12 -3
  7. package/dist/bugsnag/client.js +2 -2
  8. package/dist/collaborator/client.js +5 -2
  9. package/dist/common/client-identity.js +20 -0
  10. package/dist/common/info.js +21 -1
  11. package/dist/common/initialize.js +7 -0
  12. package/dist/common/request-context.js +7 -0
  13. package/dist/common/server.js +37 -1
  14. package/dist/common/transport-http.js +13 -13
  15. package/dist/package.json.js +1 -1
  16. package/dist/pactflow/client/tools.js +408 -0
  17. package/dist/pactflow/client.js +5 -12
  18. package/dist/qmetry/client/api/client-api.js +2 -2
  19. package/dist/qmetry/client/automation.js +2 -2
  20. package/dist/qtm4j/http/auth-service.js +2 -2
  21. package/dist/reflect/client.js +7 -3
  22. package/dist/reflect/tool/tests/create-segment.js +18 -0
  23. package/dist/reflect/tool/tests/create-test.js +18 -0
  24. package/dist/reflect/tool/tests/definition.js +190 -0
  25. package/dist/swagger/client/api.js +2 -1
  26. package/dist/swagger/client/functional-testing-api.js +193 -42
  27. package/dist/swagger/client/functional-testing-tools.js +50 -2
  28. package/dist/swagger/client/functional-testing-types.js +27 -0
  29. package/dist/swagger/client/portal-types.js +144 -10
  30. package/dist/swagger/client/registry-types.js +60 -1
  31. package/dist/swagger/client/tool-constants.js +20 -0
  32. package/dist/swagger/client/tools.js +87 -29
  33. package/dist/swagger/client/user-management-types.js +14 -0
  34. package/dist/swagger/client.js +24 -2
  35. package/dist/zephyr/common/auth-service.js +2 -2
  36. package/dist/zephyr/common/rest-api-schemas.js +1 -1
  37. package/package.json +3 -1
@@ -1,112 +1,144 @@
1
1
  import { FUNCTIONAL_TESTING_TOOLS } from "./functional-testing-tools.js";
2
- import { CreatePortalArgsSchema, PortalArgsSchema, UpdatePortalArgsSchema, ResolveOrganizationPortalArgsSchema, CreateProductArgsSchema, ProductArgsSchema, UpdateProductArgsSchema, PublishProductArgsSchema, GetProductSectionsArgsSchema, CreateTableOfContentsArgsSchema, GetTableOfContentsArgsSchema, DeleteTableOfContentsArgsSchema, CreateDocumentationPageArgsSchema, GetDocumentArgsSchema, UpdateDocumentArgsSchema } from "./portal-types.js";
3
- import { ApiSearchParamsSchema, ApiDefinitionParamsSchema, CreateApiParamsSchema, ScanStandardizationParamsSchema, ScanApiStandardizationFromRegistryParamsSchema, CreateApiFromPromptParamsSchema, StandardizeApiParamsSchema } from "./registry-types.js";
4
- import { OrganizationsQuerySchema } from "./user-management-types.js";
2
+ import { PortalsListOutputSchema, PortalOutputSchema, CreatePortalArgsSchema, PortalArgsSchema, UpdatePortalArgsSchema, ResolvePortalOutputSchema, ResolveOrganizationPortalArgsSchema, ProductsListOutputSchema, ProductOutputSchema, CreateProductArgsSchema, ProductArgsSchema, DeleteProductOutputSchema, UpdateProductArgsSchema, PublishOutputSchema, PublishProductArgsSchema, SectionsListOutputSchema, GetProductSectionsArgsSchema, CreateTocOutputSchema, CreateTableOfContentsArgsSchema, TocListOutputSchema, GetTableOfContentsArgsSchema, DeleteTableOfContentsOutputSchema, DeleteTableOfContentsArgsSchema, CreateDocPageOutputSchema, CreateDocumentationPageArgsSchema, DocumentOutputSchema, GetDocumentArgsSchema, UpdateDocumentArgsSchema } from "./portal-types.js";
3
+ import { SearchApisOutputSchema, ApiSearchParamsSchema, ApiDefinitionOutputSchema, ApiDefinitionParamsSchema, CreateApiOutputSchema, CreateApiParamsSchema, ScanOutputSchema, ScanStandardizationParamsSchema, ScanFromRegistryOutputSchema, ScanApiStandardizationFromRegistryParamsSchema, CreateApiFromPromptOutputSchema, CreateApiFromPromptParamsSchema, StandardizeOutputSchema, StandardizeApiParamsSchema } from "./registry-types.js";
4
+ import { READ_ONLY, WRITE, WRITE_DESTRUCTIVE } from "./tool-constants.js";
5
+ import { OrganizationsListOutputSchema, OrganizationsQuerySchema } from "./user-management-types.js";
5
6
  const TOOLS = [
6
7
  {
7
8
  title: "List Portals",
8
9
  toolset: "Portals",
9
10
  summary: "Search for available portals within Swagger. Only portals where you have at least a designer role, either at the product level or organization level, are returned.",
10
- handler: "getPortals"
11
+ outputSchema: PortalsListOutputSchema,
12
+ handler: "getPortals",
13
+ ...READ_ONLY
11
14
  },
12
15
  {
13
16
  title: "Create Portal",
14
17
  toolset: "Portals",
15
18
  summary: "Create a new portal within Swagger.",
16
19
  inputSchema: CreatePortalArgsSchema,
17
- handler: "createPortal"
20
+ outputSchema: PortalOutputSchema,
21
+ handler: "createPortal",
22
+ ...WRITE
18
23
  },
19
24
  {
20
25
  title: "Get Portal",
21
26
  toolset: "Portals",
22
27
  summary: "Retrieve information about a specific portal.",
23
28
  inputSchema: PortalArgsSchema,
24
- handler: "getPortal"
29
+ outputSchema: PortalOutputSchema,
30
+ handler: "getPortal",
31
+ ...READ_ONLY
25
32
  },
26
33
  {
27
34
  title: "Update Portal",
28
35
  toolset: "Portals",
29
36
  summary: "Update a specific portal's configuration.",
30
37
  inputSchema: UpdatePortalArgsSchema,
31
- handler: "updatePortal"
38
+ outputSchema: PortalOutputSchema,
39
+ handler: "updatePortal",
40
+ ...WRITE_DESTRUCTIVE
32
41
  },
33
42
  {
34
43
  title: "Resolve Organization Portal",
35
44
  toolset: "Portals",
36
45
  summary: "Resolve portal details for a Swagger organization in a single step. Given an organization UUID, returns the portal ID, subdomain, customDomain (when configured), and the list of products (with productId, productSlug, and productName) for the organization's portal. If the organization has no portal yet, a new portal is created automatically. Use this tool to obtain all portal context needed for subsequent portal and product operations.",
37
46
  inputSchema: ResolveOrganizationPortalArgsSchema,
38
- handler: "resolveOrganizationPortal"
47
+ outputSchema: ResolvePortalOutputSchema,
48
+ handler: "resolveOrganizationPortal",
49
+ ...WRITE
39
50
  },
40
51
  {
41
52
  title: "List Portal Products",
42
53
  toolset: "Products",
43
54
  summary: "Get products for a specific portal that match your criteria.",
44
55
  inputSchema: PortalArgsSchema,
45
- handler: "getPortalProducts"
56
+ outputSchema: ProductsListOutputSchema,
57
+ handler: "getPortalProducts",
58
+ ...READ_ONLY
46
59
  },
47
60
  {
48
61
  title: "Create Portal Product",
49
62
  toolset: "Products",
50
63
  summary: "Create a new product for a specific portal.",
51
64
  inputSchema: CreateProductArgsSchema,
52
- handler: "createPortalProduct"
65
+ outputSchema: ProductOutputSchema,
66
+ handler: "createPortalProduct",
67
+ ...WRITE
53
68
  },
54
69
  {
55
70
  title: "Get Portal Product",
56
71
  toolset: "Products",
57
72
  summary: "Retrieve information about a specific product resource.",
58
73
  inputSchema: ProductArgsSchema,
59
- handler: "getPortalProduct"
74
+ outputSchema: ProductOutputSchema,
75
+ handler: "getPortalProduct",
76
+ ...READ_ONLY
60
77
  },
61
78
  {
62
79
  title: "Delete Portal Product",
63
80
  toolset: "Products",
64
81
  summary: "Delete a product from a specific portal",
65
82
  inputSchema: ProductArgsSchema,
83
+ outputSchema: DeleteProductOutputSchema,
66
84
  handler: "deletePortalProduct",
67
- formatResponse: () => "Product deleted successfully."
85
+ formatResponse: () => ({ message: "Product deleted successfully." }),
86
+ ...WRITE_DESTRUCTIVE
68
87
  },
69
88
  {
70
89
  title: "Update Portal Product",
71
90
  toolset: "Products",
72
91
  summary: "Update a product's settings within a specific portal.",
73
92
  inputSchema: UpdateProductArgsSchema,
74
- handler: "updatePortalProduct"
93
+ outputSchema: ProductOutputSchema,
94
+ handler: "updatePortalProduct",
95
+ ...WRITE_DESTRUCTIVE
75
96
  },
76
97
  {
77
98
  title: "Publish Portal Product",
78
99
  toolset: "Products",
79
100
  summary: "Publish a product's content to make it live or as preview. This endpoint publishes the current content of a product, making it visible to portal visitors. Use preview mode to test before going live. Optionally provide `tableOfContentsId` to get a page-specific URL. Returns publication status, a live or preview URL (null if URL building fails), product and portal metadata, and an optional `warning` when metadata/URL building failed — a warning does NOT mean the publish failed.",
80
101
  inputSchema: PublishProductArgsSchema,
81
- handler: "publishPortalProduct"
102
+ outputSchema: PublishOutputSchema,
103
+ handler: "publishPortalProduct",
104
+ ...WRITE_DESTRUCTIVE
82
105
  },
83
106
  {
84
107
  title: "List Portal Product Sections",
85
108
  toolset: "Sections",
86
109
  summary: "Get sections for a specific product within a portal.",
87
110
  inputSchema: GetProductSectionsArgsSchema,
88
- handler: "getPortalProductSections"
111
+ outputSchema: SectionsListOutputSchema,
112
+ handler: "getPortalProductSections",
113
+ ...READ_ONLY
89
114
  },
90
115
  {
91
116
  title: "Create Table Of Contents",
92
117
  toolset: "Table Of Contents",
93
118
  summary: "Create a new table of contents item in a portal product section. Supports API references, HTML content, and Markdown content types.",
94
119
  inputSchema: CreateTableOfContentsArgsSchema,
95
- handler: "createTableOfContents"
120
+ outputSchema: CreateTocOutputSchema,
121
+ handler: "createTableOfContents",
122
+ ...WRITE
96
123
  },
97
124
  {
98
125
  title: "List Table Of Contents",
99
126
  toolset: "Table Of Contents",
100
127
  summary: "Get table of contents for a section of a product within a portal.",
101
128
  inputSchema: GetTableOfContentsArgsSchema,
102
- handler: "getTableOfContents"
129
+ outputSchema: TocListOutputSchema,
130
+ formatResponse: (result) => ({ items: result }),
131
+ handler: "getTableOfContents",
132
+ ...READ_ONLY
103
133
  },
104
134
  {
105
135
  title: "Delete Table Of Contents",
106
136
  toolset: "Table Of Contents",
107
137
  summary: "Delete table of contents entry. Performs a soft-delete of an entry from the table of contents. Supports recursive deletion of nested items.",
108
138
  inputSchema: DeleteTableOfContentsArgsSchema,
109
- handler: "deleteTableOfContents"
139
+ outputSchema: DeleteTableOfContentsOutputSchema,
140
+ handler: "deleteTableOfContents",
141
+ ...WRITE_DESTRUCTIVE
110
142
  },
111
143
  // Document management tools
112
144
  {
@@ -114,21 +146,27 @@ const TOOLS = [
114
146
  toolset: "Documents",
115
147
  summary: "Create a documentation page in a portal product in a single tool call. Supports markdown and html content types. Returns the page location details (productId, sectionId, slug) and a draftUrl to edit it in the portal.",
116
148
  inputSchema: CreateDocumentationPageArgsSchema,
117
- handler: "createDocumentationPage"
149
+ outputSchema: CreateDocPageOutputSchema,
150
+ handler: "createDocumentationPage",
151
+ ...WRITE
118
152
  },
119
153
  {
120
154
  title: "Get Document",
121
155
  toolset: "Documents",
122
156
  summary: "Get document content and metadata by document ID. Useful for retrieving HTML or Markdown content from table of contents items.",
123
157
  inputSchema: GetDocumentArgsSchema,
124
- handler: "getDocument"
158
+ outputSchema: DocumentOutputSchema,
159
+ handler: "getDocument",
160
+ ...READ_ONLY
125
161
  },
126
162
  {
127
163
  title: "Update Document",
128
164
  toolset: "Documents",
129
165
  summary: "Update the content or source of an existing document. Supports both HTML and Markdown content types.",
130
166
  inputSchema: UpdateDocumentArgsSchema,
131
- handler: "updateDocument"
167
+ outputSchema: DocumentOutputSchema,
168
+ handler: "updateDocument",
169
+ ...WRITE_DESTRUCTIVE
132
170
  },
133
171
  // Registry API tools for SwaggerHub Design functionality
134
172
  {
@@ -136,21 +174,31 @@ const TOOLS = [
136
174
  toolset: "Registry API",
137
175
  summary: "Search for APIs and Domains in SwaggerHub Registry using the comprehensive /specs endpoint and retrieve metadata including owner, name, description, summary, version, and specification.",
138
176
  inputSchema: ApiSearchParamsSchema,
139
- handler: "searchApis"
177
+ outputSchema: SearchApisOutputSchema,
178
+ formatResponse: (result) => ({ items: result }),
179
+ handler: "searchApis",
180
+ ...READ_ONLY
140
181
  },
141
182
  {
142
183
  title: "Get API Definition",
143
184
  toolset: "Registry API",
144
185
  summary: "Fetch resolved API definition from SwaggerHub Registry based on owner, API name, and version.",
145
186
  inputSchema: ApiDefinitionParamsSchema,
146
- handler: "getApiDefinition"
187
+ outputSchema: ApiDefinitionOutputSchema,
188
+ formatResponse: (result) => ({
189
+ definition: typeof result === "string" ? result : JSON.stringify(result, null, 2)
190
+ }),
191
+ handler: "getApiDefinition",
192
+ ...READ_ONLY
147
193
  },
148
194
  {
149
195
  title: "Create or Update API",
150
196
  toolset: "Registry API",
151
197
  summary: "Create a new API or update an existing API in SwaggerHub Registry for Swagger Studio. The API specification type (OpenAPI, AsyncAPI) is automatically detected from the definition content. APIs are always created with fixed values: version 1.0.0, private visibility, and automock disabled (these values cannot be changed). Returns HTTP 201 for creation, HTTP 200 for update. Response includes 'operation' field indicating whether it was a 'create' or 'update' operation along with API details and SwaggerHub URL.",
152
198
  inputSchema: CreateApiParamsSchema,
153
- handler: "createOrUpdateApi"
199
+ outputSchema: CreateApiOutputSchema,
200
+ handler: "createOrUpdateApi",
201
+ ...WRITE_DESTRUCTIVE
154
202
  },
155
203
  // User Management API tools for organization management functionality
156
204
  {
@@ -158,35 +206,45 @@ const TOOLS = [
158
206
  toolset: "Registry API",
159
207
  summary: "Get organizations for a user. Returns a list of organizations that the authenticating user is a member of. On-Premise admin gets a list of all organizations in the system.",
160
208
  inputSchema: OrganizationsQuerySchema,
161
- handler: "getOrganizations"
209
+ outputSchema: OrganizationsListOutputSchema,
210
+ handler: "getOrganizations",
211
+ ...READ_ONLY
162
212
  },
163
213
  {
164
214
  title: "Scan API Standardization",
165
215
  toolset: "Registry API",
166
216
  summary: "Run a standardization scan against an API definition using the organization's governance and standardization rules. Accepts a raw YAML or JSON OpenAPI/AsyncAPI definition and returns a list of validation errors, the total issue count, and counts grouped by severity. Use this tool when the user provides the API definition content directly (as raw YAML or JSON) and asks to validate, scan, or check the governance or standardization of the API.",
167
217
  inputSchema: ScanStandardizationParamsSchema,
168
- handler: "scanStandardization"
218
+ outputSchema: ScanOutputSchema,
219
+ handler: "scanStandardization",
220
+ ...READ_ONLY
169
221
  },
170
222
  {
171
223
  title: "Scan API Standardization from Registry",
172
224
  toolset: "Registry API",
173
225
  summary: "Run a standardization scan on an API that already exists in SwaggerHub Registry, identified by organization name, API name, and version. Fetches the API definition from the registry internally and scans it against the organization's governance and standardization rules. Returns a list of validation errors, total issue count, counts grouped by severity, and a SwaggerHub UI URL for the scanned API. Use this tool when the user identifies the API by org name, API name, and version and asks to validate, scan, or check the governance or standardization of an existing API.",
174
226
  inputSchema: ScanApiStandardizationFromRegistryParamsSchema,
175
- handler: "scanApiStandardizationFromRegistry"
227
+ outputSchema: ScanFromRegistryOutputSchema,
228
+ handler: "scanApiStandardizationFromRegistry",
229
+ ...READ_ONLY
176
230
  },
177
231
  {
178
232
  title: "Create API from Prompt",
179
233
  toolset: "Registry API",
180
234
  summary: "Generate and save an API definition based on a prompt using SmartBear AI. This tool automatically applies organization governance and standardization rules during API generation. The specType parameter determines the format of the generated definition. Use: 'openapi20' for OpenAPI 2.0, 'openapi30x' for OpenAPI 3.0.x, 'openapi31x' for OpenAPI 3.1.x, 'asyncapi2xx' for AsyncAPI 2.x, 'asyncapi30x' for AsyncAPI 3.0.x. Use this tool when creating APIs that comply with governance policies or when generating APIs from natural language descriptions. Use this tool when users ask to create, generate, or design APIs with governance or standardization requirements. Returns HTTP 201 for creation, HTTP 200 for update. Response includes 'operation' field indicating whether it was a 'create' or 'update' operation along with API details and SwaggerHub URL.",
181
235
  inputSchema: CreateApiFromPromptParamsSchema,
182
- handler: "createApiFromPrompt"
236
+ outputSchema: CreateApiFromPromptOutputSchema,
237
+ handler: "createApiFromPrompt",
238
+ ...WRITE_DESTRUCTIVE
183
239
  },
184
240
  {
185
241
  title: "Standardize API",
186
242
  toolset: "Registry API",
187
243
  summary: "Standardize and fix an API definition using AI to ensure compliance with governance policies. Scans the API definition for standardization errors and automatically fixes them using SmartBear AI. Optionally provide 'newVersion' (e.g. patch bump '1.0.0' → '1.0.1') to save the fixed definition as a new version — omitting it will overwrite the current version. Returns the number of errors found and the fixed definition if successful. Use this tool when users ask to standardize, fix, govern, or ensure governance compliance of APIs.",
188
244
  inputSchema: StandardizeApiParamsSchema,
189
- handler: "standardizeApi"
245
+ outputSchema: StandardizeOutputSchema,
246
+ handler: "standardizeApi",
247
+ ...WRITE_DESTRUCTIVE
190
248
  },
191
249
  ...FUNCTIONAL_TESTING_TOOLS
192
250
  ];
@@ -8,6 +8,20 @@ const OrganizationsQuerySchema = z.object({
8
8
  page: z.number().min(0).optional().describe("0-based index of the page to return"),
9
9
  pageSize: z.number().min(1).max(1e3).optional().describe("Number of results per page to return")
10
10
  });
11
+ const OrganizationsListOutputSchema = z.object({
12
+ totalCount: z.number().optional(),
13
+ pageSize: z.number().optional(),
14
+ page: z.number().optional(),
15
+ items: z.array(
16
+ z.looseObject({
17
+ id: z.string().optional(),
18
+ name: z.string().optional(),
19
+ email: z.string().optional(),
20
+ memberCount: z.number().optional()
21
+ })
22
+ ).optional()
23
+ });
11
24
  export {
25
+ OrganizationsListOutputSchema,
12
26
  OrganizationsQuerySchema
13
27
  };
@@ -181,6 +181,22 @@ class SwaggerClient {
181
181
  async getFunctionalTestingExecution(args) {
182
182
  return this.withFunctionalTesting((ftApi) => ftApi.getTestExecution(args));
183
183
  }
184
+ async listFunctionalTestingSuiteExecutions(args) {
185
+ return this.withFunctionalTesting(
186
+ (ftApi) => ftApi.listSuiteExecutions(args)
187
+ );
188
+ }
189
+ async cancelFunctionalTestingSuiteExecution(args) {
190
+ return this.withFunctionalTesting(
191
+ (ftApi) => ftApi.cancelSuiteExecution(args)
192
+ );
193
+ }
194
+ async runFunctionalTestingSuite(args) {
195
+ return this.withFunctionalTesting((ftApi) => ftApi.runSuite(args));
196
+ }
197
+ async getFunctionalTestingSuiteExecution(args) {
198
+ return this.withFunctionalTesting((ftApi) => ftApi.getSuiteExecution(args));
199
+ }
184
200
  /**
185
201
  * Perform an operation with the Functional Testing API.
186
202
  * Throws a ToolError if Functional Testing is not configured
@@ -194,6 +210,9 @@ class SwaggerClient {
194
210
  async listFunctionalTestingSuites() {
195
211
  return this.withFunctionalTesting((ftApi) => ftApi.listSuites());
196
212
  }
213
+ async getFunctionalTestingTestHistory(args) {
214
+ return this.withFunctionalTesting((ftApi) => ftApi.getTestHistory(args));
215
+ }
197
216
  async registerTools(register, _getInput) {
198
217
  TOOLS.forEach((tool) => {
199
218
  if (tool.toolset === "Functional Testing" && !this.ftApi) {
@@ -212,8 +231,10 @@ class SwaggerClient {
212
231
  const result = await handlerFn.call(this, args);
213
232
  const formattedResult = formatResponse ? formatResponse(result) : result;
214
233
  const responseText = typeof formattedResult === "string" ? formattedResult : JSON.stringify(formattedResult);
234
+ const isPlainObject = typeof formattedResult === "object" && formattedResult !== null && !Array.isArray(formattedResult);
215
235
  return {
216
- content: [{ type: "text", text: responseText }]
236
+ content: [{ type: "text", text: responseText }],
237
+ ...isPlainObject && { structuredContent: formattedResult }
217
238
  };
218
239
  } catch (error) {
219
240
  return {
@@ -222,7 +243,8 @@ class SwaggerClient {
222
243
  type: "text",
223
244
  text: `Error: ${error instanceof Error ? error.message : String(error)}`
224
245
  }
225
- ]
246
+ ],
247
+ isError: true
226
248
  };
227
249
  }
228
250
  });
@@ -1,4 +1,4 @@
1
- import { USER_AGENT } from "../../common/info.js";
1
+ import { getUserAgent } from "../../common/info.js";
2
2
  class AuthService {
3
3
  bearerToken;
4
4
  constructor(accessToken) {
@@ -8,7 +8,7 @@ class AuthService {
8
8
  return {
9
9
  Authorization: `Bearer ${this.bearerToken}`,
10
10
  "Content-Type": "application/json",
11
- "User-Agent": USER_AGENT,
11
+ "User-Agent": getUserAgent(),
12
12
  "zscale-source": "smartbear-mcp"
13
13
  };
14
14
  }
@@ -144,7 +144,7 @@ const createTestCaseBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
144
144
  const createTestCaseBodyNameMax = 255;
145
145
  const createTestCaseBodyNameRegExp = /^(?!\\s*$).+/;
146
146
  const createTestCaseBodyEstimatedTimeMin = 0;
147
- const createTestCaseBodyComponentIdMin = 0;
147
+ const createTestCaseBodyComponentIdMin = 1;
148
148
  const createTestCaseBodyPriorityNameMax = 255;
149
149
  const createTestCaseBodyStatusNameMax = 255;
150
150
  const createTestCaseBodyOwnerIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbear/mcp",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "MCP server for interacting SmartBear Products",
5
5
  "keywords": [
6
6
  "smartbear",
@@ -45,6 +45,7 @@
45
45
  "test:coverage": "vitest --coverage",
46
46
  "test:coverage:ci": "vitest --coverage --reporter=verbose",
47
47
  "test:run": "vitest run",
48
+ "test:pact": "vitest run --config vitest.pact.config.ts",
48
49
  "coverage:check": "vitest --coverage --reporter=verbose",
49
50
  "bump": "node scripts/bump.js"
50
51
  },
@@ -60,6 +61,7 @@
60
61
  },
61
62
  "devDependencies": {
62
63
  "@biomejs/biome": "^2.4.8",
64
+ "@pact-foundation/pact": "^17.0.1",
63
65
  "@types/js-yaml": "^4.0.9",
64
66
  "@types/node": "^22.19.15",
65
67
  "@types/ws": "^8.18.1",