MCPcopy Create free account
hub / github.com/Noumena-Network/code / normalize

Function normalize

src/tools/MCPTool/classifyForCollapse.ts:587–592  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

585])
586
587function normalize(name: string): string {
588 return name
589 .replace(/([a-z])([A-Z])/g, '$1_$2')
590 .replace(/-/g, '_')
591 .toLowerCase()
592}
593
594export function classifyMcpToolForCollapse(
595 _serverName: string,

Callers 6

isAgentMemoryPathFunction · 0.50
resolveSkillFilePathFunction · 0.50
validateMemoryPathFunction · 0.50
isAutoMemPathFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected