MATLAB MCP Server
by matlab
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MW_MCP_SERVER_HELP | No | Displays help information for all arguments. | |
| MW_MCP_SERVER_VERSION | No | Displays the version of the MATLAB MCP Server. | |
| MW_MCP_SERVER_LOG_LEVEL | No | Log levels: debug, info, warn, error. Default is 'info'. | info |
| MW_MCP_SERVER_LOG_FOLDER | No | Folder where the MCP server stores log files. If not specified, uses the default temporary folder of your operating system. | |
| MW_MCP_SERVER_MATLAB_ROOT | No | Full path specifying which MATLAB to start. Do not include /bin in the path. By default, the server tries to find the first MATLAB on the system PATH. | |
| MW_MCP_SERVER_EXTENSION_FILE | No | Path to a JSON file defining custom MCP tools. Multiple files can be separated by colon (Linux/macOS) or semicolon (Windows). | |
| MW_MCP_SERVER_DISABLE_TELEMETRY | No | Set to 'true' to disable anonymized data collection. Default is 'false'. | false |
| MW_MCP_SERVER_MATLAB_DISPLAY_MODE | No | Specify whether to show the MATLAB desktop. Use 'desktop' (default) or 'nodesktop'. | desktop |
| MW_MCP_SERVER_MATLAB_SESSION_MODE | No | Specify whether to start a new MATLAB or connect to an existing session. Values: 'new', 'auto' (default), or 'existing'. | auto |
| MW_MCP_SERVER_INITIAL_WORKING_FOLDER | No | Specify the folder where MATLAB starts. If not specified, MATLAB starts at the path of your AI application's first root, or a default location like /home/username or C:\Users\username\Documents. | |
| MW_MCP_SERVER_INITIALIZE_MATLAB_ON_STARTUP | No | Set to 'true' to initialize MATLAB as soon as you start the server. Default is 'false'. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessResponsive