Streamable HTTP Transport for Web Fetch API
@enZane
About Streamable HTTP Transport for Web Fetch API
A Stremeable Http Transport for the Model Context Protocol (MCP) suited for frameworks like Hono, enabling real-time communication using Server-Sent Events (SSE) and standard HTTP requests. Implements the MCP Streamable HTTP transport specification for edge-compatible environment
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
6For strong typing and modern JavaScript features.
For fast and reliable unit and integration testing.
For consistent code formatting and linting.
For efficient bundling of TypeScript code into CJS and ESM formats.
For streamlined version management and changelog generation.
For managing Git hooks.
Overview
What is Streamable HTTP Transport for Web Fetch API?
It is an edge-compatible server transport for the Model Context Protocol (MCP) that enables real-time, bi-directional communication using Server-Sent Events (SSE) and standard HTTP requests. It is built with TypeScript and optimized for modern web frameworks like Hono and edge computing platforms.
How to use Streamable HTTP Transport for Web Fetch API?
Install the stremeable-http-transport npm package and import the EdgeStreamableHTTPTransport class. Detailed configuration and integration steps are provided in the package’s own README. The transport can be used in Node.js or edge environments supporting the Web Fetch API.
Key features of Streamable HTTP Transport for Web Fetch API
- Implements the MCP Streamable HTTP transport specification.
- Supports SSE streaming and direct HTTP responses.
- Session management with stateful and stateless modes.
- Resumability via an extensible event store.
- Optimized for edge computing platforms and frameworks.
- Written in TypeScript and bundled as CJS/ESM.
Use cases of Streamable HTTP Transport for Web Fetch API
- Building real-time MCP servers deployed on edge runtimes.
- Streaming AI model responses or tool outputs over SSE.
- Enabling bi-directional communication in serverless or edge environments.
- Creating MCP-compatible services with session-aware, resumable streams.
FAQ from Streamable HTTP Transport for Web Fetch API
What runtime or frameworks does it support?
It is designed for modern edge environments and works with frameworks like Hono, as well as any runtime supporting the Web Fetch API.
Does it support session persistence?
Yes, it includes session management in both stateful and stateless modes, with resumability support via an extensible event store.
How does the transport communicate?
It uses Server-Sent Events (SSE) for streaming from server to client and standard HTTP requests for client-to-server messages, following the MCP Streamable HTTP specification.
Where can I find more detailed documentation?
Refer to the package README at packages/stremeable-http-transport/README.md for full configuration and API details.
What is the license?
This project is licensed under the MIT License.
More Productivity MCP servers
Todoist MCP Server
stanislavlysenko0912Full implementation of Todoist Rest API & support Todoist Sync API for MCP server
Desktop Commander MCP
wonderwhy-erThis is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
ntfy-mcp: Your Friendly Task Completion Notifier
teddyzxcv🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities
yokingma⏰ Time MCP Server: Giving LLMs Time Awareness Capabilities
applescript-mcp MCP Server
joshrutkowskiA macOS AppleScript MCP server
Comments