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

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "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 →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers