Skip to main content

AWS IAM Identity Center

The AWS IAM Identity Center card with the Official badge runs AWS Labs' AWS API MCP Server on each person's computer. Willow starts uvx awslabs.aws-api-mcp-server@latest there. It is a local MCP: the process uses the AWS credentials already on that computer, through boto3.

AWS has superseded this package with the managed AWS MCP Server. For a new connection, add the AWS card. See AWS (AWS MCP Server) and AWS's migration guide.

Prerequisites​

On each person's computer:

  • Node.js, so Willow's local client can start (npx -y @mcp-s/mcp)
  • uv, because the card runs uvx, and Python 3.10 or newer
  • The AWS CLI, to configure IAM Identity Center

The permission set on the profile is what the agent can do in the account. Use a least-privilege set. ReadOnlyAccess is enough when agents only inspect resources.

Configure IAM Identity Center​

Do this on the computer that will run the server. The card does not store these values.

  1. In the AWS access portal, open the permission set you will use, select Access keys, and copy the SSO start URL and SSO Region from the IAM Identity Center credentials method.
  2. Run aws configure sso. Enter a session name, the start URL, the SSO Region, and the scope sso:account:access. Pick the account and the permission set, then a default Region and a profile name. Name the profile default when this computer should use it whenever no profile is selected.
  3. Sign in:
aws sso login --profile default

Use your profile name if it is not default. The CLI opens a browser and caches the session under ~/.aws/sso/cache. Run the same command again when the session expires.

With AWS_API_MCP_PROFILE_NAME unset, which is how the card ships, the server follows boto3's credential chain. That chain includes the IAM Identity Center profile named default. When the computer has more than one profile, AWS recommends setting AWS_API_MCP_PROFILE_NAME to the profile the server should use. Add it to the environment of the process that runs uvx. The card does not set it.

The Region you enter for the profile is the one the server uses while that profile is selected. If it cannot find a Region, it uses us-east-1.

Add the server in Willow​

  1. Go to MCP Servers → + Add MCP server, open AWS IAM Identity Center with the Official badge, and click + Use.
  2. Publish the server and assign groups. Each person connects over STDIO from a computer that has completed the steps above.

If setup asks for an API key, leave it empty. This server reads the AWS profile on the computer. The card does not pass a key into the process. If Willow warns that the configuration does not reference the key, select Save anyway.

On Windows, AWS documents a different command: uvx --from awslabs.aws-api-mcp-server@latest awslabs.aws-api-mcp-server.exe. The card uses the Linux and macOS form.

Each computer runs one person's credentials. AWS says this server is for a single user per process.

Additional resources​