@aaa-sentinel/mcp-server 0.16.1 → 0.17.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 -1
  2. package/dist/cli.js +10 -5
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -117,7 +117,7 @@ status as plain JSON.
117
117
  | `get_account_monthly_costs` | `accountId` | `accounts:read` | Pro |
118
118
  | `list_architecture_apps` | `accountId`, `limit?`, `cursor?` | `accounts:read` | Pro |
119
119
  | `get_architecture_app` | `accountId`, `appId`, `limit?`, `cursor?` | `accounts:read` | Pro |
120
- | `get_architecture_graph` | `accountId`, `app?` | `accounts:read` | Pro |
120
+ | `get_architecture_graph` | `accountId`, `app?`, `includeNotes?` (team notes, only when the user asks) | `accounts:read` | Pro |
121
121
  | `get_cost_history` | `accountId` | `reports:read` | Pro |
122
122
  | `get_cost_by_tags` | `accountId` | `reports:read` | Pro |
123
123
  | `get_multicloud_report` | — | `reports:read` | Pro |
package/dist/cli.js CHANGED
@@ -6350,7 +6350,7 @@ var TOOLS = [
6350
6350
  }),
6351
6351
  defineTool({
6352
6352
  name: "get_security_pillars",
6353
- description: "Get the pillar review of one account: what the platform checks there, grouped into six Well-Architected pillars (operational_excellence, security, reliability, performance_efficiency, cost_optimization, sustainability), used on all three clouds: AWS and Google Cloud have six pillars, and the Azure framework has five, without sustainability. It is not the official AWS, Microsoft or Google 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.",
6353
+ description: "Get the pillar review of one account: what the platform checks there, grouped into six Well-Architected pillars (operational_excellence, security, reliability, performance_efficiency, cost_optimization, sustainability), used on all three clouds: AWS and Google Cloud have six pillars, and the Azure framework has five, without sustainability. It is not an official AWS, Microsoft or Google 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). Each pillar also has review (rules with open findings, most severe first, with severity, resources, firstSeenAt for posture and savingsUsd for cost) and unreadRules (rules not read and why; empty for a source whose status is not ok). Lead with review when answering what to fix first. 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
6354
  inputSchema: objectWith({ accountId: { type: "string", description: "Account identifier." } }, ["accountId"]),
6355
6355
  argsSchema: object({ accountId: string2().min(1) }),
6356
6356
  handler: async ({ accountId }, config2) => apiGet("/v1/security/pillars", { accountId }, config2)
@@ -6443,12 +6443,17 @@ var TOOLS = [
6443
6443
  inputSchema: objectWith(
6444
6444
  {
6445
6445
  accountId: ACCOUNT_ID,
6446
- app: { type: "string", description: 'Application identifier from list_architecture_apps, or "unassigned" (optional; without it, the account level).' }
6446
+ app: { type: "string", description: 'Application identifier from list_architecture_apps, or "unassigned" (optional; without it, the account level).' },
6447
+ includeNotes: {
6448
+ type: "boolean",
6449
+ description: "Also return the plain-text notes the team left on the diagram (notes: target, text, updatedAt). Set it only when the user asks to read their notes: they are the team's own text."
6450
+ }
6447
6451
  },
6448
6452
  ["accountId"]
6449
6453
  ),
6450
- argsSchema: object({ accountId: string2().min(1), app: string2().min(1).optional() }),
6451
- handler: async ({ accountId, app }, config2) => apiGet(`/v1/architecture/accounts/${encodeURIComponent(accountId)}/graph`, { app }, config2)
6454
+ argsSchema: object({ accountId: string2().min(1), app: string2().min(1).optional(), includeNotes: boolean2().optional() }),
6455
+ // Las notas son texto del cliente: el modelo solo las recibe si la persona las pide (decisión del 20 nov 2026).
6456
+ handler: async ({ accountId, app, includeNotes }, config2) => apiGet(`/v1/architecture/accounts/${encodeURIComponent(accountId)}/graph`, { app, ...includeNotes ? { notes: "1" } : {} }, config2)
6452
6457
  }),
6453
6458
  defineTool({
6454
6459
  name: "get_cost_history",
@@ -6870,7 +6875,7 @@ function findTool(name) {
6870
6875
 
6871
6876
  // src/protocol.ts
6872
6877
  var SERVER_NAME = "aaa-sentinel-mcp";
6873
- var SERVER_VERSION = "0.16.1";
6878
+ var SERVER_VERSION = "0.17.0";
6874
6879
  var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
6875
6880
  var PARSE_ERROR = -32700;
6876
6881
  var INVALID_REQUEST = -32600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaa-sentinel/mcp-server",
3
- "version": "0.16.1",
3
+ "version": "0.17.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",