@aaa-sentinel/mcp-server 0.11.0 → 0.12.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 +20 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -150,6 +150,8 @@ status as plain JSON.
|
|
|
150
150
|
| `list_status_pages` | — | `monitoring:read` | Pro |
|
|
151
151
|
| `get_status_page` | `pageId` | `monitoring:read` | Pro |
|
|
152
152
|
| `list_deployments` | `service?`, `environment?`, `accountId?`, `monitoringServiceId?`, `from?`, `to?`, `limit?`, `cursor?` | `deployments:read` | Pro |
|
|
153
|
+
| `list_budgets` | — | `budgets:read` | Pro |
|
|
154
|
+
| `get_budget` | `budgetId` | `budgets:read` | Pro |
|
|
153
155
|
|
|
154
156
|
In `list_savings`, `type` is one of `compute`, `storage`, `network`, `database`, `serverless`,
|
|
155
157
|
`governance`. `source` is one of `own`, `corroborated`, `securityhub`, `guardduty`, `defender`,
|
package/dist/cli.js
CHANGED
|
@@ -6737,6 +6737,25 @@ var TOOLS = [
|
|
|
6737
6737
|
cursor: string2().min(1).optional()
|
|
6738
6738
|
}),
|
|
6739
6739
|
handler: async ({ service, environment, accountId, monitoringServiceId, from, to, limit, cursor }, config2) => apiGet("/v1/deployments", { service, environment, accountId, monitoringServiceId, from, to, limit: asText(limit), cursor }, config2)
|
|
6740
|
+
}),
|
|
6741
|
+
// ── Presupuestos ───────────────────────────────────────────
|
|
6742
|
+
defineTool({
|
|
6743
|
+
name: "list_budgets",
|
|
6744
|
+
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.`,
|
|
6745
|
+
inputSchema: { type: "object", properties: {} },
|
|
6746
|
+
argsSchema: object({}),
|
|
6747
|
+
handler: async (_args, config2) => apiGet("/v1/budgets", void 0, config2)
|
|
6748
|
+
}),
|
|
6749
|
+
defineTool({
|
|
6750
|
+
name: "get_budget",
|
|
6751
|
+
description: "Get one budget by id with its status this month and the last six months of spend against its amount. Requires the budgets:read scope.",
|
|
6752
|
+
inputSchema: {
|
|
6753
|
+
type: "object",
|
|
6754
|
+
properties: { budgetId: { type: "string", description: "Budget identifier (bud_\u2026), as returned by list_budgets." } },
|
|
6755
|
+
required: ["budgetId"]
|
|
6756
|
+
},
|
|
6757
|
+
argsSchema: object({ budgetId: string2().min(1) }),
|
|
6758
|
+
handler: async ({ budgetId }, config2) => apiGet(`/v1/budgets/${encodeURIComponent(budgetId)}`, void 0, config2)
|
|
6740
6759
|
})
|
|
6741
6760
|
];
|
|
6742
6761
|
function withoutPrivateLink(page) {
|
|
@@ -6750,7 +6769,7 @@ function findTool(name) {
|
|
|
6750
6769
|
|
|
6751
6770
|
// src/protocol.ts
|
|
6752
6771
|
var SERVER_NAME = "aaa-sentinel-mcp";
|
|
6753
|
-
var SERVER_VERSION = "0.
|
|
6772
|
+
var SERVER_VERSION = "0.12.0";
|
|
6754
6773
|
var SUPPORTED_PROTOCOL_VERSIONS = ["2025-06-18", "2025-03-26", "2024-11-05"];
|
|
6755
6774
|
var PARSE_ERROR = -32700;
|
|
6756
6775
|
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.12.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",
|