@aaa-sentinel/mcp-server 0.15.3 → 0.16.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 +10 -3
  3. package/package.json +45 -45
package/README.md CHANGED
@@ -108,6 +108,7 @@ status as plain JSON.
108
108
  | `get_security_tool_spend` | `accountId` | `security:read` | Pro + risk and compliance add-on |
109
109
  | `get_security_conformance` | `accountId` or `clientId` | `security:read` | Pro + risk and compliance add-on |
110
110
  | `get_security_posture_history` | `accountId` or `clientId`, `days?` | `security:read` | Pro + risk and compliance add-on |
111
+ | `get_security_pillars` | `accountId` | `findings:read` | Pro (security and reliability counts need the risk and compliance add-on) |
111
112
  | `list_compliance_questionnaires` | — | `security:read` | Pro |
112
113
  | `get_compliance_questionnaire` | `questionnaireId` | `security:read` | Pro |
113
114
  | `list_questionnaire_answer_library` | — | `security:read` | Pro |
package/dist/cli.js CHANGED
@@ -6090,7 +6090,7 @@ function defineTool(def) {
6090
6090
  }
6091
6091
  var SAVINGS_TYPES = ["compute", "storage", "network", "database", "serverless", "governance"];
6092
6092
  var SECURITY_SOURCES = ["own", "corroborated", "securityhub", "guardduty", "defender", "scc"];
6093
- var SECURITY_CATEGORIES = ["security_network", "security_exposure", "security_encryption", "security_iam", "security_logging", "security_secrets", "security_patching", "security_backup"];
6093
+ var SECURITY_CATEGORIES = ["security_network", "security_exposure", "security_encryption", "security_iam", "security_logging", "security_secrets", "security_patching", "security_backup", "security_resilience"];
6094
6094
  var AGENT_STATUSES = ["proposed", "pending_approval", "pending_second_approval", "approved", "executing", "completed", "failed", "cancelled", "expired"];
6095
6095
  var LEASE_ENV_PATTERN = "^[a-z0-9][a-z0-9._-]{0,62}$";
6096
6096
  var LEASE_ENV_RE = new RegExp(LEASE_ENV_PATTERN);
@@ -6348,6 +6348,13 @@ var TOOLS = [
6348
6348
  }),
6349
6349
  handler: async ({ accountId, clientId: clientId2, days }, config2) => apiGet("/v1/security/posture-history", { accountId, clientId: clientId2, days: days === void 0 ? void 0 : String(days) }, config2)
6350
6350
  }),
6351
+ defineTool({
6352
+ name: "get_security_pillars",
6353
+ description: "Get the pillar review of one account: what the platform checks there, grouped by the six pillars of the AWS Well-Architected Framework (operational_excellence, security, reliability, performance_efficiency, cost_optimization, sustainability). It is not the official AWS Well-Architected Review and does not replace one. Counts only, no score: for each pillar, security (posture rules; null without the risk and compliance add-on or without the security:read scope) and cost (cost rules for the account plan, without the ones the organization turned off), each with total, passing, withFindings and unread (not read or only partly read). Accepted risks do not count as findings. A scan older than 14 days, a capped or cut read, or a scan that does not confirm every rule never marks rules as passing: they count as unread, and securityStatus and costStatus say why (ok, partial, stale, not_scanned, unavailable; security also no_addon, no_permission). performance_efficiency only has the rightsizing rules it shares with cost (sharedWithCost). Every pillar also lists capabilities (what the platform adds without being an account rule) and notChecked (what the pillar asks for and the platform does not check), as stable ids. When describing the result, mention what is not checked: sustainability is not checked at all. Requires the findings:read scope.",
6354
+ inputSchema: objectWith({ accountId: { type: "string", description: "Account identifier." } }, ["accountId"]),
6355
+ argsSchema: object({ accountId: string2().min(1) }),
6356
+ handler: async ({ accountId }, config2) => apiGet("/v1/security/pillars", { accountId }, config2)
6357
+ }),
6351
6358
  // ── Cuestionarios de cumplimiento y evidencias (solo lectura) ─────────────
