Claude Code setup
The RunMat plugin lets Claude Code run MATLAB-syntax code and work in the Projects open in RunMat Desktop on the same computer. Runs appear in the app.
Set up Claude Code
- Install RunMat Desktop, open it and sign in.
- Open the Project you want Claude Code to work in.
- Open Settings › Connections. Under On this computer, choose Connect next to Claude Code.
- Restart Claude Code, enter
/mcpand confirm that therunmatserver is connected. - The first time Claude Code works in a Project, RunMat asks in Connected agents. Choose Allow while this project is open or Always allow.
Connecting installs the RunMat plugin, which adds RunMat's MCP server and skills. RunMat Desktop serves the tools while it's open. Describe the task naturally or select a RunMat skill from the / menu.
To install the plugin from a terminal, or to connect another MCP client on the same computer, see Coding agents on your computer.
Verify the connection
- Enter
/mcpand confirm that RunMat exposes tools. - Ask RunMat to execute
A = magic(5); eig(A). - Ask it to inspect the shape and type of
A. - Ask it to list the Project's files and identify the intended entrypoint before editing.
If the plugin was installed during the current Claude Code session, reload plugins. If the runmat server can't connect, open RunMat Desktop and check that you're signed in. See Troubleshooting.