Skip to main content
Glama
matlab
by matlab

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MW_MCP_SERVER_HELPNoDisplays help information for all arguments.
MW_MCP_SERVER_VERSIONNoDisplays the version of the MATLAB MCP Server.
MW_MCP_SERVER_LOG_LEVELNoLog levels: debug, info, warn, error. Default is 'info'.info
MW_MCP_SERVER_LOG_FOLDERNoFolder where the MCP server stores log files. If not specified, uses the default temporary folder of your operating system.
MW_MCP_SERVER_MATLAB_ROOTNoFull 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_FILENoPath to a JSON file defining custom MCP tools. Multiple files can be separated by colon (Linux/macOS) or semicolon (Windows).
MW_MCP_SERVER_DISABLE_TELEMETRYNoSet to 'true' to disable anonymized data collection. Default is 'false'.false
MW_MCP_SERVER_MATLAB_DISPLAY_MODENoSpecify whether to show the MATLAB desktop. Use 'desktop' (default) or 'nodesktop'.desktop
MW_MCP_SERVER_MATLAB_SESSION_MODENoSpecify whether to start a new MATLAB or connect to an existing session. Values: 'new', 'auto' (default), or 'existing'.auto
MW_MCP_SERVER_INITIAL_WORKING_FOLDERNoSpecify 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_STARTUPNoSet 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources