Set up Amazon Web Services in Metorial for AI agents
Share Amazon Web Services with your team in Claude, ChatGPT and Cursor through Metorial: AWS access keys or AWS temporary credentials sign-in, 9 tools (1 read-only).
To give your team Amazon Web Services in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Amazon Web Services integration in a Metorial portal, and each person connects with AWS access keys. Agents can manage AWS cloud infrastructure and services. The integration has 9 tools, 1 read-only and 8 write, plus 3 triggers.
What you'll learn
- How an admin shares Amazon Web Services in a portal and how each person connects
- What Amazon Web Services asks for when you connect, and where to find it
- How to keep the 1 read-only tools and reject the other 8
Before you start
- A portal with at least one access group
- AWS access keys from Amazon Web Services for each person, or one set for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| AWS Access Keys (default) | Custom credentials | accessKeyId and secretAccessKey |
| AWS Temporary Credentials (STS) | Custom credentials | accessKeyId, secretAccessKey and sessionToken |
The portal and metorial setup use AWS Access Keys unless someone picks another method.
AWS Access Keys
To connect, a person enters these values:
accessKeyId: AWS Access Key ID (e.g. AKIAIOSFODNN7EXAMPLE)secretAccessKey: AWS Secret Access Key
AWS Temporary Credentials (STS)
To connect, a person enters these values:
accessKeyId: Temporary AWS Access Key IDsecretAccessKey: Temporary AWS Secret Access KeysessionToken: AWS Session Token
Setup settings
Whichever method you pick, setup also asks for:
region(optional): AWS region (e.g. us-east-1, eu-west-1)
Admin: share Amazon Web Services in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Amazon Web Services. Under Auth Method, keep AWS Access Keys or pick another. For how members connect, choose Each person connects so everyone enters their own AWS access keys, or Shared connection to enter the AWS access keys once for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Amazon Web Services.
Choose who gets it
Add the access groups that should see Amazon Web Services. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Amazon Web Services integration. Once it exists, check which groups have it:
Employee: connect Amazon Web Services
In the portal
Open Amazon Web Services in the catalog
Sign in to your portal and open Amazon Web Services. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your AWS access keys (accessKeyId and secretAccessKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses AWS Access Keys. To connect with AWS Temporary Credentials (STS) instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Amazon Web Services connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the read-only tool manage_sts, and lose the 8 write tools, such as manage_s3 or manage_iam.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 9 tools, minus any you rejected. manage_sts takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (1)
manage_sts: Inspect the authenticated AWS Security Token Service identity.
Write tools (8)
manage_s3: Manage Amazon S3 buckets and objects. Needsoperation.manage_cloudwatch: Manage Amazon CloudWatch metrics and alarms. Needsoperation.manage_ec2_instances: List, start, stop, terminate, or reboot Amazon EC2 instances. Needsoperation.manage_lambda: Manage AWS Lambda functions: list functions, get details, invoke a function with a JSON payload, update configuration (memory, timeout, environment variables, layers, VPC, tracing), or delete a function. Needsoperation.manage_iam: Manage AWS IAM users, roles, and policy attachments. Needsoperation.manage_dynamodb: Manage AWS DynamoDB tables and items. Needsaction.manage_sqs: Manage Amazon SQS (Simple Queue Service) queues and messages. Needsoperation.manage_sns: Manage AWS SNS (Simple Notification Service) topics and subscriptions. Needsoperation.
Triggers
Amazon Web Services has 3 triggers, which fire on events in Amazon Web Services:
cloudwatch_alarm_changes: Polls for CloudWatch alarm state changes.ec2_instance_state_changes: Polls for EC2 instance state changes.inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Amazon Web Services there
- Tool permissions: tool filters and what employees see
- Amazon Web Services on metorial.com: the integration overview