script_path
(string): Absolute path to the MATLAB script file to analyze. Must be a valid .m file. The file is not modified during analysis. Example: C:\Users\username\matlab\myFunction.m or /home/user/scripts/analysis.m.
How to use it
script_path is exposed by the Matlab MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the script_path tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Matlab MCP Server
$
claude mcp add --transport stdio matlab -- /fullpath/to/matlab-mcp-server-binary