@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
13 lines (12 loc) • 578 B
TypeScript
/**
* Save raw API response to a file in /tmp/mcp/<project-name>/
*
* @param url The URL that was called
* @param method The HTTP method used
* @param requestBody The request body (if any)
* @param responseData The raw response data
* @param statusCode The HTTP status code
* @param durationMs The request duration in milliseconds
* @returns The path to the saved file, or null if saving failed
*/
export declare function saveRawResponse(url: string, method: string, requestBody: unknown, responseData: unknown, statusCode: number, durationMs: number): string | null;