-
Notifications
You must be signed in to change notification settings - Fork 0
Home
github-actions[bot] edited this page Mar 22, 2026
·
21 revisions
Welcome to the MATLAB MCP Server wiki! This server connects any AI agent to a shared MATLAB installation via the Model Context Protocol (MCP).
- Installation — Prerequisites, MATLAB Engine API, server setup
- Configuration — Full YAML config reference with all options
- MCP Tools Reference — All 20 built-in tools with parameters and examples
-
Custom Tools — Expose your own
.mfunctions as AI-callable tools - Examples — Ready-to-run MATLAB examples for common tasks
- Architecture — System design, engine pool, async jobs, session model
- Async Jobs — Long-running jobs, progress reporting, job lifecycle
- Security — Function blocklist, workspace isolation, upload limits
- Troubleshooting — Common issues and solutions
- FAQ — Frequently asked questions
A Python MCP server that gives AI agents (Claude, Cursor, Copilot, custom agents) the ability to:
- Execute MATLAB code — sync for fast commands, async for long-running jobs
- Discover toolboxes — browse installed toolboxes, functions, and help text
-
Check code quality — run
checkcode/mlintbefore execution - Get interactive plots — figures auto-converted to Plotly JSON
-
Use custom libraries — expose your
.m/.mexfunctions as first-class MCP tools
| Platform | MATLAB Version | Transport |
|---|---|---|
| macOS | 2020b+ | stdio, SSE |
| Windows | 2020b+ | stdio, SSE |