MatlabMCP
10
This project is an MCP server for MATLAB, enabling execution of MATLAB code and variable management through a shared session using the MATLAB Engine API for Python. Its features include non-blocking execution, structured communication, and compatibility with tools like Claude Desktop.
What versions of MATLAB are supported?
MATLAB R2023a or higher is recommended for compatibility with the MATLAB Engine API for Python.
How do I verify if the MATLAB engine is shared?
Run matlab.engine.isEngineShared
in the MATLAB Command Window; it should return true
or 1
if shared.
Where can I find server logs?
Server logs are available in Claude Desktop's MCP log files, accessible via tail -f ~/Library/Logs/Claude/mcp-server-MatlabMCP.log
on macOS or %APPDATA%\Claude\logs\
on Windows.