MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / getForceExposedToolAliases

Function getForceExposedToolAliases

src/utils/tool-registry.ts:93–105  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv = process.env)

Source from the content-addressed store, hash-verified

91}
92
93function getForceExposedToolAliases(env: NodeJS.ProcessEnv = process.env): Set<string> {
94 const value = env.XCODEBUILDMCP_TEST_FORCE_TOOL_EXPOSURE;
95 if (!value) {
96 return new Set();
97 }
98
99 return new Set(
100 value
101 .split(',')
102 .map((alias) => alias.trim().toLowerCase())
103 .filter((alias) => alias.length > 0),
104 );
105}
106
107function buildToolAliasMap(manifest: ResolvedManifest): Map<string, string> {
108 const toolIdByAlias = new Map<string, string>();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected