@aashari/mcp-server-aws-sso
Version:
Node.js/TypeScript MCP server for AWS Single Sign-On (SSO). Enables AI systems (LLMs) with tools to initiate SSO login (device auth flow), list accounts/roles, and securely execute AWS CLI commands using temporary credentials. Streamlines AI interaction w
59 lines (58 loc) • 1.44 kB
TypeScript
import { z } from 'zod';
/**
* Schema for the login tool
*/
export declare const LoginArgs: z.ZodObject<{
launchBrowser: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
launchBrowser: boolean;
}, {
launchBrowser?: boolean | undefined;
}>;
/**
* Type for the login tool arguments
*/
export type LoginToolArgsType = z.infer<typeof LoginArgs>;
/**
* Schema for the list accounts tool
*/
export declare const ListAccountsArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
/**
* Type for the list accounts tool arguments
*/
export type ListAccountsToolArgsType = z.infer<typeof ListAccountsArgs>;
/**
* Schema for the Execute Command tool arguments
*/
export declare const ExecToolArgs: z.ZodObject<{
/**
* AWS account ID (12-digit number)
*/
accountId: z.ZodString;
/**
* AWS role name to assume via SSO
*/
roleName: z.ZodString;
/**
* AWS region to use (optional)
*/
region: z.ZodOptional<z.ZodString>;
/**
* AWS CLI command to execute (e.g., "aws s3 ls")
*/
command: z.ZodString;
}, "strip", z.ZodTypeAny, {
accountId: string;
roleName: string;
command: string;
region?: string | undefined;
}, {
accountId: string;
roleName: string;
command: string;
region?: string | undefined;
}>;
/**
* Type definition from the Zod schema
*/
export type ExecToolArgsType = z.infer<typeof ExecToolArgs>;