@aaa-sentinel/mcp-server 0.22.0 → 0.24.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
@@ -96,6 +96,7 @@ status as plain JSON.
96
96
  | `list_findings` | `scanId`, `includeSuppressed?` | `findings:read` | Pro |
97
97
  | `get_reports_summary` | `accountId?` | `reports:read` | Pro |
98
98
  | `list_finops_kpis` | `accountId?` | `reports:read` | Pro |
99
+ | `list_focus_exports` | — | `reports:read` | Business |
99
100
  | `list_savings` | `accountId?`, `type?` | `savings:read` | Pro |
100
101
  | `get_chargeback` | `clientId?`, `view?`, `period?` | `reports:read` | Business |
101
102
  | `get_dashboard` | `accountId?` | `dashboard:read` | Pro |
package/dist/cli.js CHANGED
@@ -6092,7 +6092,7 @@ var FINOPS_CAPABILITIES = ["data_ingestion", "allocation", "reporting_analytics"
6092
6092
  var SAVINGS_TYPES = ["compute", "storage", "network", "database", "serverless", "governance"];
6093
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.";
6094
6094
  var AI_TEXT_NOTE = "Some text fields are written by an AI model; when you quote or summarize them, tell the user they are AI-generated and may contain mistakes.";
6095
- var AI_SOURCE_NOTE = "Here aiSource says who wrote aiExecutiveSummary, aiNarrative and aiTopActionItems: ai is AI-generated, template is a fixed template filled with scan data without AI (the model did not answer or its answer was not valid), null is unknown (older scans).";
6095
+ var AI_SOURCE_NOTE = "Here aiSource says who wrote aiExecutiveSummary, aiNarrative and aiTopActionItems: ai is AI-generated, template is a fixed template filled with scan data without AI (AI explanations are off for the organization, or the model did not answer or its answer was not valid), null is unknown (older scans).";
6096
6096
  var SECURITY_SOURCES = ["own", "corroborated", "securityhub", "guardduty", "defender", "scc"];
6097
6097
  var SECURITY_CATEGORIES = ["security_network", "security_exposure", "security_encryption", "security_iam", "security_logging", "security_secrets", "security_patching", "security_backup", "security_resilience"];
6098
6098
  var AGENT_STATUSES = ["proposed", "pending_approval", "pending_second_approval", "approved", "executing", "completed", "failed", "cancelled", "expired"];
@@ -6177,6 +6177,13 @@ var TOOLS = [
6177
6177
  argsSchema: object({ accountId: string2().min(1).optional() }),
6178
6178
  handler: async ({ accountId }, config2) => apiGet("/v1/finops/kpis", { accountId }, config2)
6179
6179
  }),
6180
+ defineTool({
6181
+ name: "list_focus_exports",
6182
+ description: "List the FOCUS 1.2 exports of the organization still kept for download (deleted 3 to 4 days after the request), with the status of each account or AI connection (pending, ok, partial when limits cut the month, error with its code), plus the export schema: the 57 FOCUS 1.2 columns and the custom x_ columns with their data type. It does not return download links: exports are requested and downloaded in the console. Requires the reports:read scope and the Business plan.",
6183
+ inputSchema: { type: "object", properties: {} },
6184
+ argsSchema: object({}),
6185
+ handler: async (_args, config2) => apiGet("/v1/finops/focus/exports", void 0, config2)
6186
+ }),
6180
6187
  defineTool({
6181
6188
  name: "get_reports_summary",
6182
6189
  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.`,
@@ -6901,7 +6908,7 @@ function findTool(name) {
6901
6908
 
6902
6909
  // src/protocol.ts
6903
6910
  var SERVER_NAME = "aaa-sentinel-mcp";
6904
- var SERVER_VERSION = "0.22.0";
6911
+ var SERVER_VERSION = "0.24.0";
6905
6912
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6906
6913
  var PARSE_ERROR = -32700;
6907
6914
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.22.0",
3
+ "version": "0.24.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",