Skip to main content

CyberArk

CyberArk's Secure Cloud Access MCP server requests just-in-time access to standalone AWS accounts. When access is granted, it writes temporary credentials into the AWS credentials file on the computer that runs it. The Official card starts the container over stdio and turns on Local MCP. The image is 709825985650.dkr.ecr.us-east-1.amazonaws.com/cyberark/cyberark.mcp-server-sca:v1.0.10. It is the CyberArk card with the Official badge.

CyberArk's documentation titles this server the Idira SCA MCP Server. See Integrate Idira SCA MCP Server.

Prerequisites​

  • An AWS account that can subscribe in AWS Marketplace
  • A CyberArk tenant that can issue identity tokens. SCA tenant name is the tenant subdomain, for example sca-dev
  • Cloud access policies for the AWS accounts and roles people will elevate to
  • On each person's computer: Docker, Node.js so Willow's local client can start, and an AWS credentials file for an account and role that already exist. See Local MCP

Subscribe and pull the image​

The image is in CyberArk's private Amazon ECR registry.

  1. In AWS Marketplace, open CyberArk MCP Server for Secure Cloud Access.
  2. The first time you subscribe, click View purchase options and accept the terms.
  3. Launch the product from your subscriptions. Under Launch, open Pull container image - optional.
  4. Copy the full command and run it on every computer that will start the server. The command logs Docker in to Amazon ECR and pulls the image.

The card runs tag v1.0.10. Pull that tag.

Get an identity token​

The API key is the identity token CyberArk calls AUTH_TOKEN. Each person gets a token by calling StartAuthentication and then AdvancedAuthentication, and keeps the token from that sign-in. Follow Integrate Idira SCA MCP Server and the cURL example in Authentication cookies overview.

CyberArk also documents an OAuth2 client (CYBERARK_CLIENT_ID, CYBERARK_CLIENT_SECRET, and CYBERARK_APPLICATION_ID) on that same page. The Official card sends the identity token.

Mount the AWS credentials file​

CyberArk requires a volume mount so the container can write temporary credentials. The card already passes AUTH_TOKEN and TENANT_NAME. On the server's Setup tab, under MCP configuration, add the mount and the AWS variables. Put each new variable in args with -e and again in env.

CyberArk's example mount is /Users/{username}/.aws:/aws. Type the directory on the computer in place of {username}. In that example the credentials path inside the container is /aws/credentials, and the profile name is default. Every computer receives this same configuration, so that host path has to exist on each one.

"args": [
"run",
"-i",
"--rm",
"-e", "AUTH_TOKEN",
"-e", "TENANT_NAME",
"-e", "AWS_CREDENTIALS_PATH",
"-e", "AWS_PROFILE_NAME",
"-v", "/Users/{username}/.aws:/aws",
"709825985650.dkr.ecr.us-east-1.amazonaws.com/cyberark/cyberark.mcp-server-sca:v1.0.10",
"--transport", "stdio"
],
"env": {
"AUTH_TOKEN": "{{apiKey}}",
"TENANT_NAME": "{{tenant}}",
"AWS_CREDENTIALS_PATH": "/aws/credentials",
"AWS_PROFILE_NAME": "default"
}

Leave {{apiKey}}, {{tenant}}, the image, and --transport stdio in place. Willow fills in the tenant and each person's token.

CyberArk also lists optional AWS_DEFAULT_ACCOUNT_ID, AWS_DEFAULT_ROLE_NAME, AWS_PROFILE_REGION, and TARGET_URL. Add an -e flag and an env entry for each one you set.

Set up Willow​

  1. Go to MCP Servers → + Add MCP server, open the CyberArk card with the Official badge, and click + Use.
  2. Enter the SCA tenant name.
  3. Leave Local MCP on, so Docker runs on the computer that holds the AWS credentials file and the ECR login. Add the mount from Mount the AWS credentials file, then save.
  4. Assign groups and Publish.

The first time someone uses the server, they paste their identity token. Paste the token on its own. The card places it in AUTH_TOKEN.

Troubleshooting​

Docker cannot pull the image​

Cause: This computer is not logged in to CyberArk's ECR registry, or the AWS account has not accepted the Marketplace terms.

Solution: Subscribe, then run the pull command from the subscription's Launch page on this computer. The card asks for tag v1.0.10.

The credentials file is unchanged after elevation​

Cause: The container has no mount for that file, or AWS_CREDENTIALS_PATH is a different path from the one inside the container.

Solution: Add the -v mount and AWS_CREDENTIALS_PATH as in Mount the AWS credentials file. The host path has to exist on the computer that runs Docker.

Elevation is unavailable for the account​

Cause: No cloud access policy allows that account and role, or the account is not a standalone AWS account. CyberArk supports elevation to standalone accounts only.

Solution: Add a policy for a standalone account and the role the person should receive.

Additional Resources​