{"version":"2.1.330","anchor":"session-tunnel-early-dial-with-hold-window","canonical_anchor":"session-tunnel-early-dial-with-hold-window","heading":"Session tunnels can now connect before the local server is ready","tier":"notice","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/session-tunnel-early-dial-with-hold-window","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Session tunnels can now connect before the local server is ready\n\nA `--session-tunnel` connection can now reach the relay before the local server starts, holding requests and answering \"still starting\" until then\n\n**Unclear.** It is not stated what causes a tunnel to connect early.\n\n**What**\n\nA 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.\n\nWhile the server is starting, the tunnel:\n\n- holds incoming messages, up to a time limit, a message count and a size limit\n\n- answers requests with a 503 `not_forwarded` error and the reason `tool_server_starting`\n\nOnce the server is ready, the tunnel takes it over. If the early connection fails, the tunnel connects once the server is ready, as before.\n\n**Why**\n\nIt shortens the wait before a tunneled MCP server can be reached.\n\n- Area: MCP\n- Names: `--session-tunnel`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}