How to block one MCP tool in Claude Code and keep the rest of the server Claude Code removes a tool from Claude's context entirely when its full name, formatted as mcp____, is listed in the permissions.deny array of ~/.claude/settings.json, according to a test by Calyban, which makes a tool that scans MCP server tool descriptions for hidden instructions. In Calyban's test, deny rules for nine tools on an email connector with 31 tools took effect immediately in a session running in Bypass permissions mode, with no restart required, and the denied tools could not be found by name. Deny rules are checked before ask and allow rules and cannot be overridden by another settings file, so a project-level .claude/settings.json cannot re-enable a tool denied at the user level. How to block one MCP tool in Claude Code and keep the rest of the server Short answer: put the tool’s full name, mcp