@aaa-sentinel/mcp-server 0.21.0 → 0.23.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 +7 -5
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6091,6 +6091,8 @@ function defineTool(def) {
6091
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"];
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
+ 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 (AI explanations are off for the organization, or the model did not answer or its answer was not valid), null is unknown (older scans).";
6094
6096
  var SECURITY_SOURCES = ["own", "corroborated", "securityhub", "guardduty", "defender", "scc"];
6095
6097
  var SECURITY_CATEGORIES = ["security_network", "security_exposure", "security_encryption", "security_iam", "security_logging", "security_secrets", "security_patching", "security_backup", "security_resilience"];
6096
6098
  var AGENT_STATUSES = ["proposed", "pending_approval", "pending_second_approval", "approved", "executing", "completed", "failed", "cancelled", "expired"];
@@ -6123,7 +6125,7 @@ var TOOLS = [
6123
6125
  }),
6124
6126
  defineTool({
6125
6127
  name: "list_scans",
6126
- description: `List the most recent cost scans (up to 20) of a cloud account, each with its monthly cost and potential savings. Here totalMonthlyCost, totalPotentialSavings and costBreakdownByService are USD; totalMonthlyCostConverted, totalPotentialSavingsConverted and costBreakdownByServiceConverted are the same amounts in the organization currency, converted at today's rate even for old scans. ${AMOUNTS_NOTE} Requires the scans:read scope.`,
6128
+ description: `List the most recent cost scans (up to 20) of a cloud account, each with its monthly cost and potential savings. Here totalMonthlyCost, totalPotentialSavings and costBreakdownByService are USD; totalMonthlyCostConverted, totalPotentialSavingsConverted and costBreakdownByServiceConverted are the same amounts in the organization currency, converted at today's rate even for old scans. ${AI_TEXT_NOTE} ${AI_SOURCE_NOTE} ${AMOUNTS_NOTE} Requires the scans:read scope.`,
6127
6129
  inputSchema: {
6128
6130
  type: "object",
6129
6131
  properties: { accountId: { type: "string", description: "Account identifier, as returned by list_accounts." } },
@@ -6134,7 +6136,7 @@ var TOOLS = [
6134
6136
  }),
6135
6137
  defineTool({
6136
6138
  name: "get_scan",
6137
- description: `Get the full detail of a single scan by its id. Bare amounts of the scan (totalMonthlyCost, previousCost, the pricingAnalysis figures such as totalSavingsMonthly or savings1yr) are USD with a Converted sibling in the organization currency (totalMonthlyCostConverted, totalSavingsMonthlyConverted...); listPricesApplied[].usd is USD only. ${AMOUNTS_NOTE} Requires the scans:read scope.`,
6139
+ description: `Get the full detail of a single scan by its id. Bare amounts of the scan (totalMonthlyCost, previousCost, the pricingAnalysis figures such as totalSavingsMonthly or savings1yr) are USD with a Converted sibling in the organization currency (totalMonthlyCostConverted, totalSavingsMonthlyConverted...); listPricesApplied[].usd is USD only. ${AI_TEXT_NOTE} ${AI_SOURCE_NOTE} ${AMOUNTS_NOTE} Requires the scans:read scope.`,
6138
6140
  inputSchema: {
6139
6141
  type: "object",
6140
6142
  properties: { scanId: { type: "string", description: "Scan identifier, as returned by list_scans." } },
@@ -6272,7 +6274,7 @@ var TOOLS = [
6272
6274
  }),
6273
6275
  defineTool({
6274
6276
  name: "list_security_findings",
6275
- description: 'List the security findings of the latest security scan of one account (up to 500, most severe first), with attack chains and a diff against the previous scan. Use category "security_iam" for the permissions view: effective administrators, unused identities, keys and service accounts, granted permissions that are not used, and assignments to deleted identities. Each finding may carry resourceCost, and the response exposedCost (what the account pays per month in resources with critical or high findings): both are estimates from the latest cost scan of at most 14 days (list price or what the resource was billed), absent when there is no cost data; in each, monthlyUsd is USD and monthly the same amount in the organization currency (currency.code, approximate) at the rate of its costScannedAt, and attributionSummary has exposedMonthlyUsd (USD) and exposedMonthly (organization currency). Each finding may also carry attribution (the Owner, Team and CostCenter tags of its resource; unowned when its tags were read and it has neither Owner nor Team; absent when its tags were not read), and the response attributionSummary (findings and exposed cost by team and by cost center); critical findings without an owner come first among the critical ones. Requires the security:read scope, the Pro plan and the risk and compliance add-on on that account.',
6277
+ description: `List the security findings of the latest security scan of one account (up to 500, most severe first), with attack chains and a diff against the previous scan. Use category "security_iam" for the permissions view: effective administrators, unused identities, keys and service accounts, granted permissions that are not used, and assignments to deleted identities. Each finding may carry resourceCost, and the response exposedCost (what the account pays per month in resources with critical or high findings): both are estimates from the latest cost scan of at most 14 days (list price or what the resource was billed), absent when there is no cost data; in each, monthlyUsd is USD and monthly the same amount in the organization currency (currency.code, approximate) at the rate of its costScannedAt, and attributionSummary has exposedMonthlyUsd (USD) and exposedMonthly (organization currency). Each finding may also carry attribution (the Owner, Team and CostCenter tags of its resource; unowned when its tags were read and it has neither Owner nor Team; absent when its tags were not read), and the response attributionSummary (findings and exposed cost by team and by cost center); critical findings without an owner come first among the critical ones. ${AI_TEXT_NOTE} Here explanation (what, why, how, risk) is always AI-generated. Requires the security:read scope, the Pro plan and the risk and compliance add-on on that account.`,
6276
6278
  inputSchema: {
6277
6279
  type: "object",
6278
6280
  properties: {
@@ -6382,7 +6384,7 @@ var TOOLS = [
6382
6384
  }),
6383
6385
  defineTool({
6384
6386
  name: "get_compliance_questionnaire",
6385
- description: "Get one compliance questionnaire with its questions in order: answer, state (empty, draft or approved), origin (person, library or ai), approvedBy/approvedAt, comment, evidenceDocIds (documents of the evidence archive) and evidenceChanged (an approved answer whose platform evidence changed since). Template questions have text null: they are identified by section (the measure code of the templateId framework, for example ENS op.ext.1) and bankQuestionId (the platform check), and textOverride is the team wording if any. evidenceByCheck gives, once per check, what the scans of the accounts with the add-on say or a platform fact. A measure is asked check by check only when the platform answers all its checks; otherwise it is asked as the measure (bankQuestionId null) and measureChecks lists, per measure code, the checks (scan or platform facts) that back it, with their data in evidenceByCheck; the answer still comes from the team. Questionnaires created earlier may still have one question per check, linked through bankQuestionId. A draft with libraryFrom comes from an answer approved for an equivalent measure of another framework; one with similarTo, from the approved answer of a similar question. Never present a draft as an approved answer. A questionnaire with hundreds of questions can return several megabytes, so call it for one questionnaire at a time. Requires the security:read scope and the Pro plan or above.",
6387
+ description: "Get one compliance questionnaire with its questions in order: answer, state (empty, draft or approved), origin (person, library or ai), approvedBy/approvedAt, comment, evidenceDocIds (documents of the evidence archive) and evidenceChanged (an approved answer whose platform evidence changed since). Template questions have text null: they are identified by section (the measure code of the templateId framework, for example ENS op.ext.1) and bankQuestionId (the platform check), and textOverride is the team wording if any. evidenceByCheck gives, once per check, what the scans of the accounts with the add-on say or a platform fact. A measure is asked check by check only when the platform answers all its checks; otherwise it is asked as the measure (bankQuestionId null) and measureChecks lists, per measure code, the checks (scan or platform facts) that back it, with their data in evidenceByCheck; the answer still comes from the team. Questionnaires created earlier may still have one question per check, linked through bankQuestionId. A draft with libraryFrom comes from an answer approved for an equivalent measure of another framework; one with similarTo, from the approved answer of a similar question. Never present a draft as an approved answer, and say that a draft with origin ai was written by AI and may contain mistakes. A questionnaire with hundreds of questions can return several megabytes, so call it for one questionnaire at a time. Requires the security:read scope and the Pro plan or above.",
6386
6388
  inputSchema: objectWith(
6387
6389
  { questionnaireId: { type: "string", description: "Questionnaire identifier, as returned by list_compliance_questionnaires." } },
6388
6390
  ["questionnaireId"]
@@ -6899,7 +6901,7 @@ function findTool(name) {
6899
6901
 
6900
6902
  // src/protocol.ts
6901
6903
  var SERVER_NAME = "aaa-sentinel-mcp";
6902
- var SERVER_VERSION = "0.21.0";
6904
+ var SERVER_VERSION = "0.23.0";
6903
6905
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6904
6906
  var PARSE_ERROR = -32700;
6905
6907
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.21.0",
3
+ "version": "0.23.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",