mcp-http-streaming-bug-repro
Verified Safeby Abelin101
Overview
Reproduce and debug a specific 'Error in message stream' bug in ChatGPT's HTTP MCP message streaming pipeline using a minimal server.
Installation
python -m uvicorn ops.mcp.slim_server:app --host 127.0.0.1 --port 9098 --reload --log-level infoSecurity Notes
The server uses a wide-open CORS policy (`allow_origins=["*"]`), which is a security risk for general production applications. However, in the context of a minimal bug reproduction server, often exposed via temporary tunnels like ngrok, this is a common and sometimes necessary configuration to ensure connectivity and is not indicative of malicious intent or a fundamental flaw in the minimal code itself. No 'eval' or other dangerous patterns found. No hardcoded secrets.
Similar Servers
fastify-mcp-server
A Fastify plugin providing a streamable HTTP transport for the Model Context Protocol (MCP), enabling AI assistants to interact with services.
mcp-server-demo
Demonstrates an MCP (Multi-Agent Communication Protocol) server using the FastMCP 2.0 framework, exposing tools, resources, and prompts via an HTTP API.
mcp_hello_server
Minimal MCP-style server implemented with FastAPI for demonstrating and extending Model Context Protocol interactions.
test_mcp
Simple MCP server for testing FastMCP connectivity and demonstrating basic tool functionality.