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
Basic information
MCP server to run MATLAB code from LLM via the Matlab Engine API.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MatlabMCP": {
"command": "uv",
"args": [
"init"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.

Multi-zone MCP server for GKE/EKS/AKS: Python tools from git, NeMo guardrails, SSO, autoscaling.

Hermoso is an AI marketing agent and AI ad generator you run from your AI agent: a remote MCP server that researches the ads already winning in your market, makes image and video ads and organic posts in your brand, publ
Set up and manage the Eddyter AI rich text editor by talking to your AI agent — for Claude, Cursor, Codex and other MCP tools. A Model Context Protocol server that lets AI tools add Eddyter to a React, Next.js, Vite or R

Most MCP servers hand your agent documentation. This one hands it a renderer. Write a single React Native codebase that ships native AR to phones and VR to headsets, then let your agent validate every prop, check each pl

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci
Comments