@aaa-sentinel/mcp-server 0.20.0 → 0.21.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 (3) hide show
  1. package/README.md +1 -0
  2. package/dist/cli.js +11 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -95,6 +95,7 @@ status as plain JSON.
95
95
  | `get_scan` | `scanId` | `scans:read` | Pro |
96
96
  | `list_findings` | `scanId`, `includeSuppressed?` | `findings:read` | Pro |
97
97
  | `get_reports_summary` | `accountId?` | `reports:read` | Pro |
98
+ | `list_finops_kpis` | `accountId?` | `reports:read` | Pro |
98
99
  | `list_savings` | `accountId?`, `type?` | `savings:read` | Pro |
99
100
  | `get_chargeback` | `clientId?`, `view?`, `period?` | `reports:read` | Business |
100
101
  | `get_dashboard` | `accountId?` | `dashboard:read` | Pro |
package/dist/cli.js CHANGED
@@ -6165,6 +6165,16 @@ var TOOLS = [
6165
6165
  argsSchema: object({ scanId: string2().min(1), includeSuppressed: boolean2().optional(), capability: _enum(FINOPS_CAPABILITIES).optional() }),
6166
6166
  handler: async ({ scanId, includeSuppressed, capability }, config2) => apiGet(`/v1/scans/${encodeURIComponent(scanId)}/findings`, { includeSuppressed, capability }, config2)
6167
6167
  }),
6168
+ defineTool({
6169
+ name: "list_finops_kpis",
6170
+ description: "List the FinOps KPIs whose formula the FinOps Foundation publishes (allocated and unallocated spend, Savings Plans coverage, commitment utilization and waste, effective savings rate option 2, forecast variance and drift) for the last 12 closed months, each with its latest value, its series and, when the Foundation publishes sample goals, the Crawl/Walk/Run level. Values are percentages; numeratorUsd and denominatorUsd are USD and numerator and denominator the same amounts in the organization currency; value is null when there is no data, never 0. Requires the reports:read scope and the Pro plan or above.",
6171
+ inputSchema: {
6172
+ type: "object",
6173
+ properties: { accountId: { type: "string", description: "Restrict the KPIs to one account (optional)." } }
6174
+ },
6175
+ argsSchema: object({ accountId: string2().min(1).optional() }),
6176
+ handler: async ({ accountId }, config2) => apiGet("/v1/finops/kpis", { accountId }, config2)
6177
+ }),
6168
6178
  defineTool({
6169
6179
  name: "get_reports_summary",
6170
6180
  description: `Get an aggregated summary of monthly cost, potential savings, accounts scanned and critical findings, optionally for a single account. totalSavingsUsd is open findings (findingsSavingsUsd) plus what reservations and rightsizing add without counting an instance twice (pricingSavingsUsd), the figure the app shows. ${AMOUNTS_NOTE} Requires the reports:read scope and the Pro plan or above.`,
@@ -6889,7 +6899,7 @@ function findTool(name) {
6889
6899
 
6890
6900
  // src/protocol.ts
6891
6901
  var SERVER_NAME = "aaa-sentinel-mcp";
6892
- var SERVER_VERSION = "0.20.0";
6902
+ var SERVER_VERSION = "0.21.0";
6893
6903
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6894
6904
  var PARSE_ERROR = -32700;
6895
6905
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.20.0",
3
+ "version": "0.21.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",