devtools

devtools

0.1.0 2026-08-29

Tools for questions only the interpreter can answer about itself, packaged so that an external program can ask. This release serves that over the Model Context Protocol (MCP), exposing Octave to any MCP-capable assistant. The server process is an Octave interpreter, so the interpreter answering a question is the interpreter being asked about, with the same load path, the same installed packages and the same version. Two entry points, so that the safe one can be given blanket permission and the other cannot be reached by a host configured for it: devtools.mcp provides read-only introspection of functions, classes, namespaces and installed packages, evaluating no code and writing nothing, and devtools.mcpEval adds evaluation in named workspaces and running a function's built-in tests.

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.

Diagnostics

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