serverlessrun

v0.1.0
io.github.CloudCorpRecords/serverlessrun Checked 2 days ago Published 1 month ago

AWS 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.

ParameterTypeDescription
markerstringOptional pagination marker from a previous response, sent as the Marker query parameter to fetch the next page.
max_itemsnumberOptional maximum number of functions to return, sent as the MaxItems query parameter.

get_function

Retrieve a Lambda function by name or ARN.

ParameterTypeDescription
function_name *stringThe name or ARN of the Lambda function to retrieve.
qualifierstringOptional version or alias qualifier to retrieve a specific published version of the function.

invoke_function

Invoke a Lambda function and return its response.

ParameterTypeDescription
function_name *stringThe name or ARN of the Lambda function to invoke.
invocation_typestringOptional invocation type, sent as X-Amz-Invocation-Type, such as RequestResponse or Event.
log_typestringOptional log type, sent as X-Amz-Log-Type, such as Tail to include execution logs.
payloadstringOptional payload string sent as the invocation request body.
qualifierstringOptional version or alias qualifier selecting which published version to invoke.

list_versions_by_function

List the published versions of a Lambda function.

ParameterTypeDescription
function_name *stringThe name or ARN of the Lambda function whose versions to list.
markerstringOptional pagination marker from a previous response, sent as the Marker query parameter.
max_itemsnumberOptional maximum number of versions to return, sent as the MaxItems query parameter.

get_alias

Retrieve a Lambda function alias.

ParameterTypeDescription
function_name *stringThe name or ARN of the Lambda function that owns the alias.
name *stringThe name of the alias to retrieve.

list_aliases

List the aliases of a Lambda function.

ParameterTypeDescription
function_name *stringThe name or ARN of the Lambda function whose aliases to list.
function_versionstringOptional function version to filter aliases by, sent as the FunctionVersion query parameter.
markerstringOptional pagination marker from a previous response, sent as the Marker query parameter.
max_itemsnumberOptional maximum number of aliases to return, sent as the MaxItems query parameter.

list_layers

List Lambda layers available in the account.

ParameterTypeDescription
compatible_architecturestringOptional architecture, such as x86_64 or arm64, to filter layers by compatibility, sent as CompatibleArchitecture.
compatible_runtimestringOptional runtime, such as nodejs20.x, to filter layers by compatibility, sent as CompatibleRuntime.
max_itemsnumberOptional maximum number of layers to return, sent as the MaxItems query parameter.

get_layer_version

Retrieve a specific version of a Lambda layer.

ParameterTypeDescription
layer_name *stringThe name or ARN of the Lambda layer to retrieve.
version_number *numberThe version number of the layer version to retrieve.

list_event_source_mappings

List Lambda event source mappings.

ParameterTypeDescription
event_source_arnstringOptional ARN of the event source to filter mappings by, sent as EventSourceArn.
function_namestringOptional name or ARN of the Lambda function to filter mappings by, sent as FunctionName.
max_itemsnumberOptional maximum number of mappings to return, sent as the MaxItems query parameter.

get_account_settings

Retrieve Lambda account-level settings and limits.