AWS Serverless MCP Server

Cloudstdio
Repository

Official AWS Labs MCP server for the AWS serverless application lifecycle. It provides SAM initialization, builds, local invocation, deployment, logs, event schemas, architecture guidance, and troubleshooting. The registry configuration intentionally omits the write and sensitive-data flags, leaving those capabilities disabled until a user explicitly opts in.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "aws-serverless": {
      "command": "uvx",
      "args": [
        "awslabs.aws-serverless-mcp-server@latest"
      ],
      "env": {
        "AWS_PROFILE": "<YOUR_AWS_PROFILE>",
        "AWS_REGION": "<YOUR_AWS_REGION>"
      }
    }
  }
}

Tools (4)

sam_init

Initialize an AWS SAM application with a selected runtime and template.

{
  "type": "object",
  "required": [
    "project_name",
    "runtime",
    "project_directory",
    "dependency_manager"
  ],
  "properties": {
    "runtime": {
      "type": "string",
      "description": "Lambda runtime"
    },
    "project_name": {
      "type": "string",
      "description": "Name of the SAM project"
    },
    "project_directory": {
      "type": "string",
      "description": "Absolute destination directory"
    },
    "dependency_manager": {
      "type": "string",
      "description": "Runtime dependency manager"
    }
  }
}

sam_build

Build a SAM application and prepare deployment artifacts.

{
  "type": "object",
  "required": [
    "project_directory"
  ],
  "properties": {
    "use_container": {
      "type": "boolean",
      "description": "Build inside a container"
    },
    "project_directory": {
      "type": "string",
      "description": "Absolute SAM project directory"
    }
  }
}

sam_local_invoke

Invoke a Lambda function locally through AWS SAM CLI.

{
  "type": "object",
  "required": [
    "project_directory",
    "resource_name"
  ],
  "properties": {
    "resource_name": {
      "type": "string",
      "description": "Lambda logical resource name"
    },
    "project_directory": {
      "type": "string",
      "description": "Absolute SAM project directory"
    }
  }
}

get_lambda_event_schemas

Retrieve language-specific Lambda event schemas for supported event sources.

{
  "type": "object",
  "required": [
    "event_source",
    "runtime"
  ],
  "properties": {
    "runtime": {
      "type": "string",
      "description": "Target language or runtime"
    },
    "event_source": {
      "sqs": null,
      "type": "string",
      "or api-gw": null,
      "description": "Event source such as s3"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server information

Author
AWS Labs (@awslabs)
Repository
https://github.com/awslabs/mcp/tree/main/src/aws-serverless-mcp-server
License
Apache-2.0
Stars
0
Last updated
September 1, 2026