Initial Checks
Question Type
Configuration and authentication
Your Question
We have setup MCP as a streamable-http as required for our setup. Setting up the URL just as:
http://x.x.x.x:8000
Error: "POST / HTTP/1.1" 404 Not Found
Digging around and determined we needed to have a trailing /mcp in the URL. Now our LLM is at least attempting to connect, but appears I need some sort of header information for the connection.
Error output:
2025-12-11 00:29:08,809 - mcp.server.streamable_http_manager - DEBUG - Creating new transport
2025-12-11 00:29:08,810 - mcp.server.streamable_http_manager - INFO - Created new transport with session ID: 74acef1612a1427c81111608c03a8bef
2025-12-11 00:29:08,814 - mcp.server.transport_security - WARNING - Invalid Host header: x.x.x.x:8000
Context (Optional)
No response
Environment (Optional)
Initial Checks
Question Type
Configuration and authentication
Your Question
We have setup MCP as a streamable-http as required for our setup. Setting up the URL just as:
http://x.x.x.x:8000Error:
"POST / HTTP/1.1" 404 Not FoundDigging around and determined we needed to have a trailing /mcp in the URL. Now our LLM is at least attempting to connect, but appears I need some sort of header information for the connection.
Error output:
Context (Optional)
No response
Environment (Optional)