MCPcopy Create free account
hub / github.com/codeaashu/claude-code / findSlackClient

Function findSlackClient

src/utils/suggestions/slackChannelSuggestions.ts:23–27  ·  view source on GitHub ↗
(
  clients: MCPServerConnection[],
)

Source from the content-addressed store, hash-verified

21let inflightPromise: Promise<string[]> | null = null
22
23function findSlackClient(
24 clients: MCPServerConnection[],
25): MCPServerConnection | undefined {
26 return clients.find(c => c.type === 'connected' && c.name.includes('slack'))
27}
28
29async function fetchChannels(
30 clients: MCPServerConnection[],

Callers 2

fetchChannelsFunction · 0.85
hasSlackMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected