CLAUDE_REMOTE_TOOLS_BRIDGE_URL
Updated by Alex Sorokoletov
CLAUDE_REMOTE_TOOLS_BRIDGE_URL is a Claude Code environment variable: Overrides the base URL of the remote tools device bridge; when unset the URL is chosen from the OAuth environment. Added between v2.1.224 and v2.1.227 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added between v2.1.224 and v2.1.227 |
| Category | Network and proxy |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_REMOTE_TOOLS_BRIDGE_URL=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_REMOTE_TOOLS_BRIDGE_URL": "<value>"
}
}Related variables
CLAUDE_CODE_REMOTE_SDK_URL: Holds the URL of the remote SDK endpoint; when set and valid, it becomes the SDK connection URL.CLAUDE_BRIDGE_BASE_URLCLAUDE_BRIDGE_SESSION_INGRESS_URLANTHROPIC_BASE_URL: Custom endpoint for Anthropic services.CLAUDE_CODE_API_BASE_URL: Custom Claude Code API base URL for proxies.CLAUDE_CODE_ARTIFACT_VIEWER_BASE_URL: Sets the base URL for the artifact viewer.CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT: Set to start early remote work that opened the remote connection link when resuming a remote SDK session; read until v2.1.309.CLAUDE_CODE_CLIENT_DATA_URL: URL of a signed configuration document on downloads.claude.ai with per-model client data; same as --client-data-url, and keeps the URL out of the process list.
Frequently asked questions
What does CLAUDE_REMOTE_TOOLS_BRIDGE_URL do?
Overrides the base URL of the remote tools device bridge; when unset the URL is chosen from the OAuth environment.
Which Claude Code version has CLAUDE_REMOTE_TOOLS_BRIDGE_URL?
Added between v2.1.224 and v2.1.227 and still present in v2.1.332.
How do I set CLAUDE_REMOTE_TOOLS_BRIDGE_URL?
Export it before starting Claude Code (export CLAUDE_REMOTE_TOOLS_BRIDGE_URL=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.