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

Function commandArraysMatch

src/services/mcp/config.ts:150–155  ·  view source on GitHub ↗

* Check if two command arrays match exactly

(a: string[], b: string[])

Source from the content-addressed store, hash-verified

148 * Check if two command arrays match exactly
149 */
150function commandArraysMatch(a: string[], b: string[]): boolean {
151 if (a.length !== b.length) {
152 return false
153 }
154 return a.every((val, idx) => val === b[idx])
155}
156
157/**
158 * Extract URL from server config (remote servers only)

Callers 2

isMcpServerDeniedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected