Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Hooks can tell when an MCP server belongs to Claude Desktop or VS Code

Tool hook inputs can now include a built_in flag meaning Claude Desktop or the VS Code extension started the session and owns the MCP server

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

A hook is a script or command you set up to run automatically at certain moments, for example before or after Claude uses a tool. An MCP server is an add-on program that gives Claude extra tools.

The information Claude Code passes to tool hooks can now include a built_in flag:

  • When present, it means Claude Desktop or the VS Code extension started this session and the MCP server is one of its own.
  • When absent, where the server came from is unknown.

The flag appears only on tool hook inputs.

Why

If you write hooks, you can now tell MCP servers supplied by the app you are running in apart from ones you configured yourself. Treat a missing flag as unknown, not as user-configured.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded built_in to the MCP server details that hooks receive: Claude Desktop sets it on its own servers, some of which run commands or…

See this entry in the whole of v2.1.337 →

Feedback