MCP Lambda SAM

@markvp Claim

Basic information

Runtime
node
License
MIT
Transports
stdio
Author
markvp
Submitted by
Community
Quality
35
Stars
12

About MCP Lambda SAM Server

An AWS Serverless Application Model that operates as an MCP server via serverless AWS resources

MCP Lambda SAM is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by markvp. Supported transport: stdio. Runtime: node. License: MIT. The repository has 12 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp-lambda-sam": {
            "command": "npx",
            "args": [
                "@markvp/mcp-lambda-sam",
                "deploy"
            ]
        }
    }
}

MCP Lambda SAM config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-lambda-sam": {
            "command": "npx",
            "args": [
                "@markvp/mcp-lambda-sam",
                "deploy"
            ]
        }
    }
}

MCP Lambda SAM tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Lambda SAM?

MCP Lambda SAM is a serverless implementation of the Model Context Protocol (MCP) using AWS Lambda and the Serverless Application Model (SAM). It provides two interfaces: an administrative interface for registering MCP tools, resources, and prompts, and a client interface for establishing SSE connections, sending commands, and receiving streaming responses.

How to use MCP Lambda SAM?

Deploy via npx @markvp/mcp-lambda-sam deploy, the AWS Serverless Application Repository, or programmatic install. After deployment, administrators register tools through a dedicated Lambda function URL with IAM authentication. Clients connect using AWS Signature V4 signed SSE requests, obtain a session ID, and then send JSON-RPC commands to the message endpoint.

Key features of MCP Lambda SAM

  • Serverless MCP implementation using AWS Lambda and SAM
  • Two interfaces: system administration and client usage
  • SSE streaming for real-time communication
  • DynamoDB tables for session and registration persistence
  • IAM-based authentication via Lambda Function URLs
  • Supports registration, update, deletion, and listing of tools/resources/prompts
  • Deploy via npx CLI, SAR, or local SAM commands

Use cases of MCP Lambda SAM

  • Administrators registering new MCP tools, resources, or prompts via the registration API
  • Clients establishing SSE connections to receive streaming responses from registered tools
  • Managing multiple server instances by providing different stack names
  • Deploying in a VPC for secure internal access

Frequently asked questions

1 What are the runtime requirements?

AWS CLI, AWS SAM CLI, Node.js 20.x or later, and an AWS account with permissions to create Lambda functions, DynamoDB tables, IAM roles, and SQS queues.

2 How do I deploy MCP Lambda SAM?

You can deploy using npx @markvp/mcp-lambda-sam deploy, from the AWS Serverless Application Repository (search “mcp-lambda-sam”), programmatically by installing the npm package, or locally with sam build and sam deploy --guided.

3 How does authentication work?

All MCP endpoints are IAM-protected via Lambda Function URLs with AWS_IAM auth type. Administrators need permission to invoke the registration function URL; clients need permission to invoke the MCP function URL. Permissions are granted using IAM policies or aws lambda add-permission commands.

4 How do I register a tool or resource?

Send an HTTP POST request to the registration function URL with JSON body containing type, name, description, lambdaArn, and parameters. Use awscurl or any client capable of AWS Signature V4 signing.

5 What common errors can occur?

401 (invalid/missing credentials), 403 (insufficient permissions), 404 (invalid session ID), and 429 (rate limit exceeded). Troubleshooting includes verifying credentials, IAM permissions, session ID validity, and command format.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