devtools

devtools

0.3.2 2026-10-16

Tools for questions only the interpreter can answer about itself, packaged so that an external program can ask. devtools.mcp and devtools.mcpEval serve Octave to AI assistants over the Model Context Protocol, the first read-only, the second adding evaluation, optionally in a sandbox. devtools.lsp serves editors over the Language Server Protocol. devtools.docLint checks a package's documentation against its code, and devtools.dialectLint checks whether code is written in Octave's own dialect or in MATLAB's.

Select Category:

Servers

devtools.mcp Serve the Model Context Protocol on standard input and output.
devtools.mcpEval Serve the Model Context Protocol on standard input and output, with evaluation.
devtools.lsp Serve the Language Server Protocol on standard input and output.

Diagnostics

devtools.selftest Check that a configured server starts and speaks cleanly.

Package checks

devtools.docLint Check the documentation of a package against the code it describes.
devtools.dialectLint Check which language a file is written in.
devtools.styleLint Check code against the layout rules of the Octave packages' coding style.