@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
20 lines (19 loc) • 592 B
TypeScript
import { ControllerResponse } from '../types/common.types.js';
/**
* Execute a shell command on an EC2 instance via SSM
*
* @param options Command execution options
* @returns Controller response containing the formatted command output
* @throws Error if the command execution fails
*/
export declare function executeEc2Command(options: {
instanceId: string;
accountId: string;
roleName: string;
command: string;
region?: string;
}): Promise<ControllerResponse>;
declare const _default: {
executeEc2Command: typeof executeEc2Command;
};
export default _default;