Simulink Agentic Toolkit
Give your AI coding agent the ability to read, build, edit, and test Simulink® models using Model-Based Design best practices.
What It Does
The Simulink Agentic Toolkit packages MathWorks® Model-Based Design expertise for AI coding agents. It connects agents to Simulink through the Model Context Protocol (MCP), giving them both the ability (tools) and the knowledge (skills) to work with Simulink models effectively.
- 6 MCP tools for reading, editing, querying, testing, and checking Simulink models
- 7 agent skills encoding MBD best practices for model building, plant specification, testing, requirements, and tool initialization
- Per-agent manifests for Claude Code, Cursor, Codex, Copilot, Amp, and Gemini CLI — install once, skills and MCP are configured automatically
- Automated setup that configures MATLAB® paths, enables MCP attachment, and validates your installation
How It Works
┌───────────┐ ┌───────────┐ ┌──────────┐
│ AI Agent │◄─MCP─►│MCP Server │◄─────►│ MATLAB / │
│ (Claude, │ │ (MATLAB │ │ Simulink │
│ Cursor, │ │ MCP Core) │ └──────────┘
│ Copilot) │ └───────────┘
└───────────┘
▲
│ reads
┌─────┴─────┐
│ Skills │
│ (MBD best │
│ practices)│
└───────────┘
Your agent reads skills for domain knowledge, then calls MCP tools to interact with MATLAB and Simulink. The MATLAB MCP Core Server bridges the connection (downloaded during setup).
Supported Platforms
Automated setup has been verified with basic workflows on each platform except Cursor. The toolkit is under active development — please report issues if you encounter problems.
Quick Start
Full walkthrough: See the Getting Started guide for detailed instructions, platform-specific notes, verification steps, and troubleshooting.
Prerequisites:
- MATLAB R2023a or later with Simulink
- Supported AI coding agent
- Git™
The Simulink Agentic Toolkit helps you install and configure the MATLAB MCP Core Server, or can be configured to use your existing installation.
Full Setup (recommended)
Tip: You can ask your coding agent to do this for you — just say "Clone and set up the Simulink Agentic Toolkit from https://github.com/matlab/simulink-agentic-toolkit" and it will handle the steps below.
Clone the repository, launch your agent from the toolkit directory, and ask it to set up the toolkit.
git clone https://github.com/matlab/simulink-agentic-toolkit.git
cd simulink-agentic-toolkit
Launch your agent (claude, codex, gemini, etc.) and ask:
Set up the Simulink Agentic Toolkit
Setup looks for your MATLAB installation(s), downloads the MCP server, writes your agent's global configuration, and registers skills. Once complete, start a new session in any project directory — Simulink tools and skills are available everywhere.
Claude Code — no clone required: If you already have the MCP server (v0.8.0+) configured with the toolkit's tools.json, you can add skills directly without cloning:
claude plugin marketplace add "https://github.com/matlab/simulink-agentic-toolkit"
claude plugin install model-based-design-core@simulink-agentic-toolkit
This installs skills only. Your MCP server must already reference the toolkit's tools/tools.json via --extension-file. See the Getting Started guide for details.
Already Have the MCP Server?
If you installed the MATLAB MCP Core Server yourself, you need skills and the toolkit's tool definitions registered with your server. See Adding Skills Only in the Getting Started guide for requirements.
MATLAB Setup (all platforms)
The MCP server connects to a running MATLAB session. Open MATLAB and run:
addpath("/path/to/simulink-agentic-toolkit")
satk_initialize
Verify
In MATLAB, open any Simulink model — your own, or a shipped example like f14: