MCPcopy
hub / github.com/codeaashu/claude-code / getMcpInstructionsSection

Function getMcpInstructionsSection

src/constants/prompts.ts:160–165  ·  view source on GitHub ↗
(
  mcpClients: MCPServerConnection[] | undefined,
)

Source from the content-addressed store, hash-verified

158}
159
160function getMcpInstructionsSection(
161 mcpClients: MCPServerConnection[] | undefined,
162): string | null {
163 if (!mcpClients || mcpClients.length === 0) return null
164 return getMcpInstructions(mcpClients)
165}
166
167export function prependBullets(items: Array<string | string[]>): string[] {
168 return items.flatMap(item =>

Callers 1

getSystemPromptFunction · 0.85

Calls 1

getMcpInstructionsFunction · 0.85

Tested by

no test coverage detected