@aaa-sentinel/mcp-server 0.27.0 → 0.28.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 CHANGED
@@ -153,7 +153,7 @@ status as plain JSON.
153
153
  | `list_monitoring_services` | — | `monitoring:read` | Pro |
154
154
  | `get_monitoring_service` | `serviceId` | `monitoring:read` | Pro |
155
155
  | `get_service_history` | `serviceId`, `limit?` | `monitoring:read` | Pro |
156
- | `list_monitoring_incidents` | `state?`, `monitorId?`, `limit?`, `before?` | `monitoring:read` | Pro |
156
+ | `list_monitoring_incidents` | `state?`, `monitorId?`, `severity?`, `limit?`, `before?` | `monitoring:read` | Pro |
157
157
  | `get_monitoring_incident` | `incidentId` | `monitoring:read` | Pro |
158
158
  | `list_status_pages` | — | `monitoring:read` | Pro |
159
159
  | `get_status_page` | `pageId` | `monitoring:read` | Pro |
package/dist/cli.js CHANGED
@@ -6769,20 +6769,22 @@ var TOOLS = [
6769
6769
  }),
6770
6770
  defineTool({
6771
6771
  name: "list_monitoring_incidents",
6772
- description: 'List monitoring incidents (each alerted outage, from when it started until it recovered), newest first, with duration, who acknowledged it and what it cost: the business impact per minute set on the monitor and, for cloud resources, an approximate cloud cost. impact.amount, impact.perMinute.amount and cloudCost.amount are in the organization currency when they could be converted and otherwise stay in the currency set on the monitor or billed (impact.original keeps the configured amount): read the "currency" next to each amount; nothing here ends in Usd. This answers "what is on fire and who is on it". Filter by state (open or resolved) or monitor. Paginated: pass the returned "nextCursor" as "before"; a page can come back short or empty with a cursor. Requires the monitoring:read scope and the Pro plan or above.',
6772
+ description: 'List monitoring incidents (each alerted outage, from when it started until it recovered), newest first, with duration, who acknowledged it and what it cost: the business impact per minute set on the monitor and, for cloud resources, an approximate cloud cost. impact.amount, impact.perMinute.amount and cloudCost.amount are in the organization currency when they could be converted and otherwise stay in the currency set on the monitor or billed (impact.original keeps the configured amount): read the "currency" next to each amount; nothing here ends in Usd. This answers "what is on fire and who is on it". Filter by state (open or resolved), monitor or severity (the one the monitor had when the incident opened). Paginated: pass the returned "nextCursor" as "before"; a page can come back short or empty with a cursor. Requires the monitoring:read scope and the Pro plan or above.',
6773
6773
  inputSchema: objectWith({
6774
6774
  state: { type: "string", enum: ["open", "resolved"], description: "Only open or only resolved incidents (optional)." },
6775
6775
  monitorId: { ...MONITOR_ID, description: "Only the incidents of this monitor (optional)." },
6776
+ severity: { type: "string", enum: ["critical", "high", "medium", "low"], description: "Only incidents of this severity (optional)." },
6776
6777
  limit: { type: "integer", minimum: 1, maximum: 200, description: "Page size (default 50)." },
6777
6778
  before: { type: "string", description: 'The "nextCursor" value of the previous page (optional).' }
6778
6779
  }),
6779
6780
  argsSchema: object({
6780
6781
  state: _enum(["open", "resolved"]).optional(),
6781
6782
  monitorId: string2().min(1).optional(),
6783
+ severity: _enum(["critical", "high", "medium", "low"]).optional(),
6782
6784
  limit: number2().int().min(1).max(200).optional(),
6783
6785
  before: string2().min(1).optional()
6784
6786
  }),
6785
- handler: async ({ state, monitorId, limit, before }, config2) => apiGet("/v1/monitoring/incidents", { state, monitorId, limit: asText(limit), before }, config2)
6787
+ handler: async ({ state, monitorId, severity, limit, before }, config2) => apiGet("/v1/monitoring/incidents", { state, monitorId, severity, limit: asText(limit), before }, config2)
6786
6788
  }),
6787
6789
  defineTool({
6788
6790
  name: "get_monitoring_incident",
@@ -6949,7 +6951,7 @@ function findTool(name) {
6949
6951
 
6950
6952
  // src/protocol.ts
6951
6953
  var SERVER_NAME = "aaa-sentinel-mcp";
6952
- var SERVER_VERSION = "0.27.0";
6954
+ var SERVER_VERSION = "0.28.0";
6953
6955
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6954
6956
  var PARSE_ERROR = -32700;
6955
6957
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Read-only MCP server for AAA Sentinel: query cloud costs, savings, security posture, AI spend, uptime monitoring, the remediation agent and managed clients from an AI assistant",
5
5
  "license": "MIT",
6
6
  "type": "module",