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

Function isMcpCommand

src/services/mcp/utils.ts:254–256  ·  view source on GitHub ↗
(command: Command)

Source from the content-addressed store, hash-verified

252 * @returns True if the command is from an MCP server
253 */
254export function isMcpCommand(command: Command): boolean {
255 return command.name?.startsWith('mcp__') || command.isMcp === true
256}
257
258/**
259 * Describe the file path for a given MCP config scope.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected