MetorialDocs

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

Sign-in methods

MethodTypeWhat a person provides
AWS Access Keys (default)Custom credentialsaccessKeyId and secretAccessKey
AWS Temporary Credentials (STS)Custom credentialsaccessKeyId, 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 ID
  • secretAccessKey: Temporary AWS Secret Access Key
  • sessionToken: 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:

metorial-admin portals access list <portal-id> --type provider_template --search "amazon web services"

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

metorial catalog search "amazon web services"
metorial setup <catalog-item-id>

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.

metorial list "amazon web services"
metorial client list
metorial install <client-identifier> <integration-id>

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 list "amazon web services"
metorial tools <integration-id>
metorial call <integration-id> manage_sts -d '{}'

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. Needs operation.
  • manage_cloudwatch: Manage Amazon CloudWatch metrics and alarms. Needs operation.
  • manage_ec2_instances: List, start, stop, terminate, or reboot Amazon EC2 instances. Needs operation.
  • 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. Needs operation.
  • manage_iam: Manage AWS IAM users, roles, and policy attachments. Needs operation.
  • manage_dynamodb: Manage AWS DynamoDB tables and items. Needs action.
  • manage_sqs: Manage Amazon SQS (Simple Queue Service) queues and messages. Needs operation.
  • manage_sns: Manage AWS SNS (Simple Notification Service) topics and subscriptions. Needs operation.

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