{"version":"2.1.290","anchor":"claude-code-remote-sdk-url-fallback-for-the-sdk-url-host","canonical_anchor":"claude-code-remote-sdk-url-fallback-for-the-sdk-url-host","heading":"Remote sessions can read the SDK address from CLAUDE_CODE_REMOTE_SDK_URL","tier":"use","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290\/e\/claude-code-remote-sdk-url-fallback-for-the-sdk-url-host","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290","markdown":"### Remote sessions can read the SDK address from CLAUDE_CODE_REMOTE_SDK_URL\n\nWhen --sdk-url is not given in a remote session, Claude Code now reads the address from the CLAUDE_CODE_REMOTE_SDK_URL environment variable\n\n**Unclear.** It is not clear exactly what Claude Code checks to decide that a session counts as remote.\n\n**What**\n\nThe connection address that `--sdk-url` normally supplies can now come from an environment variable, `CLAUDE_CODE_REMOTE_SDK_URL`. An environment variable is a named value set in the shell or system before a program starts. When `--sdk-url` is missing and Claude Code is running as a remote session, the remote session host and the gateway host read their address from this variable. Before, both stopped with an error saying `--sdk-url` was required.\n\n**Why**\n\nCloud-hosted sessions can be given this address through their environment rather than on the command line.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_REMOTE_SDK_URL`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}