Skip to content
Tresca

simulink-mcp (sohumsuthar)

MCP serverCommunity

Fourteen typed Simulink tools over the MATLAB Engine: load models, edit blocks, run simulations and get plots back. By Sohum Suthar.

27 starsUpdated 6 months agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
Simulink
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
MATLAB R2024a to R2025b listed (Python 3.10–3.12)
Operating systems
Windows, macOS, Linux
Needs a Simulink licence
Yes
Transport
Local (stdio)
AI clients documented
Claude Code, Claude Desktop
Licence
PolyForm-Noncommercial-1.0.0
Language
Python

What it can do

  • Loads, creates, saves and closes .slx models and lists blocks by depth or type.
  • Reads and sets block dialog parameters and model configuration such as solver and stop time.
  • Adds library blocks, wires ports with auto-routing and deletes blocks with their lines.
  • Runs a simulation, returns open figures as PNG images and extracts logged signal data.
  • Uses fixed, validated tool calls only; there is no free-form code execution tool.

Limitations

  • PolyForm Noncommercial licence; commercial use needs the author's permission.
  • MATLAB starts on the first tool call and takes about 15–20 seconds; an invalid Simulink operation can crash the engine, which then needs a server restart.
  • The README's pip install simulink-mcp command didn't resolve on PyPI at this check; install from source.

Install

git clone https://github.com/sohumsuthar/simulink-mcp.git
cd simulink-mcp
pip install .

Source: github.com/sohumsuthar/simulink-mcp#2-simulink-mcp

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.