{"version":"2.1.324","anchor":"mcp-deniedmcpservers-allowedmcpservers-matching-reworked","canonical_anchor":"mcp-deniedmcpservers-allowedmcpservers-matching-reworked","heading":"MCP server allow and deny rules now check several forms of a server's command","tier":"notice","area":"MCP","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/mcp-deniedmcpservers-allowedmcpservers-matching-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### MCP server allow and deny rules now check several forms of a server's command\n\nFor MCP servers started by a command, deniedMcpServers and allowedMcpServers now match against several possible forms of that command, not one\n\n**What**\n\nThe managed `deniedMcpServers` and `allowedMcpServers` settings now try more than one form of a server's command when deciding whether it is blocked or allowed. MCP servers are outside tools Claude Code connects to, and some of them are started by running a command on your machine.\n\n- Before, Claude Code matched these rules against a single list built from the command.\n\n- Now it goes through several candidate forms of the command, and checks allowed entries against each one.\n\n**Why**\n\nOrganizations that control which MCP servers may run get more thorough matching, so a server is less likely to slip past a rule because its command was written in a different form.\n\n- Area: MCP\n- Names: `deniedMcpServers`, `allowedMcpServers`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: yes"}