MetorialDocs

Set up AWS SNS in Metorial for Claude, ChatGPT and Cursor

Share AWS SNS with your team in Claude, ChatGPT and Cursor through Metorial: AWS credentials sign-in, 18 tools (7 read-only).

To give your team AWS SNS in Claude, ChatGPT, Cursor and other AI clients, an admin shares the AWS SNS integration in a Metorial portal, and each person connects with AWS credentials. Agents can create and manage SNS topics (standard and FIFO) for pub/sub messaging. The integration has 18 tools, 7 read-only, 9 write and 2 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares AWS SNS in a portal and how each person connects
  • What AWS SNS asks for when you connect, and where to find it
  • How to keep the 7 read-only tools and reject the other 11

Before you start

Sign-in method

MethodTypeWhat a person provides
AWS CredentialsCustom credentialsaccessKeyId, secretAccessKey and sessionToken

AWS Credentials

To connect, a person enters these values:

  • accessKeyId: AWS Access Key ID
  • secretAccessKey: AWS Secret Access Key
  • sessionToken (optional): AWS Session Token (required when using temporary credentials from AWS STS)

Setup settings

Setup also asks for:

  • region (optional): AWS region where your SNS resources are located (e.g., us-east-1, eu-west-1)

Admin: share AWS SNS 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 AWS SNS. For how members connect, choose Each person connects so everyone enters their own AWS credentials, or Shared connection to enter the AWS credentials once for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from AWS SNS.

Choose who gets it

Add the access groups that should see AWS SNS. 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 AWS SNS integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "aws sns"

Employee: connect AWS SNS

In the portal

Open AWS SNS in the catalog

Sign in to your portal and open AWS SNS. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your AWS credentials (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 "aws sns"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your AWS SNS 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 "aws sns"
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 7 read-only tools, such as get_topic and list_topics, and lose the 9 write tools, such as send_sms or create_topic, and the 2 destructive tools, such as delete_topic or unsubscribe_from_topic.

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 "aws sns"
metorial tools <integration-id>
metorial call <integration-id> list_topics -d '{}'

metorial tools lists the 18 tools, minus any you rejected. list_topics takes no input. It lists all SNS topics in the configured region.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (7)

  • list_topics: List all SNS topics in the configured region.
  • list_subscriptions: List subscriptions, optionally filtered by a specific topic.
  • get_topic: Retrieve all attributes and tags for an SNS topic, including owner, display name, subscription counts, delivery policy, encryption settings, and FIFO configuration. Needs topicArn.
  • get_subscription: Retrieve all attributes for an SNS subscription, including topic, owner, filter policy, delivery policy, raw delivery mode, pending confirmation state, redrive policy, and FIFO replay status when present. Needs subscriptionArn.
  • list_origination_numbers: List dedicated SNS SMS origination numbers and their metadata for the configured AWS account and region.
  • get_sms_status: Retrieve SNS SMS account settings, SMS sandbox status, and the current page of phone numbers that are opted out of SMS delivery.
  • check_sms_opt_out: Check whether a phone number has opted out of receiving SMS messages from this AWS account. Needs phoneNumber.

Write tools (9)

  • subscribe_to_topic: Subscribe an endpoint to an SNS topic. Needs topicArn and protocol.
  • update_topic: Update attributes and/or tags of an SNS topic. Needs topicArn.
  • publish_batch: Publish up to 10 messages to a single SNS topic in one request. Needs topicArn and entries.
  • send_sms: Send an SMS text message directly to a phone number via Amazon SNS. Needs phoneNumber and message.
  • confirm_subscription: Confirm a pending SNS subscription using the confirmation token. Needs topicArn and confirmationToken.
  • create_topic: Create a new SNS topic (standard or FIFO) for publishing messages to subscribers. Needs name.
  • update_subscription: Update attributes of an existing SNS subscription. Needs subscriptionArn.
  • publish_message: Publish a message to an SNS topic, directly to a phone number via SMS, or to a mobile platform endpoint. Needs message.
  • update_sms_settings: Update default SNS SMS account settings such as monthly spend limit, default sender ID, default SMS type, delivery status logging, and usage report bucket.

Destructive tools (2)

  • delete_topic: Delete an SNS topic and all its subscriptions. Needs topicArn.
  • unsubscribe_from_topic: Remove a subscription from an SNS topic. Needs subscriptionArn.

Triggers

AWS SNS has 1 trigger, which fire on events in AWS SNS:

  • topic_notification: Receives notifications from SNS topic HTTP/HTTPS subscriptions.

Next steps