@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
17 lines (16 loc) • 710 B
TypeScript
import { CommandExecutionResult } from './aws.sso.exec.types.js';
import { RoleInfo } from '../services/vendor.aws.sso.types.js';
/**
* Formats the result of an executed command into Markdown
*
* @param command The command that was executed (used for context, not displayed directly)
* @param result The execution result containing stdout, stderr, and exit code
* @param options Optional context like account, role, region, and suggested roles
* @returns Formatted Markdown string
*/
export declare function formatCommandResult(_command: string, result: CommandExecutionResult, options?: {
accountId?: string;
roleName?: string;
region?: string;
suggestedRoles?: RoleInfo[];
}): string;