/** * MCP Resource registration for skill-based resources, aligned with SEP-2640 * (Skills Extension). * * URI Scheme: * skill:///SKILL.md -> Each skill's SKILL.md (listed in resources/list) * skill:/// -> Individual files inside a skill (template-resolvable, not listed) * skill://index.json -> SEP-2640 discovery index (application/json) * * is computed by getSkillPath(): "/" for prefixed * skills (final segment always equals frontmatter `name`), or just "" * for bundled skills with empty prefix. */ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { SkillState } from "./skill-tool.js"; /** * Register skill resources with the MCP server. */ export declare function registerSkillResources(server: McpServer, skillState: SkillState): void;