Back to Home
aashari icon

mcp-server-aws-sso

by aashari

Overview

Connects AI assistants like Claude to AWS resources via AWS IAM Identity Center (SSO) for managing cloud infrastructure using natural language commands.

Installation

Run Command
TRANSPORT_MODE=stdio npx @aashari/mcp-server-aws-sso

Environment Variables

  • AWS_SSO_START_URL
  • AWS_REGION
  • AWS_SSO_REGION
  • DEBUG
  • PORT
  • AWS_PROFILE
  • TRANSPORT_MODE

Security Notes

The server uses `child_process.exec` in `src/services/vendor.aws.sso.exec.service.ts` to execute AWS CLI commands (`aws_sso_exec_command` tool). The `command` argument is passed directly to the shell without sanitization, leading to an OS Command Injection vulnerability. A malicious or compromised AI model could craft input (e.g., 'aws s3 ls; rm -rf /') to execute arbitrary commands on the host system where the server is running. While the intent is to execute AWS CLI commands, the implementation using `exec` is inherently unsafe for arbitrary string input that originates from an external source (AI/user).

Similar Servers

Stats

Interest Score36
Security Score3
Cost ClassMedium
Avg Tokens1000
Stars8
Forks9
Last Update2025-12-08

Tags

AWSSSOIAMAI ToolsCloud Management