MetorialDocs

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

Share AWS Lambda with your team in Claude, ChatGPT and Cursor through Metorial: AWS IAM access keys or AWS temporary credentials sign-in, 19 tools (3 read-only).

To give your team AWS Lambda in Claude, ChatGPT, Cursor and other AI clients, an admin shares the AWS Lambda integration in a Metorial portal, and each person connects with AWS IAM access keys. Agents can create, update, configure, and delete serverless Lambda functions. The integration has 19 tools, 3 read-only, 15 write and 1 destructive, plus 2 triggers.

What you'll learn

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

Before you start

Sign-in methods

MethodTypeWhat a person provides
AWS IAM Access Keys (default)Custom credentialsaccessKeyId and secretAccessKey
AWS Temporary Credentials (STS)Custom credentialsaccessKeyId, secretAccessKey and sessionToken

The portal and metorial setup use AWS IAM Access Keys unless someone picks another method.

AWS IAM Access Keys

To connect, a person enters these values:

  • accessKeyId: AWS Access Key ID
  • 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: AWS region for Lambda API (e.g., us-east-1, eu-west-1)

Admin: share AWS Lambda 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 Lambda. Under Auth Method, keep AWS IAM Access Keys or pick another. For how members connect, choose Each person connects so everyone enters their own AWS IAM access keys, or Shared connection to enter the AWS IAM 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 AWS Lambda.

Choose who gets it

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

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

Employee: connect AWS Lambda

In the portal

Open AWS Lambda in the catalog

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

Authenticate

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

catalog search prints the catalog item ID. metorial setup uses AWS IAM 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 AWS Lambda 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 lambda"
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 3 read-only tools, such as get_function and list_functions, and lose the 15 write tools, such as manage_tags or manage_alias, and the destructive tool delete_function.

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 lambda"
metorial tools <integration-id>
metorial call <integration-id> get_account_settings -d '{}'

metorial tools lists the 19 tools, minus any you rejected. get_account_settings takes no input. It retrieves Lambda account-level settings and limits for the configured region, including concurrent execution limits, code storage usage, and total code size.

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

Tools

Read-only tools (3)

  • get_account_settings: Retrieve Lambda account-level settings and limits for the configured region, including concurrent execution limits, code storage usage, and total code size.
  • get_function: Retrieve detailed information about a Lambda function including its configuration, code location, concurrency settings, and tags. Needs functionName.
  • list_functions: List Lambda functions in the configured AWS region.

Write tools (15)

  • manage_function_url: Create, update, get, or delete a dedicated HTTPS endpoint (function URL) for a Lambda function. Needs action and functionName.
  • manage_alias: Create, update, get, delete, or list aliases for a Lambda function. Needs action and functionName.
  • create_function: Create a new Lambda function. Needs functionName, role and code.
  • publish_version: Publish an immutable version from the current `$LATEST` code and configuration. Needs functionName.
  • manage_recursion_config: Get or set recursive loop detection for a Lambda function. Needs action and functionName.
  • invoke_function: Invoke a Lambda function synchronously or asynchronously. **Synchronous** (RequestResponse) returns the function's output. **Asynchronous** (Event) queues the event and returns immediately. Needs functionName.
  • manage_tags: List, add, or remove tags on a Lambda function. Needs action and resourceArn.
  • update_function: Update a Lambda function's code and/or configuration. Needs functionName.
  • manage_event_source_mapping: Create, update, get, delete, or list event source mappings that connect Lambda to streaming/queue services (SQS, Kinesis, DynamoDB Streams, Kafka, Amazon MQ). Needs action.
  • manage_permission: Add, remove, or view resource-based policy statements on a Lambda function. Needs action and functionName.
  • manage_layer: Publish, get, delete, or list Lambda layers and their versions. Needs action.
  • manage_concurrency: Configure reserved and provisioned concurrency for a Lambda function. **Reserved concurrency** guarantees a set amount of concurrent executions. **Provisioned concurrency** keeps execution environments warm to eliminate cold starts. Needs action, functionName and concurrencyType.
  • manage_runtime_management: Get or set the runtime update mode for a Lambda function version. Needs action and functionName.
  • manage_durable_execution: Inspect, list, stop, or send callbacks for Lambda durable executions. Needs action.
  • configure_async_invocation: List, get, set, update, or remove the asynchronous invocation configuration for a Lambda function. Needs action and functionName.

Destructive tools (1)

  • delete_function: Delete a Lambda function. Needs functionName.

Triggers

AWS Lambda has 2 triggers, which fire on events in AWS Lambda:

  • inbound_webhook
  • function_changes: Polls for new, updated, or deleted Lambda functions by comparing snapshots of the function list.

Next steps