Skip to content
MCP server
Registry

CarMaker MCP Server

Drive IPG CarMaker for Simulink: run test runs, read results, edit vehicle data and parameters.

CarMaker scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 2 stars. Package registries report about 55 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by de-ioannidisMITPython2 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 5 + 10 + 4 + 7 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "de-ioannidis-carmaker-mcp": {      "command": "uvx",      "args": [        "carmaker-mcp"      ],      "env": {        "CM_PROJECT": "",        "CM_MODEL": "",        "CM_MATLAB_SESSION": "cm_mcp",        "CM_POPUP_TIMEOUT": "",        "CM_ENABLE": "",        "CM_DISABLE": ""      }    }  }}

Environment variables

NameRequiredNotes
CM_PROJECTRequiredCarMaker project folder. All writes are confined to it.
CM_MODELOptionalSimulink model that cm_session_start opens (name on the MATLAB path, or a file).
CM_MATLAB_SESSIONOptionalName under which MATLAB shares its engine.
CM_POPUP_TIMEOUTOptionalSeconds after which CarMaker GUI pop-ups answer themselves with their default choice. Not set: they wait for a click.
CM_ENABLEOptionalOptional tools, comma separated: tcl (raw Tcl in the GUI), experimental (Simulink structure edits).
CM_DISABLEOptionalTool groups to switch off, comma separated: standalone, study, matlab.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

carmaker-mcp

https://github.com/user-attachments/assets/6093b1a3-8ef5-43ef-8134-b214d534720f

Claude Desktop with this server (CarMaker without MATLAB, IPGMovie open) and MathWorks' MATLAB MCP server for the figure. A 68-run sweep of the driver's limits on a Formula Student skid pad; the agent's work is shown 30 times faster.

Open Carmaker (standalone) and run Skidpad tests with the Rhea vehicle (torque vectoring disabled). Run a parameter sweep for the IPGDriver's lateral acceleration limits and gg exponents to get the best lap time. Open IPGMovie first so I can see the runs. Evaluate lap time based on the average time between the second lap on the right and the second lap on the left. Plot out the yaw rate and lateral acceleration of the best run using MATLAB (MCP).

An MCP server that lets an AI agent drive IPG CarMaker on your computer: start a session, run test runs and parameter studies, read and plot the results, change vehicle, driver and Simulink controller parameters, and undo what it changed.

Unofficial community project, not affiliated with or endorsed by IPG Automotive or MathWorks. You need your own CarMaker and MATLAB/Simulink licences. This repository contains no IPG or MathWorks code or data.

Status: alpha. Developed and tested on one setup (CarMaker 14.1.1, MATLAB R2024b, Windows 11). docs/verification.md lists what has been checked against real software and what has not.

What it does

Things you can ask an agent once the server is connected:

  • "Run the braking test run and tell me the stopping distance."
  • "Set Kp_yaw to 1.5 in the controller model, run the slalom again and compare the yaw rate."
  • "Try the lane change with a vehicle mass of 280, 300 and 320 kg and tabulate the lateral acceleration."
  • "Sweep the driver's lateral acceleration limit and g-g exponents on the skid pad and give me the best lap time." (lap times come from the test run's own timing markers, as CarMaker's instrument shows them)
  • "Plot the yaw rate of the last two runs over distance."
  • "The car got heavier. Run a driver adaption, then the autocross again."
  • "The last run aborted. Why?"
  • "Undo everything you changed."

Runs go at CarMaker's maximum speed unless you ask for a slower one. Parameter studies run in the background, one run after another, with IPGMovie open if you want to watch. The server also teaches the agent how IPGDriver works (cm_guide): which driver to choose, how its limits and g-g exponents set the lap time, and when a driver adaption is worth its minutes.

It works in two ways, and the agent picks the one that fits the vehicle:

MATLAB-connected sessionStandalone run
Use it forvehicles whose controller is a Simulink model (CarMaker for Simulink)vehicles with CarMaker's built-in controllers
NeedsMATLAB with your model, and the CarMaker GUI (the server can start both)only CarMaker; no MATLAB, no window (IPGMovie on request)

Not covered: Linux, TruckMaker and MotorcycleMaker, CarMaker HIL, Test Manager and test series, building roads, traffic or scenarios, Movie NX, result formats other than .erg, and remote machines. The full list is in docs/scope.md, and more worked examples are in docs/examples.md.

Requirements

  • Windows 10 or 11
  • IPG CarMaker with its Python API (developed on 14.1.1)
  • For the MATLAB-connected session: CarMaker for Simulink and MATLAB R2022b or newer, as far as your CarMaker supports it (only R2024b has been tested)
  • uv (it fetches the server and its Python environment; pip also works)
  • An MCP client: Claude Code, Claude Desktop, VS Code with GitHub Copilot, Codex, Antigravity, Cursor, ...

Setup

1. Check your machine. This finds your CarMaker and MATLAB installs, tells you what does not fit and how to fix it, and prints the uvx arguments for your machine:

uvx carmaker-mcp doctor

2. Register the server. This prints the entry for your client, with those arguments filled in:

uvx carmaker-mcp config --client claude-code     # or claude-desktop, vscode, codex, antigravity, cursor

For most clients the entry looks like this:

{
  "mcpServers": {
    "carmaker": {
      "command": "uvx",
      "args": ["--python", "3.12", "--with", "matlabengine==24.2.*", "carmaker-mcp"],
      "env": {
        "CM_PROJECT": "C:\\CM_Projects\\my-project",
        "CM_MODEL": "MyModel"
      }
    }
  }
}

