spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / sec-default / hooks / tool-register-refusal / tool-register-refusal.ts
6 lines · 252 BRaw
1/**
2 * Why a plugin outside policy may not add a tool while the organization's
3 * MCP allowlist is in force: the setting, then the rule.
4 */
5export const TOOL_REGISTER_REFUSAL =
6 'allowedMcpServers (managed): plugins outside policy may not add tools'