What's wrong with this entry?
Anonymous. No account, no email.
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
serverNameORserverCommand, 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 andKiA()at line 509003 for type checking - Evidence:
O8B()at line 185472,Tv1()at line 185485, schema at line 509164-509190