MCP Streamable HTTP Python Server is an open-source development template that implements the Model Context Protocol over a streamable HTTP transport layer using Python. It connects LLM client applications to custom server-side functions and tools over standard network protocols rather than local standard input and output streams. Designed for developers building custom AI tools, remote microservices, or external integrations, it provides a functional starting architecture based on the official MCP Python SDK quickstart patterns. By using the streamable HTTP transport specification introduced in early 2025, the server allows clients like Claude Desktop and other MCP-compatible hosts to establish HTTP-based communication with running Python processes. Developers can clone the repository, add custom endpoints or tool handlers, configure port numbers, and run the service locally or within containerized environments. It simplifies bootstrapping remote or local HTTP MCP tools without requiring developers to write connection handling or low-level transport mechanisms from scratch.
Category: AI & LLM Tooling
Tags: http, python, streaming, template
Visit MCP Streamable HTTP Python Server
bash python3.11 -m venv my_env . ./my_env/bin/activate 3. Install the dependencies: bash pip install -r requirements.txt 4. Start the server directly or specify a custom port: bash python server.py # or with a custom port: PORT=3002 python server.py 5. Connect your MCP client using an HTTP streamable entry in your MCP configuration file (for example, mcp-config.json): json { "mcpServers": { "memvid": { "type": "streamable-http", "url": "http://localhost:3000" } } }Part of MCP Servers
To install it, clone the repository to your local system, set up a Python 3.11 virtual environment, activate it, and run pip install -r requirements.txt. Once dependencies are installed, start the application by running python server.py.
The server provides a starter template for running an MCP server over streamable HTTP transport. It allows developers to register custom Python functions, handle agent tool calls, and expose services to compatible AI clients over standard network ports.
Any MCP client that supports network-based streamable HTTP connections can interface with this server. Clients are configured by adding an entry pointing to the running server URL, such as http://localhost:3000, in the client configuration file.
Yes, MCP Streamable HTTP Python Server is open-source software available for developers to clone, fork, and customize on GitHub at https://github.com/ferrants/mcp-streamable-http-python-server.