{"name":"--session-tunnel","slug":"session-tunnel","family":"cli","title":"CLI flags","noun":"CLI flag","description":"In remote cloud sessions only, `claude mcp serve` can now listen over HTTP with `--transport`, `--port` and `--session-tunnel`","description_source":"entry","described_by":{"version":"2.1.295","anchor":"claude-mcp-serve-gains-an-http-transport-port-and-ses"},"presence":{"first_seen":"2.1.295","removed_in":null,"in_current_build":true,"newest_mined":"2.1.295","builds":1,"mined_builds":138,"first_cited":{"version":"2.1.295","released_at":"2026-10-08 18:22:58","spans":3}},"aliases":[],"entries":[{"version":"2.1.295","anchor":"claude-mcp-serve-gains-an-http-transport-port-and-ses","heading":"claude mcp serve gains an HTTP mode, limited to remote cloud sessions","line":"In remote cloud sessions only, `claude mcp serve` can now listen over HTTP with `--transport`, `--port` and `--session-tunnel`","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text"},{"version":"2.1.295","anchor":"mcp-serve-session-tunnel-and-tool-output-protocol","heading":"mcp serve gains a session tunnel mode and can return tool output","line":"`claude mcp serve` has a new `--session-tunnel` mode that connects through a relay, and can return tool output and relay permission asks","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text, named in this entry"},{"version":"2.1.295","anchor":"session-tunnel-session-tunnel-reads-oauth-and-agent-proxy","heading":"Session tunnel startup reads sign-in and proxy tokens from a file descriptor","line":"Started with `--session-tunnel`, Claude Code can read its sign-in token and an agent proxy token from a launcher-supplied channel","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text, named in this entry"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"--session-id","slug":"session-id","description":"Use a specific session ID for the conversation (must be a valid UUID)"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/session-tunnel","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}