RunMat Agent
RunMat Desktop serves RunMat's MCP tools to coding agents on the same computer. Claude Code, Codex and other MCP clients use them to execute MATLAB-syntax code, inspect runtime results, work with Project files, and read 2D and 3D figures. Runs appear in the app as they happen.
RunMat implements more than 2,100 core builtins and all core language grammar and semantics of the MATLAB programming language. Check the builtin reference for supported toolbox functions.
Plugins, skills, and MCP
Three parts make the connection work:
- The RunMat plugin is the package RunMat Desktop installs for Claude Code or Codex. It contains the instructions and connection details the coding agent needs to use RunMat.
- Agent skills guide the coding agent through running standalone code or working in a multi-file RunMat Project.
- The RunMat MCP server runs inside RunMat Desktop at
http://127.0.0.1:47862/mcpwhile the app is open and signed in. It provides the tools used to execute code, work with Project files, inspect variables, read figures, and review run history. It also applies your RunMat account's permissions and usage limits.
You can usually describe the outcome you want and let the coding agent select the right RunMat skill and tools. You can also select a RunMat skill explicitly when you want to control the workflow.
Where code runs
Code runs in RunMat Desktop, in the Projects open in RunMat's windows. The coding agent sends requests to the app and receives the file content and results it asks for. Claude Code and Codex handle that content under their own data policies.
RunMat keeps using the same Project throughout a workflow. The RunMat service provides authentication, permissions and usage accounting.
Projects and permissions
The coding agent works only in Projects open in RunMat Desktop, and only after you allow each one:
- Install RunMat Desktop, open it and sign in.
- In Settings › Connections, connect Claude Code or Codex.
- Open the Project you want the coding agent to work in.
- The first time a tool works in that Project, RunMat asks in Connected agents: Allow while this project is open, or Always allow.
If the Project closes or RunMat Desktop quits, RunMat tells the coding agent, and the coding agent asks you how to continue.
RunMat runtime and RunMat product
The core RunMat language runtime is licensed under the Business Source License 1.1, and its source code is available on GitHub. It is free for individuals, including freelancers; students and faculty at an academic institution, for teaching or research there; contributors to an open-source project, for work on that project; organizations with 250 or fewer people and US$10M or less in annual revenue; and anyone, for non-production use (see License). RunMat Agent, including the coding-agent plugins, the Desktop MCP server, and the account and billing integration, is part of the RunMat product and is maintained outside the runtime repository.