Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

--session-tunnel

cli in the build JSON

A Claude Code CLI flag, read out of the shipped bundle. It has been in the build since v2.1.295, including the newest one read.

In remote cloud sessions only, claude mcp serve can now listen over HTTP with --transport, --port and --session-tunnel

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.295.

First seen v2.1.295 8 Oct 2026
Last seen v2.1.330 20 Nov 2026
Builds32 / 169on this box, as of v2.1.330
Written about v2.1.295 first named in a changelog, 8 Oct 2026
v2.1.295in the build not in the build never minedv2.1.330

In the changelogs

9

Releases whose published page names --session-tunnel.

  1. v2.1.324
    Session tunnels can take a renewed token, with a new error when the relay is unreachable

    A --session-tunnel connection can now be handed a new token while running, and a new error covers the relay being unreachable with that renewed token

    found in this entry's text, named in this entry

  2. v2.1.299
    --session-tunnel now watches the program that started it

    --session-tunnel now tracks the process that launched it, refuses to start if it cannot see it, and exits once it is gone

    found in this entry's text, named in this entry

  3. v2.1.299
    Session tunnels for claude mcp serve start up a different way

    With --session-tunnel, mcp serve now sets up its connection from a transport and a port, and a refused start shows the refusal text

    found in this entry's text, named in this entry

  4. v2.1.299
    Session tunnels now say why a connection expired

    With --session-tunnel, a lasting relay failure now reports either a passed stated expiry or an expired token instead of one general reason

    found in this entry's text, named in this entry

  5. v2.1.299
    Session tunnels shut down at the token expiry time they were given

    --session-tunnel now accepts a session_token_expires_at time and shuts down once that time has passed

    found in this entry's text, named in this entry

  6. v2.1.296
    Session tunnels report when a stream drops before the deadline

    With --session-tunnel, the remote tools check can now report a dropped stream instead of only a missed deadline, and pings run more quietly

    found in this entry's text, named in this entry

  7. v2.1.295
    claude mcp serve gains an HTTP mode, limited to remote cloud sessions

    In remote cloud sessions only, claude mcp serve can now listen over HTTP with --transport, --port and --session-tunnel

    found in this entry's text

  8. v2.1.295
    mcp serve gains a session tunnel mode and can return tool output

    claude mcp serve has a new --session-tunnel mode that connects through a relay, and can return tool output and relay permission asks

    found in this entry's text, named in this entry

  9. v2.1.295
    Session tunnel startup reads sign-in and proxy tokens from a file descriptor

    Started with --session-tunnel, Claude Code can read its sign-in token and an agent proxy token from a launcher-supplied channel

    found in this entry's text, named in this entry

First cited

4

The earliest release whose published evidence quoted --session-tunnel was v2.1.295, 8 Oct 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.2958 Oct 2026--session-tunnel
v2.1.2958 Oct 2026--session-tunnel: the token has expired
v2.1.2958 Oct 2026[agent-proxy] a tool container's daemon was handed no token (CCR_AGENT_PROXY_TOKEN_FILE_DESCRIPTOR, or agent_proxy_token with --session-tunnel); proxy disabled
v2.1.29914 Oct 2026--session-tunnel cannot see the runner that started it

Presence across releases

1
BuildsHow manyDatesReading
v2.1.295 – v2.1.33032 builds8 Oct 2026 → 20 Nov 2026 ◆in the build

Build by build

32

One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.

BuildDateStateThe record behind it
v2.1.2958 Oct 2026·addedverdict: added
v2.1.2969 Oct 2026·presentverdict: present
v2.1.29914 Oct 2026·presentverdict: present
v2.1.30014 Oct 2026·presentverdict: present
v2.1.30115 Oct 2026·presentverdict: present
v2.1.30216 Oct 2026·presentverdict: present
v2.1.30318 Oct 2026·presentverdict: present
v2.1.30419 Oct 2026·presentverdict: present
v2.1.30520 Oct 2026·presentverdict: present
v2.1.30621 Oct 2026·presentverdict: present
v2.1.30721 Oct 2026·presentverdict: present
v2.1.30822 Oct 2026·presentverdict: present
v2.1.30922 Oct 2026·presentverdict: present
v2.1.31023 Oct 2026·presentverdict: present
v2.1.31126 Oct 2026·presentverdict: present
v2.1.31227 Oct 2026·presentverdict: present
v2.1.31430 Oct 2026·presentverdict: present
v2.1.31530 Oct 2026·presentverdict: present
v2.1.31631 Oct 2026·presentverdict: present
v2.1.3172 Nov 2026·presentverdict: present
v2.1.3183 Nov 2026·presentverdict: present
v2.1.3196 Nov 2026·presentverdict: present
v2.1.3219 Nov 2026·presentverdict: present
v2.1.32210 Nov 2026·presentverdict: present
v2.1.32312 Nov 2026·presentverdict: present
v2.1.32413 Nov 2026·presentverdict: present
v2.1.32513 Nov 2026·presentverdict: present
v2.1.32616 Nov 2026·presentverdict: present
v2.1.32717 Nov 2026·presentverdict: present
v2.1.32818 Nov 2026·presentverdict: present
v2.1.32919 Nov 2026·presentverdict: present
v2.1.33020 Nov 2026·presentverdict: present

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.

Feedback