Mcp Framework Matlab Production Server banner
matlab matlab

Mcp Framework Matlab Production Server

AI community

Description

Publish MATLAB functions as MCP tools for AI agents using MATLAB Production Server

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

MCP Framework for MATLAB Production Server

Publish your MATLAB® functions to [MATLAB Production Server™](https://www.mathworks.com/products/matlab-production-server.html) as [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro) tools. This allows AI agents to call your functions, enhancing their capabilities with domain-specific expertise.

Required Products

In addition to this package, you'll need:

Quickstart

To make a MATLAB function available to an LLM as an MCP tool you:

  • Install this package where MATLAB can find it -- and add the top level folder to MATLAB's path.
  • Build an MCP tool from a MATLAB function
  • Configure your MCP client to make the tool available to your LLM.

Step 1: Install

Using this add-on requires MATLAB R2025b or later.

Install this add-on to MATLAB with the Add-On Explorer:

  1. In MATLAB, go to the Home tab, and in the Environment section, click the Add-Ons icon.
  2. In the Add-On Explorer, search for "MCP Framework for MATLAB Production Server".
  3. Select Install.

Step 2: Build An MCP Tool

To create an MCP tool from one of your MATLAB functions:

  1. Package the function into a deployable archive.
  2. Upload the archive to an active instance of MATLAB Production Server.
  3. Verify the upload / installation was successful.

For example, to create an MCP tool from the `primeSequence` function use these commands in MATLAB:

ctf = prodserve