Matlab MCP Server
Execute, evaluate, and manage MATLAB sessions directly through your AI assistant.
Data last scanned today · Reviewed today
Overview
The MATLAB MCP Server acts as an interface between your local MATLAB environment and AI assistants. It provides tools to start and terminate MATLAB sessions, execute arbitrary MATLAB code, and assess scripts for style and functional correctness.
Our verdict
With a security score of 53/100, this server is classified as high-risk. Because the authentication and read-only modes have not yet been editorially reviewed, users should exercise caution before deploying this in environments where sensitive data or system control is at stake. It is best suited for experimental or local development use cases rather than enterprise integration.
- Zero direct dependencies reduces the supply-chain surface area.
- Active development with commits within the last month.
- Provides automated code assessment for style and correctness.
- Security architecture, including OAuth, is not yet reviewed.
- Uses a NOASSERTION license, creating legal ambiguity.
- Read-only mode implementation remains unverified.
Tools
| Tool | Description | Risk |
|---|---|---|
| detect_matlab_toolboxes | Returns information about installed MATLAB and toolboxes, including version numbers. | low |
| check_matlab_code | Performs static code analysis on a MATLAB script. | low |
| evaluate_matlab_code | Evaluates a string of MATLAB code and returns the output. | medium |
| run_matlab_file | Executes a MATLAB script and returns the output. | medium |
| run_matlab_test_file | Executes a MATLAB test script and returns comprehensive test results. | medium |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›What are the MATLAB version requirements?
You must have MATLAB R2021a or later installed and added to your system PATH. The server supports MATLAB releases from the past five years.
›What is the purpose of the MATLAB MCP Server Toolbox?
The toolbox is required to connect the server to existing MATLAB sessions. You can install the latest version by running the command ./matlab-mcp-server --setup-matlab.
›How do I upgrade from the previous MATLAB MCP Core Server?
You must update your configuration settings to use the new binary naming format and rename the MCP bundle if you are using Claude Desktop. You should also uninstall the previous version before installing the new bundle.
›Can I use the server with different AI applications?
Yes, the server supports any AI application that utilizes the Model Context Protocol. Documentation is provided for specific integrations including Claude Code, Claude Desktop, and GitHub Copilot in VS Code.
›Is there a way to customize the server behavior?
Yes, you can customize the server by specifying optional arguments when adding the server to your AI application, such as setting an initial working folder.
Changelog
- FixMATLAB MCP Server v0.11.2
2026-07-10
- FixMATLAB MCP Server v0.11.1
2026-06-25
- NewMATLAB MCP Server v0.11.0
2026-06-18
- SecurityMATLAB MCP Core Server v0.10.1
2026-06-10
- NewMATLAB MCP Core Server v0.10.0
2026-05-27
- ImprovedMATLAB MCP Core Server v0.9.2
2026-05-21
- NewMATLAB MCP Core Server v0.9.1
2026-05-14
- NewMATLAB MCP Core Server v0.9.0
2026-04-30
- FixMATLAB MCP Core Server v0.8.1
2026-04-23
- FixMATLAB MCP Core Server v0.8.0
2026-04-15
Badge
Maintain this server? Add the live badge to your README.