What are the requirements to run MATLAB MCP Integration?
Python 3.12 or higher, MATLAB (**R2023a or higher recommended**) with the MATLAB Engine API for Python installed, and the `numpy` Python package.
@jigarbhoye04
基本信息
MCP server to run MATLAB code from LLM via the Matlab Engine API.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"MatlabMCP": {
"command": "uv",
"args": [
"init"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
This is an MCP (Model Context Protocol) server that enables MCP clients—such as LLM agents or Claude Desktop—to interact directly with a shared MATLAB session. It uses the MATLAB Engine API for Python to execute MATLAB code, retrieve workspace variables, and return structured JSON results.
Install the server by cloning the repository, setting up a Python virtual environment (recommended with uv), and installing dependencies. Then start MATLAB and run matlab.engine.shareEngine to make the engine available. Finally, configure the MCP client (e.g., Claude Desktop) by editing its claude_desktop_config.json to point to the uv runner and the server’s main.py script. Tools exposed are runMatlabCode (execute arbitrary MATLAB code) and getVariable (retrieve workspace variables).
runMatlabCode tool.getVariable tool.asyncio.to_thread.Python 3.12 or higher, MATLAB (**R2023a or higher recommended**) with the MATLAB Engine API for Python installed, and the `numpy` Python package.
In the MATLAB Command Window, run `matlab.engine.shareEngine`. Verify with `matlab.engine.isEngineShared`, which should return `true` or `1`.
Edit `claude_desktop_config.json` and add an entry under `mcpServers` with the command set to your `uv` executable, `args` containing `["--directory", "<absolute-path-to-repo>", "run", "main.py"]`. Use absolute paths and restart Claude Desktop.
Two tools: `runMatlabCode` to execute any MATLAB code, and `getVariable` to fetch the value of a variable from the MATLAB workspace. Both return structured JSON.
The repository contains an `Updates.md` file in the `Docs/` folder with detailed documentation on features, usage, and development notes. A DeepWiki page is also linked in the README.

Collide is the multiplayer layer for AI coding agents, and it pays for itself. Expert orchestration across every agent on your repo saves teams tens to hundreds of dollars a day in token burn. Run Claude Code, Codex, Cu

Agent-Native Terminal

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools

Eased is a library of motion-first React components for shadcn, installed with the shadcn CLI.
ZeroBeacon.ai — Collision-proof commerce router for AI agents. 1000 MCP tools: commerce, trust, billing, sovereign ID + everyday tools. LIVE.
评论