MCP.so
登录

AWS SSO MCP Server

@aashari

基本信息

分类

开发工具

最近更新

传输方式

stdio

作者

aashari

关于 AWS SSO MCP Server

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 with AWS resources.

AWS SSO MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-aws-sso": {
      "command": "npx",
      "args": [
        "-y",
        "@aashari/mcp-server-aws-sso",
        "login"
      ]
    }
  }
}

AWS SSO MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is AWS SSO MCP Server?

A server that connects AI assistants (Claude, Cursor) to AWS accounts through AWS IAM Identity Center (SSO). It enables natural‑language management of AWS resources, execution of AWS CLI commands, and remote EC2 instance control via Systems Manager. Designed for DevOps engineers, cloud architects, developers, SRE teams, and IT administrators.

How to use AWS SSO MCP Server?

Install via npx or npm install -g @aashari/mcp-server-aws-sso. Set environment variables AWS_SSO_START_URL and AWS_REGION. Run mcp-aws-sso login to authenticate. Then either use CLI commands (e.g., mcp-aws-sso exec-command) or add the server to an MCP client configuration (e.g., Claude Desktop’s claude_desktop_config.json) using the "aws-sso" key. The server exposes tools such as aws_sso_login, aws_sso_ls_accounts, aws_sso_exec_command, and aws_sso_ec2_exec_command.

Key features of AWS SSO MCP Server?

  • Authenticate via AWS IAM Identity Center
  • List accessible AWS accounts and roles
  • Execute arbitrary AWS CLI commands
  • Run shell commands on EC2 via SSM
  • Supports multi‑account AWS environments
  • Two transport modes: STDIO and HTTP/SSE

Use cases of AWS SSO MCP Server?

  • List all S3 buckets in a production account using natural language
  • Check disk usage or run uptime on an EC2 instance via Systems Manager
  • Switch between AWS accounts and describe VPCs in the staging account
  • Monitor CloudWatch alarms and get status of running EC2 instances
  • Compare running instances between staging and production accounts

常见问题

1

What prerequisites are needed?

An AWS IAM Identity Center (SSO) setup with a start URL (e.g., `https://your-company.awsapps.com/start`), a configured identity source, and permission sets assigned to users. The server also requires Node.js (≥18) and the AWS CLI.

2

How do I authenticate?

Run `mcp-aws-sso login` (or `aws_sso_login` tool). This opens your browser for device authorization and caches tokens for subsequent operations. You can also launch without a browser using `--no-launch-browser`.

3

What transports are supported?

Two modes: STDIO (default for local MCP clients like Claude Desktop) and HTTP (default for server mode, uses SSE on port 3000). Set the `TRANSPORT_MODE` environment variable to `stdio` or `http`.

4

Can I run shell commands on an EC2 instance without SSH?

Yes. Use the `aws_sso_ec2_exec_command` tool (or CLI `ec2-exec-command`). It uses AWS Systems Manager, so the instance must have the SSM Agent installed and the appropriate IAM role.

5

How do I troubleshoot authentication failures?

Re‑run `mcp-aws-sso login` to refresh tokens. Verify that `AWS_SSO_START_URL` and `AWS_REGION` are correct. Check that your AWS account assignments are active in the SSO portal.

评论

开发工具 分类下的更多 MCP 服务器