streamable-mcp-server
A TypeScript boilerplate for building Model Context Protocol servers using the Streamable HTTP transport and session management. It serves as a foundational template with pre-configured development tools to help developers quickly build and deploy streamable MCP services.
README
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.