Claude Code brings enterprise hooks and cloud endpoints to developer terminals

Claude Code 2.1.336 applies hooks and custom cloud endpoints from Anthropic’s Enterprise Admin Console. Here’s what platform teams can move into the console and what they still need to verify on each device.

Editorial cover: Claude, Anthropic, Claude CodeEditorial cover: Claude, Anthropic, Claude Code
Company marks identify their owners. Reference only; no endorsement.

Anthropic released Claude Code 2.1.336 on December 3, letting enterprise admins deliver hooks and a terminal status line from the Enterprise Admin Console. The client can also use custom base URLs from the console for Amazon Bedrock, Mantle, Google Cloud’s Agent Platform, and Microsoft Foundry. For platform teams that already configure Claude Desktop through the console, the release brings more of that setup to signed-in Claude Code sessions in the terminal and VS Code. Anthropic’s release notes

The Enterprise Admin Console supplies settings to signed-in Claude Code. The client runs hooks on the device and sends model requests to the configured cloud endpoint.The Enterprise Admin Console supplies settings to signed-in Claude Code. The client runs hooks on the device and sends model requests to the configured cloud endpoint.
In eligible signed-in sessions, Claude Code applies hooks locally and sends model requests to the cloud endpoint configured for the organization. Based on Anthropic’s Enterprise Admin Console documentation.

Anthropic’s Claude Code v2.1.336 release page on GitHub
Anthropic’s Claude Code v2.1.336 release notes on GitHub. · Original source

Existing hooks can reach terminals after sign-in

Hooks already saved in the console can take effect when an eligible developer starts the new client. That makes the settings already on the Claude Code page and in group policies the first place to look. A team can, for example, use an existing pre-edit hook to run a local license check. The console supplies the hook definition. The organization still has to install the checker on each device and account for differences in executable paths across operating systems. The centrally configured status line appears in the terminal. The VS Code panel has no status line. Anthropic’s setup guide · Console settings reference

On a pilot machine, open /status and confirm that Setting sources includes Enterprise managed settings (remote). Then try an edit the hook should block in a disposable project. The Managed settings (remote) row can name hooks even when Claude Code could not read their configuration. Check for a startup settings error and verify that the checker ran and the edit was blocked. A missing checker can also block an edit when the hook’s failure policy is set to block. Anthropic’s setup guide

Check the model destination and the proxy login separately

The custom base URL determines who receives model requests and their contents. On a signed-in pilot machine, check that /status shows the expected provider and base URL before sending a test prompt. If a private Bedrock endpoint was set on the device and the organization’s connection takes precedence, leaving the console’s base URL blank can send requests to the provider’s default address. The release also stops passing a console-set ANTHROPIC_BASE_URL to managed hooks, managed MCP servers, and credential helpers. Verify the terminal’s model request separately from any helper’s connectivity check. Console settings reference · Automater’s guide to checking Claude Code’s cloud provider

The update also adds identity-provider sign-in for supported Bedrock proxy setups. Admins using a non-broker flow need to register the terminal’s redirect URI alongside the existing Desktop URI. Developers then sign in to the proxy separately from their organization sign-in. With a Bedrock proxy configured to use the broker flow, terminal Claude Code uses the provider configured on the computer. The device still needs a provider and credentials for that setup. Anthropic’s setup guide

Decide which settings stay on the device

Anthropic documents Desktop 3P connections separately from the standard Claude Code server-managed settings page. For the Desktop 3P setup, a remaining device-managed Claude Code setting can keep the console configuration from applying unless the device is configured to accept settings from the organization. Version 2.1.336 adds allowedAdminConsoleOrgUUIDs for deployments where developers still need API key or token support. While a signed-in session uses the organization’s connection, model requests take that connection and Claude Code leaves the developer’s Anthropic API key unused. The console’s sign-in switch enables the workflow. Requiring organization sign-in for cloud-provider or gateway sessions takes device-managed policy. Standard server-managed settings documentation · Anthropic’s setup guide

Before removing a device profile, list the controls that still depend on it, such as a minimum client version or plugins that IT installs. Check the terminal and VS Code clients your team runs. If a developer signs in successfully and Enterprise managed settings (remote) is missing, check the startup message for a device policy that takes precedence. Anthropic’s setup guide

Sources

  1. Release v2.1.336 · anthropics/claude-code · GitHub
  2. Manage Claude Code in the terminal from the Enterprise Admin Console - Claude.ai Documentation
  3. Configure server-managed settings - Claude Code Docs
  4. How Claude Code in the terminal applies your console settings - Claude.ai Documentation