MCP Catalogs
Home

matlab-mcp-core-server

by matlab·636·Score 53

Official MATLAB MCP Server enabling AI applications to execute MATLAB code and access MATLAB functionality.

developer-toolsai-llmproductivity
62
Forks
30
Open issues
this month
Last commit
2d ago
Indexed

Overview

The MATLAB MCP Core Server is the official implementation from MathWorks that allows AI coding assistants like Claude Code and GitHub Copilot in VS Code to interact with MATLAB. It provides tools to start/quit MATLAB, run MATLAB code, and analyze code for style and correctness. The server supports both standalone MATLAB sessions and connecting to existing MATLAB instances.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI coding assistants generating and debugging MATLAB code
you:Automated analysis of MATLAB scripts for code quality
you:Integration of MATLAB capabilities into AI development workflows
you:What MATLAB versions are supported?
you:Can I connect to an existing MATLAB session?

When to choose this

Choose this when working with MATLAB environments and need AI assistance for code development, analysis, or execution within MATLAB ecosystem.

When NOT to choose this

Avoid if you don't have a MATLAB license as this server requires a valid MATLAB installation, and consider alternatives if you're concerned about vendor lock-in with MathWorks.

Tools this server exposes

5 tools extracted from the README
  • detect_matlab_toolboxes

    Returns information about installed MATLAB and toolboxes, including version numbers

  • check_matlab_code

    Performs static code analysis on a MATLAB script to identify code quality issues

  • evaluate_matlab_code

    Evaluates a string of MATLAB code and returns the output

  • run_matlab_file

    Executes a MATLAB script file and returns the output

  • run_matlab_test_file

    Executes a MATLAB test script and returns comprehensive test results

Comparable tools

octave-mcppython-mcp-serverjulia-mcp-server

Installation

Installation Steps

  1. Install MATLAB 2021a or later and add it to the system PATH
  1. Download the latest release for your platform or build from source:

``bash go install github.com/matlab/matlab-mcp-core-server/cmd/matlab-mcp-core-server@latest ``

  1. For Claude Desktop, install the Filesystem extension then download and install the matlab-mcp-core-server.mcpb bundle
  1. For Claude Code, run:

``bash claude mcp add --transport stdio matlab -- /path/to/matlab-mcp-core-server ``

  1. For GitHub Copilot in VS Code, create .vscode/mcp.json with:

``json { "servers": { "matlab": { "type": "stdio", "command": "/path/to/matlab-mcp-core-server", "args": [] } } } ``

FAQ

What MATLAB versions are supported?
The server supports MATLAB releases from the past five years, starting from MATLAB 2021a.
Can I connect to an existing MATLAB session?
Yes, using the --matlab-session-mode=existing argument and shareMATLABSession() function in MATLAB.

Compare matlab-mcp-core-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.