AWS ECR integration
Amazon Elastic Container Registry API for managing Docker container images. Create and manage repositories, push and pull images, scan for vulnerabilities, and control access to container artifacts.
Say what should happen.
The workflow builds itself.
Common AWS ECR use cases
- execute put image programmatically
- execute list image programmatically
- execute tag resource programmatically
- execute describe image programmatically
- execute untag resource programmatically
- execute batch get image programmatically
- execute start image scan programmatically
- execute create repository programmatically
- execute delete repository programmatically
- execute batch delete image programmatically
What you can do with AWS ECR
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Registry policy, 2 operations
get_registry_policyGet registry policyPOSTAgents: ask firstRetrieves the IAM permissions policy for the default ECR registry.put_registry_policyPut registry policyPOSTAgents: ask firstCreates or updates the IAM permissions policy for the default ECR registry to control cross-account access.
Batch delete image, 1 operation
batch_delete_imageBatch delete imagePOSTAgents: ask firstDeletes a list of specified images within a specified repository. Images are specified with either an imageTag or imageDigest.
Batch get image, 1 operation
batch_get_imageBatch get imagePOSTAgents: ask firstGets detailed information for an image. Images are specified with either an imageTag or imageDigest.
Create repository, 1 operation
create_repositoryCreate repositoryPOSTAgents: ask firstCreates a new Amazon ECR repository where Docker images can be pushed.
Delete lifecycle policy, 1 operation
delete_lifecycle_policyDelete lifecycle policyPOSTAgents: ask firstDeletes the lifecycle policy associated with the specified repository.
Delete repository, 1 operation
delete_repositoryDelete repositoryPOSTAgents: ask firstDeletes an existing image repository. If a repository contains images, you must use the force option to delete it.
Delete repository policy, 1 operation
delete_repository_policyDelete repository policyPOSTAgents: ask firstDeletes the repository policy associated with the specified repository.
Describe image, 1 operation
describe_imagesDescribe imagesPOSTAgents: ask firstReturns metadata about the images in a repository. The results include image size, image tags, and creation date.
Describe image scan finding, 1 operation
describe_image_scan_findingsDescribe image scan findingsPOSTAgents: ask firstReturns the scan findings for the specified image.
Describe repository, 1 operation
describe_repositoriesDescribe repositoriesPOSTAgents: ask firstDescribes image repositories in a registry. Returns metadata about repositories including creation date and URI.
Get authorization token, 1 operation
get_authorization_tokenGet authorization tokenPOSTAgents: ask firstRetrieves an authorization token. An authorization token represents your IAM authentication credentials and can be used to access any Amazon ECR registry that your IAM principal has access to.
Get lifecycle policy, 1 operation
get_lifecycle_policyGet lifecycle policyPOSTAgents: ask firstRetrieves the lifecycle policy for the specified repository.
Get repository policy, 1 operation
get_repository_policyGet repository policyPOSTAgents: ask firstRetrieves the repository policy for the specified repository.
List image, 1 operation
list_imagesList imagesPOSTAgents: ask firstLists all the image IDs for the specified repository. You can filter images based on whether or not they are tagged by using the tagStatus filter.
List tags for resource, 1 operation
list_tags_for_resourceList tags for resourcePOSTAgents: ask firstList the tags for an Amazon ECR resource.
Put image, 1 operation
put_imagePut imagePOSTAgents: ask firstCreates or updates the image manifest and tags associated with an image. Once the image has been pushed to the registry, use this action to add additional tags.
Put image scanning configuration, 1 operation
put_image_scanning_configurationPut image scanning configurationPOSTAgents: ask firstUpdates the image scanning configuration for the specified repository.
Put image tag mutability, 1 operation
put_image_tag_mutabilityPut image tag mutabilityPOSTAgents: ask firstUpdates the image tag mutability settings for the specified repository.
Put lifecycle policy, 1 operation
put_lifecycle_policyPut lifecycle policyPOSTAgents: ask firstCreates or updates the lifecycle policy for the specified repository. For more information, see Lifecycle Policy Template.
Registry, 1 operation
describe_registryDescribe registryPOSTAgents: ask firstReturns the registry ID and replication configuration for the default ECR registry.
Registry scanning configuration, 1 operation
put_registry_scanning_configurationPut registry scanning configurationPOSTAgents: ask firstConfigures the vulnerability scanning type and rules for an ECR registry.
Replication configuration, 1 operation
put_replication_configurationPut replication configurationPOSTAgents: ask firstCreates or updates cross-region and cross-account replication rules for an ECR registry.
Set repository policy, 1 operation
set_repository_policySet repository policyPOSTAgents: ask firstApplies a repository policy to the specified repository to control access permissions.
Start image scan, 1 operation
start_image_scanStart image scanPOSTAgents: ask firstInitiates an image vulnerability scan. An image scan can only be started once per 24 hours on an individual image.
Tag resource, 1 operation
tag_resourceTag resourcePOSTAgents: ask firstAdds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.
Untag resource, 1 operation
untag_resourceUntag resourcePOSTAgents: ask firstDeletes specified tags from a resource.
Use AWS ECR from Claude Code, Cursor or Codex
Connect AWS ECR in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its AWS ECR operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect AWS ECR
- Create your workspace
Sign up free. Nothing to install.
- Connect AWS ECR once
Add your AWS ECR connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
AWS ECR integration FAQ
What can you do with the AWS ECR integration?
LiveContext exposes 27 operations on AWS ECR, covering registry policy, batch delete image, batch get image and create repository. Common uses include execute put image programmatically, execute list image programmatically and execute tag resource programmatically.
