Back to Home
Abelin101 icon

mcp-http-streaming-bug-repro

Verified Safe

by 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

Run Command
python -m uvicorn ops.mcp.slim_server:app --host 127.0.0.1 --port 9098 --reload --log-level info

Security 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-19

Tags

MCPHTTPFastAPIChatGPTBug Repro