MCP Directory
Back

mcp-streamable-http

by invariantlabs-ai · TypeScript · ★ 129

Example implementation of MCP Streamable HTTP client/server in Python and TypeScript.

#llm#mcp#mcp-client#mcp-server#mcp-streamable-http#model-context-protocol#model-context-protocol-client#model-context-protocol-server#tool-use

Install

npx -y github:invariantlabs-ai/mcp-streamable-http

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "mcp-streamable-http": {
      "command": "npx",
      "args": [
        "-y",
        "github:invariantlabs-ai/mcp-streamable-http"
      ]
    }
  }
}

From the README

This repository provides example implementations of MCP (Model Context Protocol) **Streamable HTTP client and server** in Python and Typescript, based on the specification: 📄 [MCP Streamable HTTP Spec](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http). You can set up a client + server stack entirely using either Python or TypeScript. This example also demonstrates cross-language compatibility, allowing a Python client to communicate with a TypeScript server, and vice-versa. Update the file inside the directory with the following content: By defau…
Read full README on GitHub →

Related ai & ml servers