UNPKG

@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

42 lines (41 loc) 1.5 kB
import { AwsSsoCredentials } from '../services/aws.sso.types.js'; /** * Format login success message * @param expiresDate Formatted expiration date * @returns Formatted markdown content */ export declare function formatLoginSuccess(expiresDate: string): string; /** * Format already logged in message * @param expiresDate Formatted expiration date * @returns Formatted markdown content */ export declare function formatAlreadyLoggedIn(expiresDate: string): string; /** * Format login with browser launch message * @param verificationUri Verification URI * @param userCode User code * @returns Formatted markdown content */ export declare function formatLoginWithBrowserLaunch(verificationUri: string, userCode: string): string; /** * Format manual login message * @param verificationUri Verification URI * @param userCode User code * @returns Formatted markdown content */ export declare function formatLoginManual(verificationUri: string, userCode: string): string; /** * Format credentials message * @param fromCache Whether credentials were from cache * @param accountId AWS account ID * @param roleName IAM role name * @param credentials AWS credentials * @returns Formatted markdown content */ export declare function formatCredentials(fromCache: boolean, accountId: string, roleName: string, credentials: AwsSsoCredentials): string; /** * Format auth required message * @returns Formatted markdown content */ export declare function formatAuthRequired(): string;