MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / defaultPredicateContext

Function defaultPredicateContext

src/utils/tool-registry.ts:222–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220}
221
222function defaultPredicateContext(): PredicateContext {
223 return {
224 runtime: 'mcp',
225 config: getConfig(),
226 runningUnderXcode: false,
227 };
228}
229
230export function getMcpPredicateContext(): PredicateContext {
231 return registryState.currentContext ?? defaultPredicateContext();

Callers 2

getMcpPredicateContextFunction · 0.85

Calls 1

getConfigFunction · 0.90

Tested by

no test coverage detected