Runs MATLAB code from a conversation, generates MATLAB scripts from natural language and looks up MATLAB documentation.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add matlab-server-williamcloudqi --env MATLAB_PATH='<MATLAB_PATH>' -- node /path/to/matlab-server/build/index.js~/.codex/config.toml
[mcp_servers.matlab-server-williamcloudqi]
command = "node"
args = ["/path/to/matlab-server/build/index.js"]
env = { MATLAB_PATH = "<MATLAB_PATH>" }
# codex mcp add matlab-server-williamcloudqi --env MATLAB_PATH='<MATLAB_PATH>' -- node /path/to/matlab-server/build/index.js~/.cursor/mcp.json
{
"mcpServers": {
"matlab-server-williamcloudqi": {
"command": "node",
"args": [
"/path/to/matlab-server/build/index.js"
],
"env": {
"MATLAB_PATH": "<MATLAB_PATH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"matlab-server-williamcloudqi": {
"type": "stdio",
"command": "node",
"args": [
"/path/to/matlab-server/build/index.js"
],
"env": {
"MATLAB_PATH": "<MATLAB_PATH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"matlab-server-williamcloudqi": {
"command": "node",
"args": [
"/path/to/matlab-server/build/index.js"
],
"env": {
"MATLAB_PATH": "<MATLAB_PATH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"matlab-server-williamcloudqi": {
"command": "node",
"args": [
"/path/to/matlab-server/build/index.js"
],
"env": {
"MATLAB_PATH": "<MATLAB_PATH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"matlab-server-williamcloudqi": {
"command": "node",
"args": [
"/path/to/matlab-server/build/index.js"
],
"env": {
"MATLAB_PATH": "<MATLAB_PATH>"
}
}
}
}Environment variables
MATLAB_PATH
Replace the placeholders with your own credentials and keep them out of version control.