@integrity-labs/cloud-broker 0.6.3 → 0.6.5
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/dist/index.js +23 -8
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -21258,6 +21258,7 @@ var getCredentialsSchema = external_exports.object({
|
|
|
21258
21258
|
var checkApprovalChannelSchema = external_exports.object({
|
|
21259
21259
|
account_id: accountIdSchema
|
|
21260
21260
|
});
|
|
21261
|
+
var listAccountsSchema = external_exports.object({});
|
|
21261
21262
|
var describeScopeShape = describeScopeSchema.shape;
|
|
21262
21263
|
var previewRequestShape = previewRequestSchema.shape;
|
|
21263
21264
|
var requestAccessShape = requestAccessSchema.shape;
|
|
@@ -21265,11 +21266,12 @@ var pollGrantShape = pollGrantSchema.shape;
|
|
|
21265
21266
|
var releaseAccessShape = releaseAccessSchema.shape;
|
|
21266
21267
|
var getCredentialsShape = getCredentialsSchema.shape;
|
|
21267
21268
|
var checkApprovalChannelShape = checkApprovalChannelSchema.shape;
|
|
21269
|
+
var listAccountsShape = listAccountsSchema.shape;
|
|
21268
21270
|
|
|
21269
21271
|
// package.json
|
|
21270
21272
|
var package_default = {
|
|
21271
21273
|
name: "@integrity-labs/cloud-broker",
|
|
21272
|
-
version: "0.6.
|
|
21274
|
+
version: "0.6.5",
|
|
21273
21275
|
description: "Cloud Access Broker \u2014 MCP server that mints scoped, TTL-bounded cloud credentials per agent task. v1 ships AWS support (aws_request_access, aws_poll_grant, aws_release_access, aws_describe_scope, aws_preview_request, aws_get_credentials \u2014 STS AssumeRole under the hood); GCP, Azure, and Cloudflare land alongside in the same package as the broker grows.",
|
|
21274
21276
|
type: "module",
|
|
21275
21277
|
bin: {
|
|
@@ -21298,15 +21300,15 @@ var package_default = {
|
|
|
21298
21300
|
"publish:templates": "bash cloudformation/publish.sh"
|
|
21299
21301
|
},
|
|
21300
21302
|
dependencies: {
|
|
21301
|
-
"@modelcontextprotocol/sdk": "
|
|
21302
|
-
zod: "
|
|
21303
|
+
"@modelcontextprotocol/sdk": "1.27.1",
|
|
21304
|
+
zod: "3.25.76"
|
|
21303
21305
|
},
|
|
21304
21306
|
devDependencies: {
|
|
21305
|
-
"@types/node": "
|
|
21306
|
-
tsup: "
|
|
21307
|
-
tsx: "
|
|
21308
|
-
typescript: "
|
|
21309
|
-
vitest: "
|
|
21307
|
+
"@types/node": "22.19.11",
|
|
21308
|
+
tsup: "8.5.1",
|
|
21309
|
+
tsx: "4.21.0",
|
|
21310
|
+
typescript: "5.9.3",
|
|
21311
|
+
vitest: "3.2.4"
|
|
21310
21312
|
}
|
|
21311
21313
|
};
|
|
21312
21314
|
|
|
@@ -21469,6 +21471,19 @@ server.tool(
|
|
|
21469
21471
|
}
|
|
21470
21472
|
}
|
|
21471
21473
|
);
|
|
21474
|
+
server.tool(
|
|
21475
|
+
"aws_list_accounts",
|
|
21476
|
+
`List the AWS accounts your team currently has enrolled with the broker. Returns { accounts: [{ account_id, display_name, description?, default_region?, allowed_regions? }] }. The boot-time inventory injected into aws_request_access's description is frozen for this MCP process \u2014 call this tool when an account you expect to see is missing (e.g. an operator just re-enrolled one), when you want to confirm the canonical display_name / default_region / allowed_regions before firing aws_request_access, or to recover from "no enrolment" errors that hint the inventory may be stale. No arguments \u2014 agent_id is filled from the host MCP env (AGT_AGENT_ID). Cheap and idempotent; calls the same /aws/inventory endpoint that boots the description block.`,
|
|
21477
|
+
listAccountsShape,
|
|
21478
|
+
async () => {
|
|
21479
|
+
try {
|
|
21480
|
+
const result = await broker.listInventory();
|
|
21481
|
+
return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
|
|
21482
|
+
} catch (err) {
|
|
21483
|
+
return { content: [{ type: "text", text: formatBrokerError(err) }], isError: true };
|
|
21484
|
+
}
|
|
21485
|
+
}
|
|
21486
|
+
);
|
|
21472
21487
|
var transport = new StdioServerTransport();
|
|
21473
21488
|
await server.connect(transport);
|
|
21474
21489
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@integrity-labs/cloud-broker",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Cloud Access Broker — MCP server that mints scoped, TTL-bounded cloud credentials per agent task. v1 ships AWS support (aws_request_access, aws_poll_grant, aws_release_access, aws_describe_scope, aws_preview_request, aws_get_credentials — STS AssumeRole under the hood); GCP, Azure, and Cloudflare land alongside in the same package as the broker grows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"publish:templates": "bash cloudformation/publish.sh"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@modelcontextprotocol/sdk": "
|
|
33
|
-
"zod": "
|
|
32
|
+
"@modelcontextprotocol/sdk": "1.27.1",
|
|
33
|
+
"zod": "3.25.76"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/node": "
|
|
37
|
-
"tsup": "
|
|
38
|
-
"tsx": "
|
|
39
|
-
"typescript": "
|
|
40
|
-
"vitest": "
|
|
36
|
+
"@types/node": "22.19.11",
|
|
37
|
+
"tsup": "8.5.1",
|
|
38
|
+
"tsx": "4.21.0",
|
|
39
|
+
"typescript": "5.9.3",
|
|
40
|
+
"vitest": "3.2.4"
|
|
41
41
|
}
|
|
42
42
|
}
|