@aaa-sentinel/mcp-server 0.26.1 → 0.27.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 +2 -0
- package/dist/cli.js +17 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -168,6 +168,8 @@ status as plain JSON.
|
|
|
168
168
|
| `get_team_costs` | — | `owners:read` | Business |
|
|
169
169
|
| `get_tag_policy` | `clientId?` | `tagging:read` | Pro |
|
|
170
170
|
| `get_tag_coverage` | `period?` | `reports:read` | Business |
|
|
171
|
+
| `list_finops_scopes` | — | `allocation:read` | Business |
|
|
172
|
+
| `get_allocation_rules` | — | `allocation:read` | Business |
|
|
171
173
|
|
|
172
174
|
In `list_savings`, `type` is one of `compute`, `storage`, `network`, `database`, `serverless`,
|
|
173
175
|
`governance`; it returns the 50 largest, not paginated (`count` and `hasMore` say whether there are
|
package/dist/cli.js
CHANGED
|
@@ -6180,7 +6180,7 @@ var TOOLS = [
|
|
|
6180
6180
|
}),
|
|
6181
6181
|
defineTool({
|
|
6182
6182
|
name: "list_finops_kpis",
|
|
6183
|
-
description: "List the FinOps KPIs whose formula the FinOps Foundation publishes (allocated and unallocated spend, allocation metadata coverage, unallocatable cost, Savings Plans coverage, commitment utilization and waste, effective savings rate option 2, forecast variance and drift) for the last 12 closed months, each with its latest value, its series and, when the Foundation publishes sample goals, the Crawl/Walk/Run level. Values are percentages; numeratorUsd and denominatorUsd are USD and numerator and denominator the same amounts in the organization currency; value is null when there is no data, never 0. Requires the reports:read scope and the Pro plan or above.",
|
|
6183
|
+
description: "List the FinOps KPIs whose formula the FinOps Foundation publishes (allocated and unallocated spend, allocation metadata coverage, unallocatable cost, deployments without allocation metadata, Savings Plans coverage, commitment utilization and waste, effective savings rate option 2, forecast variance and drift) for the last 12 closed months, each with its latest value, its series and, when the Foundation publishes sample goals, the Crawl/Walk/Run level. Values are percentages; numeratorUsd and denominatorUsd are USD and numerator and denominator the same amounts in the organization currency, except for the KPIs with unit count (deployments), whose latest has numeratorCount and denominatorCount in resources; value is null when there is no data, never 0. Requires the reports:read scope and the Pro plan or above.",
|
|
6184
6184
|
inputSchema: {
|
|
6185
6185
|
type: "object",
|
|
6186
6186
|
properties: { accountId: { type: "string", description: "Restrict the KPIs to one account (optional)." } }
|
|
@@ -6921,6 +6921,21 @@ var TOOLS = [
|
|
|
6921
6921
|
inputSchema: objectWith({ period: { ...BILLING_PERIOD, description: "Closed month as YYYY-MM (optional; default the last closed month)." } }, []),
|
|
6922
6922
|
argsSchema: object({ period: BillingPeriod.optional() }),
|
|
6923
6923
|
handler: async ({ period }, config2) => apiGet("/v1/finops/tag-coverage", { period }, config2)
|
|
6924
|
+
}),
|
|
6925
|
+
// ── Ámbitos y reglas de reparto ────────────────────────────
|
|
6926
|
+
defineTool({
|
|
6927
|
+
name: "list_finops_scopes",
|
|
6928
|
+
description: "List the scopes the organization defined to follow its spend: each one is some accounts (accountIds null means every account, also those connected later) and at most one filter, by the values of an allocation tag key, by teams or by services (filter null means all the cost of those accounts). kind is product, cost_center, environment or custom; monthlyBudget, when set, is compared with each closed month in the currency it was set in. Definitions only, without cost. Changing scopes stays in the console, the API or Terraform. Requires the allocation:read scope (owner only) and a token that sees the whole organization; scopes and rules are only created on the Business plan.",
|
|
6929
|
+
inputSchema: objectWith({}, []),
|
|
6930
|
+
argsSchema: object({}),
|
|
6931
|
+
handler: async (_args, config2) => apiGet("/v1/finops/scopes", void 0, config2)
|
|
6932
|
+
}),
|
|
6933
|
+
defineTool({
|
|
6934
|
+
name: "get_allocation_rules",
|
|
6935
|
+
description: "Get the rules that allocate shared costs, in the order they apply (each one allocates what the previous one left): the source pool (a team, or the unallocated cost), the targets (some teams, or all teams with cost), the FinOps Foundation method (fixed with weights that add up to 100, proportional to direct cost, even, or by a business metric cut by team), the months it applies (from, to) and whether it is enabled. Unallocated cost is never spread without a rule. Changing the rules stays in the console, the API or Terraform. Requires the allocation:read scope (owner only) and a token that sees the whole organization; scopes and rules are only created on the Business plan.",
|
|
6936
|
+
inputSchema: objectWith({}, []),
|
|
6937
|
+
argsSchema: object({}),
|
|
6938
|
+
handler: async (_args, config2) => apiGet("/v1/finops/allocation/rules", void 0, config2)
|
|
6924
6939
|
})
|
|
6925
6940
|
];
|
|
6926
6941
|
function withoutPrivateLink(page) {
|
|
@@ -6934,7 +6949,7 @@ function findTool(name) {
|
|
|
6934
6949
|
|
|
6935
6950
|
// src/protocol.ts
|
|
6936
6951
|
var SERVER_NAME = "aaa-sentinel-mcp";
|
|
6937
|
-
var SERVER_VERSION = "0.
|
|
6952
|
+
var SERVER_VERSION = "0.27.0";
|
|
6938
6953
|
var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
6939
6954
|
var PARSE_ERROR = -32700;
|
|
6940
6955
|
var INVALID_REQUEST = -32600;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aaa-sentinel/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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",
|