streamable-mcp-server
ferrants/mcp-streamable-http-typescript-server · 21 stars · TypeScript · MIT
MCP server Starter for MCP Server with a Streamable HTTP Transport
Install
The repo has no one-line install. Follow its README.
Files
streamable-mcp-server
This is a starting place for a new streamable-http MCP Server built with typescript.
Streamable HTTP Transport was introduced on 2025-03-26. See MCP Spec Changelog.
Starts with the Model Context Protocol Typescript SDK Streamable HTTP with Session Management Example and contains some sensible dependencies and tsconfig to get rolling.
Clone or fork this repo, make updates and start building your Streamable HTTP MCP Server.
Install and Run Locally
To install the dependencies, run:
npm install
Then build:
npm run build
Running the Server
Production Mode
To run the server in production mode:
npm start # or directly with node build/index.js
It runs on port 3000 by default. If you need another port, you can specify with the PORT env var.
PORT=3002 npm start # or PORT=3002 node build/index.js
Development Mode
For development, you can use the dev mode which automatically watches for changes in your source files, rebuilds, and restarts the server:
npm run dev
With a custom port:
PORT=3002 npm run dev
Connect a Client
You can connect a client to your Streamable HTTP MCP Server once it's running. Configure per the client's configuration. There is the mcp-config.json that has an example configuration that looks like this:
{
"mcpServers": {
"streamable-mcp-server": {
"type": "streamable-http",
"url": "http://localhost:3000"
}
}
}
Future enhancements:
- handle oauth authentication
- more tool examples
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 21
- License
- MIT
- Language
- TypeScript
- Last push
- 2025-04-30
- Forks
- 9
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k