/** * ResourceHandler - Manages MCP Resources capability * * Handles registration and serving of MCP resources including: * - Capability Index (summary, full, stats variants) * * Uses dependency injection pattern consistent with refactored architecture. * Resources are disabled by default and require explicit configuration. */ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { ConfigManager } from '../config/ConfigManager.js'; /** * Handler for MCP Resources protocol */ export declare class ResourceHandler { private readonly configManager; private capabilityIndexResource?; private isEnabled; private enabledVariants; constructor(configManager: ConfigManager); /** * Initialize and register resource handlers with the MCP server * * This method: * 1. Checks configuration to see if resources are enabled * 2. Initializes the CapabilityIndexResource * 3. Registers ListResourcesRequest and ReadResourceRequest handlers * * @param server - MCP Server instance to register handlers with */ initialize(server: Server): Promise; /** * Check if resources are currently enabled */ getIsEnabled(): boolean; /** * Get list of enabled resource variants */ getEnabledVariants(): string[]; } //# sourceMappingURL=ResourceHandler.d.ts.map