Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.56 Home All releases olderv2.0.55 v2.0.57newer
Claude Code v2.0.56

Command-Based MCP Server Matching

What: Enterprise admins can now allow or deny MCP servers by their exact command invocation, not just by name.

How to use:

{
  "allowedMcpServers": [
    { "serverName": "weather" },
    { "serverCommand": ["npx", "-y", "@company/approved-server"] }
  ]
}

Details:

  • Each entry must have EITHER serverName OR serverCommand, not both
  • Command matching requires exact array equality (all arguments must match)
  • Backward compatible - name-based matching still works
  • New functions TzA() at line 509000 and KiA() at line 509003 for type checking
  • Evidence: O8B() at line 185472, Tv1() at line 185485, schema at line 509164-509190

See this entry in the whole of v2.0.56 →