sst-streaming-http-mcp-server

by madisonbullard

1 229 downloads Not rated yet

About

An SST monorepo that deploys MCP streaming HTTP servers via Hono on a Lambda. Currently this doesn't include auth.

Explore

- 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.

- Recommended: Follow the SST guide to set up your AWS org/accounts
- Use .env.example to create your own .env file
- bun install
- bun dev to launch SST dev mode
- bun deploy to deploy

This is an SST monorepo that deploys an AWS Lambda and Cloudfront distribution for MCP streaming HTTP servers. Currently this doesn't include auth.

Setup

- Recommended: Follow the SST guide to set up your AWS org/accounts - Use .env.example to create your own .env file - bun install - bun dev to launch SST dev mode - bun deploy to deploy

Using MCP Inspector (@modelcontextprotocol/inspector)

- bun dev to launch SST dev mode - bun mcp-inspect to launch MCP Inspector - Launch the UI in the browser at http://127.0.0.1:6274 - Select Transport Type: Streamable HTTP - Input the URL to the MCP server - This will be the URL of the API Router that you deployed, displayed in bun dev output. - Append the proper routing to the /mcp endpoint: {CLOUDFRONT_URL_FROM_SST}/mcp/test-server/mcp

Coding style

- Ensure bun typecheck and bun check pass. You can run bun fix to format the code. - To use the git hooks in the repo's .githooks folder, which will save you from waiting for CI to tell you that you forgot to these commands, run this:
    git config core.hookspath .githooks
    
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.