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

Function isIncludedMcpTool

src/services/mcp/client.ts:569–573  ·  view source on GitHub ↗
(tool: Tool)

Source from the content-addressed store, hash-verified

567// For the IDE MCP servers, we only include specific tools
568const ALLOWED_IDE_TOOLS = ['mcp__ide__executeCode', 'mcp__ide__getDiagnostics']
569function isIncludedMcpTool(tool: Tool): boolean {
570 return (
571 !tool.name.startsWith('mcp__ide__') || ALLOWED_IDE_TOOLS.includes(tool.name)
572 )
573}
574
575/**
576 * Generates the cache key for a server connection

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected