@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
18 lines (17 loc) • 663 B
TypeScript
import { AwsSsoConfig, AwsSsoAuthResult } from './vendor.aws.sso.types.js';
/**
* Get AWS SSO configuration from the environment
*
* Retrieves the AWS SSO start URL and region from the environment variables.
* These are required for SSO authentication.
*
* @returns {AwsSsoConfig} AWS SSO configuration
* @throws {Error} If AWS SSO configuration is missing
*/
export declare function getAwsSsoConfig(): Promise<AwsSsoConfig>;
/**
* Get cached SSO token from the cache
*
* @returns {Promise<AwsSsoAuthResult | undefined>} The cached token or undefined if not found
*/
export declare function getCachedSsoToken(): Promise<AwsSsoAuthResult | undefined>;