@testomatio/mcp 2.2.0-beta.3 → 2.2.0-beta.4

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 CHANGED
@@ -322,6 +322,9 @@ Included tools:
322
322
 
323
323
  - `analytics_tests` - `GET /api/v2/{project_id}/analytics/tests/{kind}`
324
324
  - `analytics_stats` - `GET /api/v2/{project_id}/analytics/stats/{kind}`
325
+ - `analytics_charts_list` - `GET /api/v2/{project_id}/analytics/charts`
326
+ - `analytics_charts_get` - `GET /api/v2/{project_id}/analytics/charts/{id}`
327
+ - `analytics_charts_results` - `GET /api/v2/{project_id}/analytics/charts/{id}/result`
325
328
 
326
329
  Analytics endpoints require the `api_analytics` subscription feature. Use `q` as the TQL filter parameter for analytics tools.
327
330
 
@@ -353,3 +356,19 @@ Example `analytics_stats` call:
353
356
  }
354
357
  }
355
358
  ```
359
+
360
+ `analytics_charts_get` returns a chart definition with its TQL queries; `analytics_charts_results`
361
+ returns per-query totals or the matching tests/runs of one query (by its zero-based `number`).
362
+
363
+ Example `analytics_charts_results` call:
364
+
365
+ ```json
366
+ {
367
+ "name": "analytics_charts_results",
368
+ "arguments": {
369
+ "chart_id": "abc123",
370
+ "number": 2,
371
+ "per_page": 50
372
+ }
373
+ }
374
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/mcp",
3
- "version": "2.2.0-beta.3",
3
+ "version": "2.2.0-beta.4",
4
4
  "description": "Model Context Protocol server for Testomatio API",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -18,6 +18,8 @@ const HEAVY_FIELDS_BY_ENTITY = {
18
18
  plans: new Set(['description']),
19
19
  requirements: new Set(['description']),
20
20
  analytics_tests: new Set(['description', 'code', 'cleanTitle', 'publicTitle']),
21
+ analytics_charts: new Set(['description']),
22
+ analytics_chart_results: new Set(['description', 'code', 'cleanTitle', 'publicTitle']),
21
23
  };
22
24
 
23
25
  function isNullish(value) {