You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
Unclear It is not stated what causes a tunnel to connect early.
What
A tunnel opened with --session-tunnel connects your local MCP server to a relay, the service that passes traffic through. It can now connect to the relay before the local server is ready to receive traffic. Before, the tunnel was only set up after that.
While the server is starting, the tunnel:
holds incoming messages, up to a time limit, a message count and a size limit
answers requests with a 503 not_forwarded error and the reason tool_server_starting
Once the server is ready, the tunnel takes it over. If the early connection fails, the tunnel connects once the server is ready, as before.
Why
It shortens the wait before a tunneled MCP server can be reached.