Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

--port

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.295 8 Oct 2026
Builds1 / 138on this box, as of v2.1.295
Written about v2.1.64 first named in a changelog, 3 Mar 2026
v2.1.295in the build not in the build never minedv2.1.295

In the changelogs

4

Releases whose published page names --port.

  1. 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

  2. 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

  3. v2.1.66
    Remote Control Simplified

    found in this entry's text

  4. v2.1.64
    Remote Control Server Mode

    found in this entry's text

First cited

3

The earliest release whose published evidence quoted --port 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 2026Error: --port only applies to --transport http
v2.1.2958 Oct 2026With --transport http --port 28471: dial the session tunnel that relays tool calls; reads one line of JSON (session id, token, API address) from standard input
v2.1.2958 Oct 2026needs --transport http and --port

Presence across releases

1
BuildsHow manyDatesReading
v2.1.2951 build8 Oct 2026 ◆in the build

Build by build

1

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

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