MATLAB Agentic Toolkit

MATLAB Agentic Toolkit

Bring trusted MATLAB capabilities to AI coding agents

MATLAB Agentic Toolkit equips AI coding agents with expert knowledge and a live connection to MATLAB. Your agent learns to write idiomatic code, generate and run tests, diagnose errors, build apps, and leverage the full breadth of MATLAB toolboxes. The toolkit ships configurations for leading platforms and is designed to evolve as the agentic AI landscape changes.

  • Run MATLAB code and execute tests directly from your AI agent using MCP tools.
  • Equip agents with curated skills for testing, debugging, app building, and code review.
  • Works with Claude® Code, GitHub Copilot®, OpenAI® Codex, Sourcegraph Amp, and Gemini CLI®.
  • Free and open-source—requires a local MATLAB installation and an AI service subscription.

Live Connection to MATLAB via MCP

Connect your agent to MATLAB through the Model Context Protocol (MCP). The MATLAB MCP Core Server provides five built-in tools that let agents run code, execute tests, perform static analysis, and detect installed toolboxes. Compatible with Claude Code, GitHub Copilot, Codex, Amp, and Gemini CLI.

Agent Skills for Expert MATLAB Workflows

The toolkit provides curated skills that teach your agent how an experienced MATLAB engineer would approach a task. Core MATLAB skills cover unit testing, app building, code review, debugging, and code modernization, so your agent writes idiomatic code and minimizes token burn.

Quick Start and Multi-Platform Setup

Clone the repository, launch your preferred coding agent, and ask it to set up the toolkit. The agent automatically installs and configures the MATLAB MCP Core Server, registers the plugin, and verifies the environment. Skills are self-contained SKILL.md files that work with any platform.

Open-Source on GitHub

Explore the code, customize skills, and integrate the toolkit into your workflows. The toolkit requires a MATLAB installation and a subscription to an AI service. Submit issues on GitHub for bugs or enhancement requests, or email genai-support@mathworks.com for technical support.