{"version":"2.1.336","anchor":"claude-code-marl-sorrel-env-var-is-deleted-in-one-remote-ses","canonical_anchor":"claude-code-marl-sorrel-env-var-is-deleted-in-one-remote-ses","heading":"Claude Desktop can pass claude.ai connectors through to a session","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/claude-code-marl-sorrel-env-var-is-deleted-in-one-remote-ses","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Claude Desktop can pass claude.ai connectors through to a session\n\nA new host connector pass lets Claude Desktop hand a session its claude.ai connectors, using `CLAUDE_CODE_MARL_SORREL` with a kill switch\n\n**Unclear.** What `CLAUDE_CODE_MARL_SORREL` does is not stated.\n\n**What**\n\nConnectors are claude.ai's links to outside services, reached through MCP (Model Context Protocol, a standard way for tools to talk to Claude). New code lets a host program, Claude Desktop, give a session access to those connectors under its own control.\n\n- Claude Code holds a connector token the host pushes to it, sends only tool listings and tool calls to the claude.ai MCP proxy, and blocks tools the host has not allowed. A blocked call returns: \"Not sent: Claude Desktop has not allowed this connector tool in this session. Don't call it again; tell the person if the task needs it.\"\n\n- `CLAUDE_CODE_MARL_SORREL` and `CLAUDE_CODE_MARL_SORREL_UNTIL` are new environment variables (named settings a program receives at start). Neither existed in 2.1.335. The same code holds an 8-hour value and a short list of MCP method names.\n\n- In remote sessions, the handler for `update_environment_variables` treats a new key specially when the session accepts a host connectors pass. The key is checked and reported as accepted or refused, and OAuth tokens get a separate flag.\n\n- `CLAUDE_CODE_MARL_SORREL` is deleted from the environment of worker processes, next to the sign-in variables `CLAUDE_CODE_OAUTH_TOKEN` and `CLAUDE_CODE_SESSIONS_OAUTH_TOKEN`.\n\n- `tengu_marl_sorrel_off` is a server-side flag that turns the feature off when set. Nothing has been read about this flag.\n\n**Why**\n\nSessions hosted by Claude Desktop can use claude.ai connectors with the host deciding which tools are allowed, and the connector value is handled like the other sign-in variables so it is not passed on to processes Claude Code starts.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}