MCPcopy Create free account
hub / github.com/github/gh-aw / mcpToolKey

Function mcpToolKey

pkg/cli/audit_diff.go:406–408  ·  view source on GitHub ↗

mcpToolKey returns a unique key for an MCP tool given its server and tool name.

(serverName, toolName string)

Source from the content-addressed store, hash-verified

404
405// mcpToolKey returns a unique key for an MCP tool given its server and tool name.
406func mcpToolKey(serverName, toolName string) string {
407 return serverName + ":" + toolName
408}
409
410// computeMCPToolsDiff computes the diff between two runs' MCP tool usage.
411// run1 is the "before" (baseline) and run2 is the "after" (comparison target).

Callers 1

computeMCPToolsDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected