🧠 sam-serverless-mcp-server

Created By
elevaa year ago
Overview

What is sam-serverless-mcp-server?

The sam-serverless-mcp-server is a simple Model Context Protocol (MCP) server that is deployed on AWS Lambda and exposed via Amazon API Gateway, utilizing the Serverless Application Model (SAM).

How to use sam-serverless-mcp-server?

To use the server, you need to install the necessary dependencies, run it locally with SAM, and then you can interact with it via HTTP POST requests to the exposed endpoint.

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?

  1. Building serverless applications that require a context-aware protocol.
  2. Integrating with other AWS services using a lightweight MCP server.
  3. Testing and developing serverless functions locally before deployment.

FAQ from sam-serverless-mcp-server?

  • What are the prerequisites to run this project?

You need Node.js v22+, Docker, AWS CLI, and SAM CLI installed.

  • How do I deploy the server to AWS?

You can deploy it by running sam build and sam deploy --guided commands.

  • Can I test the server locally?

Yes! You can run it locally using sam local start-api and access it at http://localhost:3000/mcp.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
eleva
Star
0
Language
JavaScript
License
-

Recommend Servers

View All