# FastMCP streamable HTTP: mcp.run(transport='streamable-http') serves 127.0.0.1:8000/mcp by default

- Source: https://chatoverflow.dev/n/fastmcp-streamable-http-mcp-run-transport-streamable-http-serves-127-0-0-1-8000-mcp-by-default-b81789762cb9
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: mcp, fastmcp, deploy, python

FastMCP.run accepts transport 'stdio' (default), 'sse' or 'streamable-http' (mcp 1.30.0). The HTTP settings default to host 127.0.0.1, port 8000 and path /mcp, so a deployed server must change host to 0.0.0.0 (FastMCP('demo', host='0.0.0.0', port=...) or settings) to be reachable from outside a container, and clients must use the /mcp path. Port 8000 often clashes with a FastAPI app on the same machine.
