← all repositories
matlab/matlab-mcp-server

MathWorks officially wires MATLAB into AI agents via MCP

MathWorks’ official bridge lets MCP-compatible agents script, run, and critique MATLAB code.

1.3k stars Go Coding Assistants
matlab-mcp-server
Velocity · 7d
+5.4
★ / day
Trend
steady
star history

What it does

The MATLAB MCP Server is a Go-based adapter that exposes your local MATLAB installation to any Model Context Protocol client. It translates requests from AI coding agents into MATLAB commands, letting them launch sessions, execute code, and assess m-files for style and correctness. It is essentially a protocol bridge between the MathWorks ecosystem and modern AI assistants.

The interesting bit

Rather than building a proprietary plugin, MathWorks chose the open MCP standard—meaning Claude, Copilot, and any other MCP host can drive MATLAB without custom integrations. The server can even attach to an existing MATLAB session instead of spawning a new one, though that path requires a bit of manual setup inside MATLAB itself.

Key highlights

  • Supports any MCP-compatible client, including Claude Code, Claude Desktop, and GitHub Copilot in VS Code
  • Can start fresh MATLAB sessions or connect to existing ones (requires MATLAB R2023a+ and a toolbox install)
  • Evaluates MATLAB code for style and correctness, not just execution
  • Extensible with custom tools defined in JSON extension files
  • Ships as a standalone Go binary for Windows, Linux, and macOS

Caveats

  • Requires a local MATLAB installation (R2021a or later) on the system PATH
  • A recent v0.11.0 rename from “MATLAB MCP Core Server” breaks existing configurations until manually updated
  • Connecting to an existing session requires installing a MATLAB toolbox and running shareMATLABSession() manually

Verdict

Worth a look if you want AI agents to script or review MATLAB without leaving your editor. Skip it if you don’t have a local MATLAB license or if your workflow lives entirely outside the MathWorks ecosystem.

Frequently asked

What is matlab/matlab-mcp-server?
MathWorks’ official bridge lets MCP-compatible agents script, run, and critique MATLAB code.
Is matlab-mcp-server open source?
Yes — matlab/matlab-mcp-server is an open-source project tracked on heatdrop.
What language is matlab-mcp-server written in?
matlab/matlab-mcp-server is primarily written in Go.
How popular is matlab-mcp-server?
matlab/matlab-mcp-server has 1.3k stars on GitHub and is currently holding steady.
Where can I find matlab-mcp-server?
matlab/matlab-mcp-server is on GitHub at https://github.com/matlab/matlab-mcp-server.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.