sst-streaming-http-mcp-server
@madisonbullard
An SST monorepo that deploys MCP streaming HTTP servers via Hono on a Lambda. Currently this doesn't include auth.
Overview
What is sst-streaming-http-mcp-server?
sst-streaming-http-mcp-server is an SST monorepo that deploys an AWS Lambda and CloudFront distribution to host MCP (Model Context Protocol) streaming HTTP servers. It is intended for developers who want to deploy MCP servers on AWS infrastructure using SST. Currently, the deployment does not include authentication.
How to use sst-streaming-http-mcp-server?
Set up an AWS account (see SST guide), copy .env.example to .env, run bun install, then bun dev to launch SST dev mode or bun deploy to deploy. Use the MCP Inspector by running bun dev then bun mcp-inspect, and in the browser at http://127.0.0.1:6274 select Streamable HTTP transport, input the CloudFront URL from SST output appended with /mcp/test-server/mcp.
Key features of sst-streaming-http-mcp-server
- Deploys AWS Lambda and CloudFront distribution.
- Supports MCP streaming HTTP transport.
- Uses SST for infrastructure as code.
- Includes MCP Inspector integration for testing.
- No built-in authentication (currently).
- Code formatting and type checking via bun.
Use cases of sst-streaming-http-mcp-server
- Hosting an MCP server on AWS with streaming HTTP.
- Rapid prototyping of MCP servers using SST.
- Testing MCP server endpoints with MCP Inspector.
- Deploying a serverless MCP endpoint in a personal AWS account.
FAQ from sst-streaming-http-mcp-server
What is the transport type used?
Streamable HTTP transport via MCP Inspector.
Does this include authentication?
No, currently the deployment does not include auth.
What are the runtime requirements?
The project requires bun, and uses SST for AWS deployment. You need a configured AWS account.
How do I connect to the MCP server?
Use the CloudFront URL from SST output, append /mcp/test-server/mcp as the endpoint path.
What commands are available for development?
bun dev for SST dev mode, bun deploy for deployment, bun mcp-inspect for MCP Inspector, and bun typecheck, bun check, bun fix for code quality.