MathWorks Releases Open-Source Tools to Let AI Agents Run and Debug MATLAB Code
MathWorks has launched two open-source packages — MATLAB MCP Server and MATLAB Agentic Toolkit — enabling AI agents to write, execute, and iteratively debug code within a live MATLAB session. The MCP Server acts as a bridge between large language models and the MATLAB engine, exposing capabilities such as script execution, output retrieval, and error reporting via the open Model Context Protocol standard. The Agentic Toolkit provides higher-level scaffolding and reusable patterns to help agents handle common engineering tasks without rebuilding logic each session. Because MCP is an open standard, the tools are compatible with multiple agent runtimes including Claude Code, GitHub Copilot, and Gemini CLI, avoiding vendor lock-in. The key distinction MathWorks highlights is that agents now base responses on deterministic computation rather than probabilistic guessing, receiving actual error traces and numerical results to refine their outputs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in