Lambda MCP Server Demo (Streamable HTTP)
@rmavuluri
关于 Lambda MCP Server Demo (Streamable HTTP)
暂无概览
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Lambda MCP Server Demo (Streamable HTTP)?
This project demonstrates a developer-friendly way to create serverless MCP (Model Context Protocol) tools using AWS Lambda. It showcases a stateless, serverless MCP server with minimal boilerplate, and includes a TypeScript client that integrates with Amazon Bedrock Converse API using Amazon Nova Pro. It is designed for developers who want to deploy cloud-hosted MCP tools via Streamable HTTP.
How to use Lambda MCP Server Demo (Streamable HTTP)?
Install prerequisites (AWS account, AWS SAM CLI, Node.js, Docker, Python 3.9+, Amazon Bedrock access). Deploy the server with sam build then sam deploy --guided, providing an McpAuthToken. Navigate to the client directory and run run-client.sh. Add new tools using the @mcp_server.tool() decorator in server/app.py.
Key features of Lambda MCP Server Demo (Streamable HTTP)
- Uses Streamable HTTP transport (not SSE).
- Minimal boilerplate with decorator-based tool creation.
- Built-in session state management via DynamoDB.
- Bearer token authentication compliant with MCP standard.
- Example tools:
get_time,get_weather,count_s3_buckets. - Client integration with Amazon Bedrock Converse API.
Use cases of Lambda MCP Server Demo (Streamable HTTP)
- Deploying serverless MCP agents with AWS Lambda.
- Building stateless, session-aware MCP tools for cloud environments.
- Demonstrating Streamable HTTP MCP communication with Bedrock.
- Rapid prototyping of MCP tools with minimal setup and infrastructure.
FAQ from Lambda MCP Server Demo (Streamable HTTP)
What MCP clients support Streamable HTTP?
Very few MCP clients currently support Streamable HTTP. The included TypeScript client uses the TypeScript MCP SDK, which does support Streamable HTTP. For other clients, check compatibility.
What are the runtime dependencies and requirements?
Requires an AWS account, AWS SAM CLI, Node.js and npm, Docker, Python 3.9+, and access to Amazon Bedrock with Amazon Nova Pro enabled. The server is deployed via SAM; the client runs in Docker.
Where does session data live?
Session state is stored in a DynamoDB table against a sessionId key. This persistence is automatically managed across tool invocations within the same conversation.
Is this production ready?
No, this is a proof-of-concept implementation. The bearer token authentication is primarily for demonstration and development. For production, consider adding IAM roles, OAuth 2.0, or Amazon Cognito.
How does authentication work?
The server uses Bearer token authentication via an Authorization header. A custom authorizer in API Gateway validates the token. The client automatically includes the token when provided. The token is stored locally in .mcp-api-token (for convenience only, not production secure).
云与基础设施 分类下的更多 MCP 服务器
Kubernetes MCP Server
reza-gholizadeManage Your Kubernetes Cluster with k8s mcp-server
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
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
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
评论