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

Function checkPermissions

src/tools/MCPTool/MCPTool.ts:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55 },
56 async checkPermissions(): Promise<PermissionResult> {
57 return {
58 behavior: 'passthrough',
59 message: 'MCPTool requires permission.',
60 }
61 },
62 renderToolUseMessage,
63 // Overridden in mcpClient.ts
64 userFacingName: () => 'mcp',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected