{"version":"2.1.283","anchor":"new-env-var-claude-code-remote-tools-pin-stored-login-makes","canonical_anchor":"new-env-var-claude-code-remote-tools-pin-stored-login-makes","heading":"New variable pins the remote tools helper to your stored claude.ai login","tier":"use","area":"Remote Tools","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/new-env-var-claude-code-remote-tools-pin-stored-login-makes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### New variable pins the remote tools helper to your stored claude.ai login\n\nWith `CLAUDE_CODE_REMOTE_TOOLS_PIN_STORED_LOGIN` set, the serve helper exits with code 78 if its API or sign-in addresses are not Anthropic's own\n\n**Unclear.** It is not clear what normally sets this variable or what triggers the check.\n\n**What**\n\nClaude Code reads a new environment variable (a setting passed to a program when it starts), `CLAUDE_CODE_REMOTE_TOOLS_PIN_STORED_LOGIN`. When it is set to true, the serve helper checks where it is about to connect before it runs:\n\n- `ANTHROPIC_BASE_URL` must be the Anthropic API over https.\n\n- The sign-in addresses (`BASE_API_URL`, `TOKEN_URL`, `CLAUDE_AI_ORIGIN`, `API_KEY_URL`, `ROLES_URL`, `MCP_PROXY_URL`) must match this computer's stored claude.ai login.\n\nIf any of them does not match, the helper prints an error saying it stopped because the address does not resolve to this computer's stored claude.ai login on Anthropic's own service, and exits with code 78. Local development builds are allowed on local hosts. The variable is also removed before Claude Code starts child processes.\n\n**Why**\n\nIt works as a safety pin: the helper will not run if its API address or sign-in addresses have been redirected somewhere else.\n\n- Area: Remote Tools\n- Names: `CLAUDE_CODE_REMOTE_TOOLS_PIN_STORED_LOGIN`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5"}