MATLAB MCP Server
About this tool
MathWorks' official MATLAB MCP server lets agents such as Claude Code, Codex and GitHub Copilot in VS Code work in local MATLAB. Five tools detect toolboxes, inspect code, evaluate snippets, run scripts and run unit tests. MATLAB coding-guideline resources are included for research computing, signal processing, control and simulation.
- Feature 1: detect_matlab_toolboxes detects installed MATLAB versions and toolboxes.
- Feature 2: check_matlab_code performs read-only static analysis of .m files.
- Feature 3: evaluate_matlab_code and run_matlab_file execute snippets or scripts and return outputs.
- Feature 4: run_matlab_test_file runs unit tests and returns results.
- Feature 5: Two MCP resources cover coding guidelines and plain-text Live Code rules.
Resource information
- Maintainer
- MathWorks; official company project.
- Type
- MCP
- Category
- Experiments & data analysis
- Runs on
- MCP
- Who it's for
- Researchers using MATLAB for numerical computing, signal and image processing, control or simulation, with agents writing, debugging and testing local scripts.
- License at time of listing
- Custom MathWorks license with BSD-style terms, restricted to use with MathWorks products.
- Source
- GitHub
