MATLAB MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MATLAB_PATHYesPath to your MATLAB executable (e.g., 'C:\Program Files\MATLAB\R2023b\bin\matlab.exe' on Windows, '/Applications/MATLAB_R2023b.app/bin/matlab' on macOS, or '/usr/local/MATLAB/R2023b/bin/matlab' on Linux)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
MATLAB Getting Started GuideBasic guide for getting started with MATLAB through the MCP server

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_matlab_code

Execute MATLAB code and return the results

generate_matlab_code

Generate MATLAB code from a natural language description

ID: t3mmsdxvmd