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
- A portal with at least one access group
- AWS IAM access keys from AWS Lambda 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 IAM 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 IAM Access Keys unless someone picks another method.
AWS IAM Access Keys
To connect, a person enters these values:
accessKeyId: AWS Access Key IDsecretAccessKey: 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: 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:
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
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.
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 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. NeedsfunctionName.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. NeedsactionandfunctionName.manage_alias: Create, update, get, delete, or list aliases for a Lambda function. NeedsactionandfunctionName.create_function: Create a new Lambda function. NeedsfunctionName,roleandcode.publish_version: Publish an immutable version from the current `$LATEST` code and configuration. NeedsfunctionName.manage_recursion_config: Get or set recursive loop detection for a Lambda function. NeedsactionandfunctionName.invoke_function: Invoke a Lambda function synchronously or asynchronously. **Synchronous** (RequestResponse) returns the function's output. **Asynchronous** (Event) queues the event and returns immediately. NeedsfunctionName.manage_tags: List, add, or remove tags on a Lambda function. NeedsactionandresourceArn.update_function: Update a Lambda function's code and/or configuration. NeedsfunctionName.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). Needsaction.manage_permission: Add, remove, or view resource-based policy statements on a Lambda function. NeedsactionandfunctionName.manage_layer: Publish, get, delete, or list Lambda layers and their versions. Needsaction.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. Needsaction,functionNameandconcurrencyType.manage_runtime_management: Get or set the runtime update mode for a Lambda function version. NeedsactionandfunctionName.manage_durable_execution: Inspect, list, stop, or send callbacks for Lambda durable executions. Needsaction.configure_async_invocation: List, get, set, update, or remove the asynchronous invocation configuration for a Lambda function. NeedsactionandfunctionName.
Destructive tools (1)
delete_function: Delete a Lambda function. NeedsfunctionName.
Triggers
AWS Lambda has 2 triggers, which fire on events in AWS Lambda:
inbound_webhookfunction_changes: Polls for new, updated, or deleted Lambda functions by comparing snapshots of the function list.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use AWS Lambda there
- Tool permissions: tool filters and what employees see
- AWS Lambda on metorial.com: the integration overview