serverlessrun
v0.1.0AWS Lambda functions, versions, aliases, layers and settings as MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_functions
List Lambda functions in the account.
| Parameter | Type | Description |
|---|---|---|
marker | string | Optional pagination marker from a previous response, sent as the Marker query parameter to fetch the next page. |
max_items | number | Optional maximum number of functions to return, sent as the MaxItems query parameter. |
get_function
Retrieve a Lambda function by name or ARN.
| Parameter | Type | Description |
|---|---|---|
function_name * | string | The name or ARN of the Lambda function to retrieve. |
qualifier | string | Optional version or alias qualifier to retrieve a specific published version of the function. |
invoke_function
Invoke a Lambda function and return its response.
| Parameter | Type | Description |
|---|---|---|
function_name * | string | The name or ARN of the Lambda function to invoke. |
invocation_type | string | Optional invocation type, sent as X-Amz-Invocation-Type, such as RequestResponse or Event. |
log_type | string | Optional log type, sent as X-Amz-Log-Type, such as Tail to include execution logs. |
payload | string | Optional payload string sent as the invocation request body. |
qualifier | string | Optional version or alias qualifier selecting which published version to invoke. |
list_versions_by_function
List the published versions of a Lambda function.
| Parameter | Type | Description |
|---|---|---|
function_name * | string | The name or ARN of the Lambda function whose versions to list. |
marker | string | Optional pagination marker from a previous response, sent as the Marker query parameter. |
max_items | number | Optional maximum number of versions to return, sent as the MaxItems query parameter. |
get_alias
Retrieve a Lambda function alias.
| Parameter | Type | Description |
|---|---|---|
function_name * | string | The name or ARN of the Lambda function that owns the alias. |
name * | string | The name of the alias to retrieve. |
list_aliases
List the aliases of a Lambda function.
| Parameter | Type | Description |
|---|---|---|
function_name * | string | The name or ARN of the Lambda function whose aliases to list. |
function_version | string | Optional function version to filter aliases by, sent as the FunctionVersion query parameter. |
marker | string | Optional pagination marker from a previous response, sent as the Marker query parameter. |
max_items | number | Optional maximum number of aliases to return, sent as the MaxItems query parameter. |
list_layers
List Lambda layers available in the account.
| Parameter | Type | Description |
|---|---|---|
compatible_architecture | string | Optional architecture, such as x86_64 or arm64, to filter layers by compatibility, sent as CompatibleArchitecture. |
compatible_runtime | string | Optional runtime, such as nodejs20.x, to filter layers by compatibility, sent as CompatibleRuntime. |
max_items | number | Optional maximum number of layers to return, sent as the MaxItems query parameter. |
get_layer_version
Retrieve a specific version of a Lambda layer.
| Parameter | Type | Description |
|---|---|---|
layer_name * | string | The name or ARN of the Lambda layer to retrieve. |
version_number * | number | The version number of the layer version to retrieve. |
list_event_source_mappings
List Lambda event source mappings.
| Parameter | Type | Description |
|---|---|---|
event_source_arn | string | Optional ARN of the event source to filter mappings by, sent as EventSourceArn. |
function_name | string | Optional name or ARN of the Lambda function to filter mappings by, sent as FunctionName. |
max_items | number | Optional maximum number of mappings to return, sent as the MaxItems query parameter. |
get_account_settings
Retrieve Lambda account-level settings and limits.