Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-dimitr-io-carmaker-mcp": {
"command": "uvx",
"args": [
"carmaker-mcp"
],
"env": {
"CM_PROJECT": "<VALUE>",
"CM_MODEL": "<VALUE>",
"CM_MATLAB_SESSION": "cm_mcp",
"CM_POPUP_TIMEOUT": "<VALUE>",
"CM_ENABLE": "<VALUE>",
"CM_DISABLE": "<VALUE>",
"CM_HOME": "<VALUE>",
"CM_LOG_LEVEL": "<VALUE>",
"CM_STATE_DIR": "<VALUE>",
"CM_MATLAB_DIR": "<VALUE>",
"CM_MATLAB_EXE": "<VALUE>",
"CM_MATLAB_INIT": "<VALUE>",
"CM_RESULT_DIRS": "<VALUE>",
"CM_ENGINE_TIMEOUT": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-dimitr-io-carmaker-mcp": {
"command": "uvx",
"args": [
"carmaker-mcp"
],
"env": {
"CM_PROJECT": "<VALUE>",
"CM_MODEL": "<VALUE>",
"CM_MATLAB_SESSION": "cm_mcp",
"CM_POPUP_TIMEOUT": "<VALUE>",
"CM_ENABLE": "<VALUE>",
"CM_DISABLE": "<VALUE>",
"CM_HOME": "<VALUE>",
"CM_LOG_LEVEL": "<VALUE>",
"CM_STATE_DIR": "<VALUE>",
"CM_MATLAB_DIR": "<VALUE>",
"CM_MATLAB_EXE": "<VALUE>",
"CM_MATLAB_INIT": "<VALUE>",
"CM_RESULT_DIRS": "<VALUE>",
"CM_ENGINE_TIMEOUT": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-dimitr-io-carmaker-mcp": {
"command": "uvx",
"args": [
"carmaker-mcp"
],
"env": {
"CM_PROJECT": "<VALUE>",
"CM_MODEL": "<VALUE>",
"CM_MATLAB_SESSION": "cm_mcp",
"CM_POPUP_TIMEOUT": "<VALUE>",
"CM_ENABLE": "<VALUE>",
"CM_DISABLE": "<VALUE>",
"CM_HOME": "<VALUE>",
"CM_LOG_LEVEL": "<VALUE>",
"CM_STATE_DIR": "<VALUE>",
"CM_MATLAB_DIR": "<VALUE>",
"CM_MATLAB_EXE": "<VALUE>",
"CM_MATLAB_INIT": "<VALUE>",
"CM_RESULT_DIRS": "<VALUE>",
"CM_ENGINE_TIMEOUT": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-dimitr-io-carmaker-mcp": {
"command": "uvx",
"args": [
"carmaker-mcp"
],
"env": {
"CM_PROJECT": "<VALUE>",
"CM_MODEL": "<VALUE>",
"CM_MATLAB_SESSION": "cm_mcp",
"CM_POPUP_TIMEOUT": "<VALUE>",
"CM_ENABLE": "<VALUE>",
"CM_DISABLE": "<VALUE>",
"CM_HOME": "<VALUE>",
"CM_LOG_LEVEL": "<VALUE>",
"CM_STATE_DIR": "<VALUE>",
"CM_MATLAB_DIR": "<VALUE>",
"CM_MATLAB_EXE": "<VALUE>",
"CM_MATLAB_INIT": "<VALUE>",
"CM_RESULT_DIRS": "<VALUE>",
"CM_ENGINE_TIMEOUT": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-dimitr-io-carmaker-mcp": {
"command": "uvx",
"args": [
"carmaker-mcp"
],
"env": {
"CM_PROJECT": "<VALUE>",
"CM_MODEL": "<VALUE>",
"CM_MATLAB_SESSION": "cm_mcp",
"CM_POPUP_TIMEOUT": "<VALUE>",
"CM_ENABLE": "<VALUE>",
"CM_DISABLE": "<VALUE>",
"CM_HOME": "<VALUE>",
"CM_LOG_LEVEL": "<VALUE>",
"CM_STATE_DIR": "<VALUE>",
"CM_MATLAB_DIR": "<VALUE>",
"CM_MATLAB_EXE": "<VALUE>",
"CM_MATLAB_INIT": "<VALUE>",
"CM_RESULT_DIRS": "<VALUE>",
"CM_ENGINE_TIMEOUT": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-dimitr-io-carmaker-mcp": {
"command": "uvx",
"args": [
"carmaker-mcp"
],
"env": {
"CM_PROJECT": "<VALUE>",
"CM_MODEL": "<VALUE>",
"CM_MATLAB_SESSION": "cm_mcp",
"CM_POPUP_TIMEOUT": "<VALUE>",
"CM_ENABLE": "<VALUE>",
"CM_DISABLE": "<VALUE>",
"CM_HOME": "<VALUE>",
"CM_LOG_LEVEL": "<VALUE>",
"CM_STATE_DIR": "<VALUE>",
"CM_MATLAB_DIR": "<VALUE>",
"CM_MATLAB_EXE": "<VALUE>",
"CM_MATLAB_INIT": "<VALUE>",
"CM_RESULT_DIRS": "<VALUE>",
"CM_ENGINE_TIMEOUT": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| CM_PROJECT | Yes | CarMaker project folder. The server writes nowhere else. Needed to start a session from scratch. Default: read from the running CarMaker GUI. |
| CM_MODEL | No | Simulink model to open when a session is started. |
| CM_MATLAB_SESSION | No | Name under which MATLAB shares its engine. Default: cm_mcp. Default: cm_mcp |
| CM_POPUP_TIMEOUT | No | Seconds after which CarMaker pop-ups answer themselves with their default choice, so that a question cannot block a run. Not set: they wait for your click. |
| CM_ENABLE | No | Optional tools to switch on: tcl (raw Tcl in the CarMaker GUI), experimental (add and delete Simulink blocks). |
| CM_DISABLE | No | Tool groups to switch off, to give the model a shorter tool list: standalone, study, matlab, movie. |
| CM_HOME | No | CarMaker install folder. Default: newest C:\IPG\carmaker\win64-*. |
| CM_LOG_LEVEL | No | Detail of server.log. Default: INFO. |
| CM_STATE_DIR | No | Where backups, the change log and server.log are kept (never inside the project). Default: %LOCALAPPDATA%\carmaker-mcp. |
| CM_MATLAB_DIR | No | Folder MATLAB starts in (where cmenv.m is). Default: <project>/src_cm4sl. |
| CM_MATLAB_EXE | No | MATLAB executable used to start a session. Default: newest installed MATLAB that your CarMaker supports. |
| CM_MATLAB_INIT | No | Your project's own MATLAB setup script (in src_cm4sl, or a full path), run once when a session is started. Use it if you normally run a script that adds folders to the path and opens the model: without it the model may not compile. |
| CM_RESULT_DIRS | No | Extra folders to search for result files. |
| CM_ENGINE_TIMEOUT | No | Seconds before a call into MATLAB is given up. Default: 30. |