A side-by-side look at the Matlab MCP Server Python and ScratchRun MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Matlab MCP Server Python for code execution work as a local process; choose ScratchRun for code execution as a local process. You can also run both side by side in one mcpServers block.
MATLAB_MCP_POOL_MATLAB_ROOT.execute_code, check_code, get_workspace.SCRATCHRUN_API_KEY.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Code Execution | Code Execution |
| Quality signal | 53/100 · Good | 40/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | No auth required | Not declared |
| Pricing | Paid service | Not declared |
| Required env vars | MATLAB_MCP_POOL_MATLAB_ROOT | SCRATCHRUN_API_KEY |
| Verified owner | Community listing | Community listing |
| GitHub stars | 4 | 0 |
| Directory activity | 2 views 0 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | 20 | Not listed |
| Full listing | View Matlab MCP Server Python | View ScratchRun |
execute_codeRun MATLAB code. Returns inline if fast (<30s), or a job ID if promoted to asynccheck_codeRun `checkcode`/`mlint`. Returns structured warnings/errorsget_workspaceShow variables in the current MATLAB workspaceget_job_statusStatus + progress percentage for running jobsget_job_resultFull result of a completed jobcancel_jobCancel a pending or running joblist_jobsList all jobs in this sessionlist_toolboxesList installed MATLAB toolboxeslist_functionsList functions in a toolboxget_helpGet MATLAB help text for any functionupload_dataUpload data files to the sessiondelete_fileDelete a session fileNo tool names declared yet. Check the project README from the listing page.
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"hansur94-matlab-mcp-server-python": {
"command": "uvx",
"args": [
"matlab-mcp-python"
],
"env": {
"MATLAB_MCP_POOL_MATLAB_ROOT": "YOUR_MATLAB_MCP_POOL_MATLAB_ROOT_HERE"
}
}
}
}
{
"mcpServers": {
"scratchrun": {
"command": "npx",
"args": [
"-y",
"@scratchrun/mcp-server"
],
"env": {
"SCRATCHRUN_API_KEY": "YOUR_SCRATCHRUN_API_KEY_HERE"
}
}
}
}