In Claude Desktop you can instead drag the .mcpb bundle for your MATLAB release from the latest release into Settings > Extensions; uv must be installed. docs/setup.md has the steps for each client and the versions that belong to each MATLAB release.

3. Start a session. Ask the agent, for example "start CarMaker and run the braking test run". It opens MATLAB, your model and the CarMaker GUI as far as they are not open yet, and never closes anything. Standalone runs need neither. If you would rather open MATLAB and CarMaker yourself, run this once per MATLAB session so that the server can attach:

matlab.engine.shareEngine('cm_mcp')

Settings

Settings are environment variables in the client entry. These are the ones you are likely to need; docs/setup.md has the rest.

VariableDefaultMeaning
CM_PROJECTread from the running CarMaker GUICarMaker project folder. The server writes nowhere else. Needed to start a session from scratch
CM_MODELnoneSimulink model to open when a session is started
CM_MATLAB_INITnoneYour project's own MATLAB setup script, run once when a session is started. Without it the model may not compile
CM_POPUP_TIMEOUTnot setSeconds after which CarMaker pop-ups answer themselves with their default choice. Not set: they wait for your click. See Safety
CM_DISABLEnoneTool groups to switch off, for a shorter tool list: standalone, study, matlab, movie
CM_ENABLEnoneOptional tools to switch on: tcl (raw Tcl in the CarMaker GUI), experimental (add and delete Simulink blocks)

Tools

  • Session and runs: start MATLAB and CarMaker, check the setup, load, start, stop and follow runs, read the session log and GUI pop-ups.
  • Results: summaries, time series, lap and sector times, IPGControl plots, MAT and CSV export, IPGMovie pictures.
  • Project data and parameters: list, read, compare, edit and copy project files, workspace and Simulink parameters, parameter studies, driver adaption.
  • Standalone runs: launch, follow and close independent CarMaker programs, without MATLAB.
  • History: what a session changed, undo it, restore an earlier session.

Each tool tells the client whether it is read-only, changes state or is destructive, so that clients can ask for confirmation where it matters. Every tool and parameter is described in docs/tools.md.

Using it with the MATLAB MCP server

For CarMaker for Simulink work it is worth connecting MathWorks' MATLAB MCP Core Server as well: this server handles CarMaker, and that one writes and runs MATLAB code. Let both work on the same MATLAB session, in the release CarMaker uses. What is changed through the MATLAB server is not in this server's change log, and cm_revert_all does not undo it. More in docs/setup.md.

Safety and privacy

This server can start simulations and edit your project files and the live Simulink model in place. Connect it only to agents you trust.

What protects your work:

  • Every file is backed up before its first change, every change is logged with its old value, and cm_revert_all undoes a session.
  • Files are only written inside the project folder, and only while the simulation is idle. No tool deletes project files.
  • Raw Tcl and Simulink structure edits are off unless you switch them on with CM_ENABLE.
  • CarMaker pop-ups wait for your click by default. If you set CM_POPUP_TIMEOUT, a question such as "Vehicle not saved. All changes will be lost. OK to continue?" is answered with its default, which discards unsaved changes in the CarMaker GUI.

Runs write result and log files into the project's SimOutput folder; a revert does not remove those.

The server collects no telemetry and makes no network connections of its own. It only talks to MATLAB and CarMaker on your machine. Details: docs/safety.md.

Troubleshooting

Run uvx carmaker-mcp doctor first: it names most setup problems together with their fix.

SymptomCause and fix
"No shared MATLAB session"MATLAB is closed or has not shared its engine. Let the agent start the session, or run matlab.engine.shareEngine('cm_mcp') in MATLAB
uvx fails while installing matlabengineThe pin must match your MATLAB release, and that MATLAB must be installed. Use the arguments doctor prints
"CarMaker ships no cmapi for Python 3.x"Add --python 3.12 (or another version the message lists)
A tool call hangs at load or startThe CarMaker GUI is showing a question. Answer it, or see CM_POPUP_TIMEOUT
"too many licenses in use" on a standalone runAnother CarMaker program holds the licence: an open MATLAB with CarMaker for Simulink, or a standalone program the server left open
"license has expired"The licence must be renewed; doctor shows its end date
The wait tool returns finished: falseNot an error: waits are limited to 50 s per call and are simply repeated

More: docs/troubleshooting.md. The server's own log is server.log in the state folder.

How it works

  • MATLAB-connected session: the server attaches to your MATLAB through the MATLAB Engine for Python and sends commands to the CarMaker GUI through CarMaker for Simulink's own cmguicmd.
  • Standalone runs: it uses IPG's Python API cmapi, loaded from your CarMaker install, to start and control a separate CarMaker process.
  • Project files are edited by a byte-preserving editor for CarMaker's infofile format, and results are read by a NumPy reader for .erg files (checked against MATLAB's cmread).

Nothing of IPG's or MathWorks' is bundled or redistributed.

Documentation and contributing

Related work: pycarmaker talks to the command port of a standalone CarMaker program. This project also covers CarMaker for Simulink, uses IPG's own interfaces, and shares no code with it.

Licence

MIT, see LICENSE.

Frequently asked questions

What is CarMaker MCP Server?

Drive IPG CarMaker for Simulink: run test runs, read results, edit vehicle data and parameters.

How do I install CarMaker MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. CarMaker MCP Server runs locally from the PyPI package carmaker-mcp with the command uvx carmaker-mcp.

Is CarMaker MCP Server free and open source?

Yes. CarMaker MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does CarMaker MCP Server support remote (HTTP) connections?

No remote endpoint is listed for CarMaker MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is CarMaker MCP Server's trust score calculated?

CarMaker MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server