MCP Streamable HTTP Python Server
A Python template for creating a streamable HTTP MCP server. Requires an external 'mcp-config.json' file for client setup.
mcp-streamable-http-python-server
This is a starting place for a new streamable-http MCP Server built with python.
Streamable HTTP Transport was introduced on 2025-03-26. See MCP Spec Changelog.
Starts with the MCP Python SDK Quickstart Example and contains dependencies for MCP to get rolling.
Clone or fork this repo, make updates and start building your Streamable HTTP MCP Server with Python.
Running
Set up your environment:
python3.11 -m venv my_env
. ./my_env/bin/activate
pip install -r requirements.txt
Run the server:
python server.py
With a custom port:
PORT=3002 python server.py
Connect a Client
You can connect a client to your 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": {
"memvid": {
"type": "streamable-http",
"url": "http://localhost:3000"
}
}
}
Acknowledgements
- Obviously the modelcontextprotocol and Anthropic teams for the MCP Specification. https://modelcontextprotocol.io/introduction
- HeyFerrante for enabling and sponsoring this project.
Похожие серверы
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Fal.ai OpenAI Image
A server for the Fal.ai text-to-image API, powered by OpenAI's image model. Requires Fal.ai and OpenAI API keys.
Locust MCP Server
An MCP server for running Locust load tests. Configure test parameters like host, users, and spawn rate via environment variables.
MCP Code Crosscheck
A server for bias-resistant AI code review using cross-model evaluation.
Test Code Generator
Generates Vitest test code from JSON specifications using boundary value analysis and equivalence partitioning.
HED MCP Server
An MCP server for Hierarchical Event Descriptors (HED) that automates sidecar creation and annotation for BIDS event files using LLMs.
PropelAuth Integration MCP Server
The PropelAuth Integration MCP Server helps you and your favorite AI agent integrate PropelAuth as quickly and easily as possible into your project.
McpDocServer
An MCP-based server for searching and retrieving development framework documentation, supporting crawling and local file loading.
Chrome Debug MCP Server
Automate your browser by connecting to Chrome's debugging port, preserving your login state.
scan-mcp
Minimal MCP server for scanner capture (ADF/duplex/page-size), batching, and multipage assembly
SMART-E2B
Integrates E2B for secure code execution in cloud sandboxes, designed for Claude AI Desktop.