@browserstack/mcp-server 1.5.0-beta.3 → 1.5.0-beta.5

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.
@@ -329,11 +329,17 @@
329
329
  "name": "hadSlaBreach",
330
330
  "type": "boolean",
331
331
  "description": "Filter to runs that did / did not breach SLA."
332
+ },
333
+ {
334
+ "name": "tag",
335
+ "type": "string",
336
+ "description": "Filter to runs carrying this tag (a run's own tags, or the tags it inherits from its test when it has none of its own)."
332
337
  }
333
338
  ],
334
339
  "intent": "List the execution history across every load test in a project — newest first, paginated. Use for 'what ran last week in this project?' or to find runs across tests to compare.",
335
340
  "guidance": [
336
341
  "Returns run metadata only, not metrics — use getLoadTestRunReport for a run's KPIs.",
342
+ "Each run carries a tags array — its own run-level tags if set (via updateLoadTest with runId), otherwise the tags inherited from its test. Filter with the tag query param.",
337
343
  "Page with cursor + limit; nextCursor is opaque.",
338
344
  "For a single test's history use /loadTests/{testId}/runs; for currently-live runs use /loadTests/runs/active.",
339
345
  "One call returns the page of run history — reuse it for follow-ups and page with cursor only when more rows are needed; do not re-list the same window."
@@ -388,12 +394,18 @@
388
394
  "name": "userId",
389
395
  "type": "integer",
390
396
  "description": "Restrict to runs started by a user."
397
+ },
398
+ {
399
+ "name": "tag",
400
+ "type": "string",
401
+ "description": "Filter to runs carrying this tag (a run's own tags, or the tags it inherits from its test when it has none of its own)."
391
402
  }
392
403
  ],
393
404
  "intent": "List load-test runs currently executing — use this for 'what's running right now?' or to find a runId to stop or monitor.",
394
405
  "guidance": [
395
406
  "Returns non-terminal runs across the account.",
396
407
  "runId here is the UUID needed by getLoadTestRunStatus and stopLoadTestRun.",
408
+ "Each run carries a tags array — its own run-level tags if set, otherwise the tags inherited from its test. Filter with the tag query param.",
397
409
  "vuHoursBurnedSoFar reflects consumption at the moment of the call."
398
410
  ],
399
411
  "returns": [
@@ -1104,11 +1116,17 @@
1104
1116
  "name": "hadSlaBreach",
1105
1117
  "type": "boolean",
1106
1118
  "description": "Only runs that breached an SLA."
1119
+ },
1120
+ {
1121
+ "name": "tag",
1122
+ "type": "string",
1123
+ "description": "Filter to runs carrying this tag (a run's own tags, or the tags it inherits from the test when it has none of its own)."
1107
1124
  }
1108
1125
  ],
1109
1126
  "intent": "List the execution history of a test — use this to find past runs of a specific test or to get a runId.",
1110
1127
  "guidance": [
1111
1128
  "testId is numeric; runId values returned are UUIDs.",
1129
+ "Each run carries a tags array — its own run-level tags if set (via updateLoadTest with runId), otherwise the tags inherited from the test. Filter with the tag query param.",
1112
1130
  "Filter with status / verdict / date range; page with cursor + limit.",
1113
1131
  "One call returns this test's run history — reuse it and page with cursor when needed; do not re-list the same window."
1114
1132
  ],
@@ -1303,14 +1321,20 @@
1303
1321
  "type": "string"
1304
1322
  }
1305
1323
  ]
1324
+ },
1325
+ {
1326
+ "name": "runId",
1327
+ "type": "string",
1328
+ "description": "Tag a specific RUN instead of the test definition. When set, config.tags is applied to that run's own tags (the saved test is NOT changed); only config.tags may accompany runId. Omit it to edit the test."
1306
1329
  }
1307
1330
  ],
1308
- "intent": "Update an existing load test's name or configuration — use this to change tags, SLA thresholds, script or settings.",
1331
+ "intent": "Update an existing load test's name or configuration — use this to change tags, SLA thresholds, script or settings; also tags a specific run when runId is set.",
1309
1332
  "guidance": [
1310
1333
  "Partial update: send only the fields to change.",
1311
1334
  "Pass ifVersion for optimistic concurrency; a stale value returns 409 VERSION_CONFLICT.",
1312
1335
  "Script replacement uses the same two-phase pendingScriptUpload flow as create.",
1313
1336
  "config is a partial update, but each field it carries REPLACES that field wholesale — it does not merge. tags overwrites the entire tag set; it does not append. To add a tag to a test (or the same tag across several tests), getLoadTest each one first and send the union under config.tags.",
1337
+ "To tag a specific RUN rather than the test, pass runId (a run UUID from listLoadTestRuns) together with config.tags — the tags apply to that one run and the saved test is untouched. A run inherits the test's tags until you set its own; setting run tags overrides (they also replace wholesale, so send the union to add). Omit runId to tag the test itself.",
1314
1338
  "Tags live on the load test, not on its runs — there is no per-run tagging, so do not touch runs when asked to tag a test. To tag every test in a project, list them with listLoadTests and page through with cursor until hasMore is false, then updateLoadTest each one — do not stop after the first page or a subset."
1315
1339
  ],
1316
1340
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserstack/mcp-server",
3
- "version": "1.5.0-beta.3",
3
+ "version": "1.5.0-beta.5",
4
4
  "description": "BrowserStack's Official MCP Server",
5
5
  "mcpName": "io.github.browserstack/mcp-server",
6
6
  "main": "dist/index.js",