6352
6359
  defineTool({
6353
6360
  name: "list_compliance_questionnaires",
@@ -6781,7 +6788,7 @@ var TOOLS = [
6781
6788
  // ── Presupuestos ───────────────────────────────────────────
6782
6789
  defineTool({
6783
6790
  name: "list_budgets",
6784
- description: `List the organization's cloud budgets with their status this month: monthly amount and currency, scope (whole organization, one account, or one billing service), spend so far, the month at the current pace ("forecast"), percent used and state (ok, warning, over, no_data, estimated). Spend comes from the daily cost scan; amounts are in the budget currency and "approximate" is true when they were converted from USD. Use it to answer "are we within budget this month". Requires the budgets:read scope.`,
6791
+ description: `List the organization's cloud budgets with their status this month: monthly amount and currency, scope (whole organization, one account, one billing service, or one MSP client with all its accounts), spend so far, the month at the current pace ("forecast"), percent used and state (ok, warning, over, no_data, estimated). Spend comes from the daily cost scan; amounts are in the budget currency and "approximate" is true when they were converted from USD. Use it to answer "are we within budget this month". Requires the budgets:read scope.`,
6785
6792
  inputSchema: { type: "object", properties: {} },
6786
6793
  argsSchema: object({}),
6787
6794
  handler: async (_args, config2) => apiGet("/v1/budgets", void 0, config2)
@@ -6863,7 +6870,7 @@ function findTool(name) {
6863
6870
 
6864
6871
  // src/protocol.ts
6865
6872
  var SERVER_NAME = "aaa-sentinel-mcp";
6866
- var SERVER_VERSION = "0.15.3";
6873
+ var SERVER_VERSION = "0.16.0";
6867
6874
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6868
6875
  var PARSE_ERROR = -32700;
6869
6876
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.15.3",
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
- "license": "MIT",
6
- "type": "module",
7
- "bin": {
8
- "aaa-sentinel-mcp": "dist/cli.js"
9
- },
10
- "files": [
11
- "dist"
12
- ],
13
- "keywords": [
14
- "mcp",
15
- "modelcontextprotocol",
16
- "finops",
17
- "cost",
18
- "monitoring",
19
- "uptime",
20
- "security",
21
- "ai-spend"
22
- ],
23
- "publishConfig": {
24
- "access": "public"
25
- },
26
- "homepage": "https://app.aaa-sentinel.com/developer/docs#mcp",
27
- "bugs": {
28
- "url": "https://app.aaa-sentinel.com/contact"
29
- },
30
- "engines": {
31
- "node": ">=20"
32
- },
33
- "scripts": {
34
- "build": "esbuild src/cli.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/cli.js",
35
- "prepublishOnly": "npm run build",
36
- "test": "vitest run"
37
- },
38
- "devDependencies": {
39
- "@types/node": "^22.0.0",
40
- "esbuild": "^0.24.0",
41
- "typescript": "^5.7.0",
42
- "vitest": "^3.2.0",
43
- "zod": "^4.6.7"
44
- }
45
- }
1
+ {
2
+ "name": "@aaa-sentinel/mcp-server",
3
+ "version": "0.16.0",
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
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "aaa-sentinel-mcp": "dist/cli.js"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "keywords": [
14
+ "mcp",
15
+ "modelcontextprotocol",
16
+ "finops",
17
+ "cost",
18
+ "monitoring",
19
+ "uptime",
20
+ "security",
21
+ "ai-spend"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "homepage": "https://app.aaa-sentinel.com/developer/docs#mcp",
27
+ "bugs": {
28
+ "url": "https://app.aaa-sentinel.com/contact"
29
+ },
30
+ "engines": {
31
+ "node": ">=20"
32
+ },
33
+ "scripts": {
34
+ "build": "esbuild src/cli.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/cli.js",
35
+ "prepublishOnly": "npm run build",
36
+ "test": "vitest run"
37
+ },
38
+ "devDependencies": {
39
+ "@types/node": "^22.0.0",
40
+ "esbuild": "^0.24.0",
41
+ "typescript": "^5.7.0",
42
+ "vitest": "^3.2.0",
43
+ "zod": "^4.6.7"
44
+ }
45
+ }