Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Desktop application changeddesktop

Nearest release: v2.1.300, published 4 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 14 Oct 2026 19:14 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 14 Oct 2026 19:37 UTC.

Upstream edited
Recorded here
Lines+11added
Lines−3removed
From line 601 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits79to this page, all time

The whole hunk

from line 601, old and new numbered
/
lines
from line 601
601601 
602602* **`true`**: Claude finds and uses a free port automatically. Suitable for most dev servers.
603603* **`false`**: Claude fails with an error. Use this when your server must use a specific port, such as for OAuth callbacks or CORS allowlists.
604* **Not set (default)**: Claude asks whether the server needs that exact port, then saves your answer.
604* **Not set (default)**: your server gets the next free port, as with `true`, except in the one case below. Before Claude Desktop v2.37337.0, Claude asks whether the server needs that exact port instead, then saves your answer in `launch.json`.
605605 
606When Claude picks a different port, it passes the assigned port to your server via the `PORT` environment variable.
606If your preferred port is in use and `autoPort` is unset, your server stays stopped when all of these hold:
607 
608* You start the server through an `npm`, `yarn`, `pnpm`, or `bun` script.
609* Your preferred port is hardcoded in that script, or Claude can't inspect the script.
610* You don't pass the port in `runtimeArgs`.
611 
612In that case, free the port, remove the hardcoded value, or change `port` to match the script. Setting `"autoPort": true` instead works only for a script that reads `PORT`.
613 
614Have your server read its port from the `PORT` environment variable, which carries the assigned port. When Claude moves your server to a different port, it also rewrites a `--port` or `-p` value in `runtimeArgs` to match.
607615 
608616#### Examples
609617 
Feedback