MCPcopy
hub / github.com/codeaashu/claude-code / isMcpInstructionsDeltaEnabled

Function isMcpInstructionsDeltaEnabled

src/utils/mcpInstructionsDelta.ts:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 * wins over both ant bypass and the GrowthBook gate.
36 */
37export function isMcpInstructionsDeltaEnabled(): boolean {
38 if (isEnvTruthy(process.env.CLAUDE_CODE_MCP_INSTR_DELTA)) return true
39 if (isEnvDefinedFalsy(process.env.CLAUDE_CODE_MCP_INSTR_DELTA)) return false
40 return (
41 process.env.USER_TYPE === 'ant' ||
42 getFeatureValue_CACHED_MAY_BE_STALE('tengu_basalt_3kr', false)
43 )
44}
45
46/**
47 * Diff the current set of connected MCP servers that have instructions

Callers 3

queryModelFunction · 0.85
getSystemPromptFunction · 0.85

Calls 3

isEnvTruthyFunction · 0.85
isEnvDefinedFalsyFunction · 0.85

Tested by

no test coverage detected