ferrants

streamable-mcp-server

Community ferrants
Updated

Starter for MCP Server with a Streamable HTTP Transport

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

MCP Server ยท Populars

MCP Server ยท New

    AppiumTestDistribution

    MCP Appium Gestures

    This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..

    lumalabs

    Luma API MCP

    Powered by Ray (video) and Photon (image) models by Luma AI

    Community lumalabs
    yuki-20

    ๐ŸŒฝ CornMCP

    CornMCP is an open-source mono repo that gives AI coding agents (Antigravity, Cursor, Claude Code, Codex), token-saving access to your codebase through the Model Context Protocol (MCP).

    Community yuki-20
    hesreallyhim

    DIY Tools MCP Server

    An MCP server that allows users to dynamically add custom tools/functions at runtime

    Community hesreallyhim
    choihyunsus

    n2-qln

    n2-QLN: Intelligent Tool Router & Semantic Search Layer for MCP. Connect 1,000+ tools through 1 interface. Prevent AI model confusion and maximize context window efficiency

    Community choihyunsus