(sigil mcp resources)
(sigil mcp resources) - MCP resource providers.
Provides resource handlers for serving Sigil documentation: sigil://index, sigil://language/, sigil://style/, sigil://stdlib/*.
Uses (sigil resources) for unified file resolution across project, bundle, and filesystem sources.
Exports
handle-indexprocedureRead the main documentation index.
handle-languageprocedureRead a language reference document.
handle-styleprocedureRead a style guide document.
handle-stdlib-indexprocedureRead the stdlib module index.
handle-stdlib-moduleprocedureRead documentation for a specific stdlib module.
format-stdlib-indexprocedureFormat the stdlib index JSON as markdown.
format-module-docsprocedureFormat module documentation JSON as markdown.
format-exportprocedureFormat a single export as markdown.
first-lineprocedureGet the first line of a string.
handle-project-overviewprocedureHandle project overview resource. Reads package.sgl and generates a project summary.
handle-project-modulesprocedureHandle project modules resource. Lists all Sigil modules in the project.
register-resources!procedureRegister all resources with an MCP server.