Skip to content

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.

TypeScript
424 B
Raw Blame
import type { Settings } from 'claude-code'

/**
 * Whether the policy read marks the organization's server file
 * (managed-mcp.json) as present and unreadable: its servers cannot be named.
 *
 * @param policy the managed settings, as `$.settings.read` answers them
 * @returns true when the mark is set
 */
export const isServerFileUnreadable = (policy: Settings): boolean =>
  policy.managedMcpServersUnreadable === true