@aaa-sentinel/mcp-server 0.4.0 → 0.5.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 +1 -0
- package/dist/cli.js +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,6 +117,7 @@ status as plain JSON.
|
|
|
117
117
|
| `get_cost_by_tags` | `accountId` | `reports:read` | Pro |
|
|
118
118
|
| `get_multicloud_report` | — | `reports:read` | Pro |
|
|
119
119
|
| `list_alerts` | `limit?` | `alerts:read` | Pro |
|
|
120
|
+
| `get_alert_policies` | `clientId?`, `accountId?` | `alerts:read` | Pro |
|
|
120
121
|
| `list_disabled_rules` | — | `rules:read` | Pro |
|
|
121
122
|
| `list_business_metrics` | — | `metrics:read` | Business |
|
|
122
123
|
| `get_metric_values` | `metricId`, `billingPeriod` | `metrics:read` | Business |
|
package/dist/cli.js
CHANGED
|
@@ -4420,6 +4420,13 @@ var TOOLS = [
|
|
|
4420
4420
|
argsSchema: external_exports.object({ limit: external_exports.number().int().min(1).max(100).optional() }),
|
|
4421
4421
|
handler: async ({ limit }, config) => apiGet("/v1/alerts", { limit: asText(limit) }, config)
|
|
4422
4422
|
}),
|
|
4423
|
+
defineTool({
|
|
4424
|
+
name: "get_alert_policies",
|
|
4425
|
+
description: "Get the alert policy in force for each source (cost, security, monitoring) at the organization, a managed client or an account, plus what that level sets itself: minimum severity, quiet hours, maintenance windows and escalation, the filters that decide whether an alert goes out. `channels` only limits delivery to the channels configured for the level, which this tool does not show. Pass clientId or accountId, not both; the organization and client levels need a token that sees the whole organization. Requires the alerts:read scope.",
|
|
4426
|
+
inputSchema: objectWith({ clientId: CLIENT_ID, accountId: ACCOUNT_ID }),
|
|
4427
|
+
argsSchema: external_exports.object({ clientId: external_exports.string().min(1).optional(), accountId: external_exports.string().min(1).optional() }),
|
|
4428
|
+
handler: async ({ clientId: clientId2, accountId }, config) => apiGet("/v1/alerts/policies", { clientId: clientId2, accountId }, config)
|
|
4429
|
+
}),
|
|
4423
4430
|
defineTool({
|
|
4424
4431
|
name: "list_disabled_rules",
|
|
4425
4432
|
description: 'List the detection rules the customer has turned off, so you can tell "nothing found" apart from "that check is disabled". Requires the rules:read scope.',
|
|
@@ -4706,7 +4713,7 @@ function findTool(name) {
|
|
|
4706
4713
|
|
|
4707
4714
|
// src/protocol.ts
|
|
4708
4715
|
var SERVER_NAME = "aaa-sentinel-mcp";
|
|
4709
|
-
var SERVER_VERSION = "0.
|
|
4716
|
+
var SERVER_VERSION = "0.5.0";
|
|
4710
4717
|
var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
4711
4718
|
var PARSE_ERROR = -32700;
|
|
4712
4719
|
var INVALID_REQUEST = -32600;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aaa-sentinel/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.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",
|