@aaa-sentinel/mcp-server 0.19.0 → 0.20.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 (2) hide show
  1. package/dist/cli.js +10 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6088,6 +6088,7 @@ async function apiGet(path, query, config2) {
6088
6088
  function defineTool(def) {
6089
6089
  return def;
6090
6090
  }
6091
+ var FINOPS_CAPABILITIES = ["data_ingestion", "allocation", "reporting_analytics", "anomaly_management", "planning_estimating", "forecasting", "budgeting", "kpis_benchmarking", "unit_economics", "architecting_workload_placement", "usage_optimization", "rate_optimization", "licensing_saas", "sustainability", "executive_strategy_alignment", "finops_practice_operations", "governance_policy_risk", "finops_education_enablement", "invoicing_chargeback", "finops_assessment", "automation_tools_services", "intersecting_disciplines"];
6091
6092
  var SAVINGS_TYPES = ["compute", "storage", "network", "database", "serverless", "governance"];
6092
6093
  var AMOUNTS_NOTE = "Amounts: a field ending in Converted is always in the organization currency (currency.code, approximate) and a field ending in Usd is always USD; quote those, because a bare name such as totalMonthlyCost or savings is USD in some responses and converted in others.";
6093
6094
  var SECURITY_SOURCES = ["own", "corroborated", "securityhub", "guardduty", "defender", "scc"];
@@ -6144,7 +6145,7 @@ var TOOLS = [
6144
6145
  }),
6145
6146
  defineTool({
6146
6147
  name: "list_findings",
6147
- description: `List the waste and risk findings of a scan, each with its severity and estimated monthly saving. This is the tool that answers "where is the money going". estimatedMonthlySavingsUsd is USD; estimatedMonthlySavings and estimatedMonthlySavingsConverted are the same amount in the organization currency. ${AMOUNTS_NOTE} Requires the findings:read scope.`,
6148
+ description: `List the waste and risk findings of a scan, each with its severity and estimated monthly saving. This is the tool that answers "where is the money going". estimatedMonthlySavingsUsd is USD; estimatedMonthlySavings and estimatedMonthlySavingsConverted are the same amount in the organization currency. ${AMOUNTS_NOTE} Each finding carries finops: the FinOps Framework capability and phase (inform, optimize, operate) of its rule, or null. Requires the findings:read scope.`,
6148
6149
  inputSchema: {
6149
6150
  type: "object",
6150
6151
  properties: {
@@ -6152,12 +6153,17 @@ var TOOLS = [
6152
6153
  includeSuppressed: {
6153
6154
  type: "boolean",
6154
6155
  description: "Include findings marked as ignored or false positive. Defaults to false."
6156
+ },
6157
+ capability: {
6158
+ type: "string",
6159
+ enum: [...FINOPS_CAPABILITIES],
6160
+ description: "Only findings of this FinOps Framework capability, e.g. usage_optimization (optional)."
6155
6161
  }
6156
6162
  },
6157
6163
  required: ["scanId"]
6158
6164
  },
6159
- argsSchema: object({ scanId: string2().min(1), includeSuppressed: boolean2().optional() }),
6160
- handler: async ({ scanId, includeSuppressed }, config2) => apiGet(`/v1/scans/${encodeURIComponent(scanId)}/findings`, { includeSuppressed }, config2)
6165
+ argsSchema: object({ scanId: string2().min(1), includeSuppressed: boolean2().optional(), capability: _enum(FINOPS_CAPABILITIES).optional() }),
6166
+ handler: async ({ scanId, includeSuppressed, capability }, config2) => apiGet(`/v1/scans/${encodeURIComponent(scanId)}/findings`, { includeSuppressed, capability }, config2)
6161
6167
  }),
6162
6168
  defineTool({
6163
6169
  name: "get_reports_summary",
@@ -6883,7 +6889,7 @@ function findTool(name) {
6883
6889
 
6884
6890
  // src/protocol.ts
6885
6891
  var SERVER_NAME = "aaa-sentinel-mcp";
6886
- var SERVER_VERSION = "0.19.0";
6892
+ var SERVER_VERSION = "0.20.0";
6887
6893
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6888
6894
  var PARSE_ERROR = -32700;
6889
6895
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.19.0",
3
+ "version": "0.20.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",