sigildocs

(sigil mcp tools)

(sigil mcp tools) - MCP tool implementations.

Provides the core tools for the Sigil MCP server: sigil/eval, sigil/format, sigil/lookup, sigil/search, sigil/exports, sigil/suggest-import, sigil/project-info, sigil/run-file, sigil/lint, sigil/reload.

Exports

tool-evalprocedure

Evaluate a Sigil expression and return the result.

tool-formatprocedure

Format Sigil source code and fix paren issues.

tool-lookupprocedure

Look up documentation for a name.

tool-exportsprocedure

List exports from a module.

tool-checkprocedure

Check Sigil code for syntax errors.

tool-testprocedure

Run Sigil tests. Note: This tool provides basic test running capability. For full test functionality, use the CLI sigil test command.

List all package documentation with summaries.

Read a specific package documentation file.

Find which module exports a given symbol.

Return project structure and metadata.

tool-run-fileprocedure

Run a Sigil file and capture output.

tool-lintprocedure

Check code for common issues.

tool-reloadprocedure

Reload a module in the current process.

Register all tools with an MCP server.