@kimsungwhee/apple-docs-mcp
Version:
MCP server for Apple Developer Documentation - Search iOS/macOS/SwiftUI/UIKit docs, WWDC videos, Swift/Objective-C APIs & code examples in Claude, Cursor & AI assistants
28 lines • 678 B
TypeScript
/**
* Tool handlers for Apple Developer Documentation MCP Server
*/
/**
* Tool handler function type
*/
export type ToolHandler = (args: unknown, server: any) => Promise<{
content: Array<{
type: string;
text: string;
}>;
isError?: boolean;
}>;
/**
* Map of tool names to their handlers
*/
export declare const toolHandlers: Record<string, ToolHandler>;
/**
* Handle tool call with the appropriate handler
*/
export declare function handleToolCall(toolName: string, args: unknown, server: any): Promise<{
content: Array<{
type: string;
text: string;
}>;
isError?: boolean;
}>;
//# sourceMappingURL=handlers.d.ts.map