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.
İlgili Sunucular
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Remote Weather MCP Server
A remote, authentication-free MCP server for weather data, deployable on Cloudflare Workers or run locally via npm.
agent-audit
Security scanner for MCP servers and AI agent tooling. Detects prompt injection, command injection, auth bypass, and excessive permissions.
CodeGraphContext
An MCP server that indexes local code into a graph database to provide context to AI assistants.
graphql-to-mcp
Turn any GraphQL API into MCP tools. Auto-introspection, flat schemas.
Code Context MCP Server
Provides code context from local git repositories.
Allyson
AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform
Grumpy Senior Developer
Provides sarcastic and cynical code reviews from the perspective of a grumpy senior developer.
Contentrain MCP
Extract, govern, and ship structured content from your codebase.
Developer MCP Server
A context management system designed for software development teams with customizable data storage.
MCP-Think
A Think Tool for LLMs to record and retrieve their thinking processes during reasoning.