π§ sam-serverless-mcp-server
@eleva
About π§ sam-serverless-mcp-server
No overview available yet
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is π§ sam-serverless-mcp-server?
A minimal Model Context Protocol (MCP) server deployed on AWS Lambda and exposed via Amazon API Gateway, using the Serverless Application Model (SAM). It is intended for developers who want to host an MCP server on AWS serverless infrastructure.
How to use π§ sam-serverless-mcp-server?
Install dependencies with npm install, run locally with sam local start-api (endpoint at POST http://localhost:3000/mcp), or deploy to AWS with sam build && sam deploy --guided. Test the included add tool using curl or the Jest test suite.
Key features of π§ sam-serverless-mcp-server
- Minimal MCP server setup using
@modelcontextprotocol/sdk - Deployed as a single AWS Lambda function
- HTTP POST endpoint exposed via API Gateway at
/mcp - Supports local development via SAM
- Includes a simple example tool (
add) with JSON-RPC interaction
Use cases of π§ sam-serverless-mcp-server
- Deploy an MCP server entirely on AWS serverless with minimal configuration
- Quickly prototype and test MCP tool interactions through a public API endpoint
- Integrate MCP capabilities into existing AWS serverless workflows
- Use as a starter template for building custom MCP tools on Lambda
FAQ from π§ sam-serverless-mcp-server
What are the prerequisites for running this server?
Node.js v22+, Docker, AWS CLI, and SAM CLI are required.
How do I run the server locally?
Run sam local start-api and then send POST requests to http://localhost:3000/mcp.
How do I deploy to AWS?
Run sam build followed by sam deploy --guided. The deployment output will provide the live URL.
Can I use API Gateway V2 (HTTP API)?
Yes, change the event type from Api to HttpApi in the template.yml file under the Events section.
What transport protocol does the server use?
It uses HTTP POST with JSON-RPC 2.0 payloads, exposed through Amazon API Gateway.
More Cloud & Infrastructure MCP servers
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
Comments