MCP.so
登录

sample-serverless-mcp-server

@aws-samples

关于 sample-serverless-mcp-server

暂无概览

基本信息

分类

云与基础设施

许可证

MIT-0

运行时

python

传输方式

stdio

发布者

aws-samples

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

What is sample-serverless-mcp-server?

sample-serverless-mcp-server is a GitHub MCP server implementation that runs on Amazon Lambda using the Streamable HTTP protocol. It is built on the official TypeScript MCP server and is intended for developers who want to deploy MCP services without maintaining persistent servers.

How to use sample-serverless-mcp-server?

Clone the repository, install dependencies, set your GitHub Personal Access Token in serverless.yml, test locally with npm sls offline, then deploy to AWS Lambda with npm sls deploy. Requires Node.js 20+, the AWS CLI, and the OSS-Serverless CLI.

Key features of sample-serverless-mcp-server

  • Streamable HTTP MCP protocol support
  • Elastic deployment on Amazon Lambda
  • Optimized cost-performance balance
  • Dynamic context priority control
  • Seamless integration with existing HTTP infrastructure

Use cases of sample-serverless-mcp-server

  • Deploy a GitHub MCP server without managing persistent infrastructure
  • Integrate GitHub operations into MCP clients via serverless endpoints
  • Leverage AWS Lambda and API Gateway for scalable MCP services
  • Test MCP server behavior locally before cloud deployment

FAQ from sample-serverless-mcp-server

What does this server implement?

It implements a GitHub MCP server that uses the Streamable HTTP protocol and can be deployed on Amazon Lambda.

What are the prerequisites?

Node.js 20+, the AWS CLI (configured), and the OSS-Serverless CLI (osls) are required.

How do I provide authentication to GitHub?

Set a GITHUB_PERSONAL_ACCESS_TOKEN in the serverless.yml file. The token is stored in AWS Lambda environment variables; do not submit serverless.yml to a public repository.

Can I run the server locally for testing?

Yes. Run npm sls offline from the src/github/ directory to test locally before deploying.

What AWS services are used in the architecture?

API Gateway handles HTTP requests, Lambda executes the MCP server logic, and Streamable HTTP enables streaming responses. DynamoDB and S3 are planned for request log storage (not yet implemented).

评论

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