MCP.so
登录

sam-serverless-mcp-server MCP Server

@eleva

基本信息

分类

云与基础设施

传输方式

stdio

作者

eleva

关于 sam-serverless-mcp-server MCP Server

暂无概览

sam-serverless-mcp-server MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

sam-serverless-mcp-server MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

What are the prerequisites for running this server?

Node.js v22+, Docker, AWS CLI, and SAM CLI are required.

2

How do I run the server locally?

Run `sam local start-api` and then send POST requests to `http://localhost:3000/mcp`.

3

How do I deploy to AWS?

Run `sam build` followed by `sam deploy --guided`. The deployment output will provide the live URL.

4

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.

5

What transport protocol does the server use?

It uses HTTP POST with JSON-RPC 2.0 payloads, exposed through Amazon API Gateway.

评论

云与基础设施 分类下的更多 MCP 服务器