Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

claude mcp serve now refuses to start in restricted mode

claude mcp serve now reads the restricted option and stops with an error instead of serving when restricted mode is active

Group of 2 You'll notice Improvements
JSON All of v2.1.336
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release

What

claude mcp serve runs Claude Code as an MCP server, so other programs can use its tools over MCP (Model Context Protocol, a standard way for tools and programs to talk to each other). Restricted mode is the locked-down session mode turned on with --restricted or CLAUDE_CODE_RESTRICTED.

  • The mcp serve command now reads a restricted option and applies restricted mode when it is set. Before, it applied only strictMcpConfig.
  • A new check runs before serving over standard input and output. When restricted mode is active, it waits for your organization's policy limits to load and then stops with: Error: claude mcp serve cannot enforce restricted mode, so it did not start. The message tells you to start without --restricted and to set CLAUDE_CODE_RESTRICTED=0.
  • The check is controlled by the server-side flag tengu_wiggly_teacup, whose built-in default is to run the check, and a kill switch can turn it off. No reading of this flag's server value has been taken.

Why

If you run claude mcp serve in an environment where restricted mode is on, it now fails to start where it used to serve, because the server cannot enforce the restrictions.

Read from
Names in the bundleclaude mcp serve--restricted
Feature flag
tengu_wiggly_teacup Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.336: on

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.336. It isn't a statement about your account. What a flag value here can and cannot tell you

See this entry in the whole of v2.1.336 →

Feedback