Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Framework Matlab Production Server

FreeNot checked

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

GitHubEmbed

About

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

README

Publish MATLAB® functions as Model Context Protocol tools on MATLAB Production Server™. AI agents call your functions, offering the speed, reliability, and domain-specific performance of MATLAB.

Prerequisites

  • MATLAB R2025b or later
  • MATLAB Compiler™, which MATLAB Compiler SDK requires
  • MATLAB Compiler SDK™
  • MATLAB Production Server R2025b or later. Archives built in R2025b need the R2025b MATLAB Runtime, and a server can host runtimes from its own release or earlier.
    • With archive management turned on (--enable-archive-management in the instance's main_config), so that prodserver.mcp.deploy can upload archives. Discovery (--enable-discovery) and metrics (--enable-metrics) are optional. See Set Up a Server.
  • An MCP client (Claude Desktop, Claude Code, VS Code with Copilot, or any HTTP-capable client)

Install

In MATLAB, open the Add-On Explorer (Home tab → Add-Ons) and search for "MCP Framework for MATLAB Production Server." Select Install.

If you use an AI coding agent, register the build skill so the agent can build and deploy tools on your behalf:

prodserver.mcp.agent.setup

Quick Start

To deploy a function as an MCP tool to an instance of MATLAB Production Server running on localhost:9910, run the following MATLAB code.

% Build an MCP tool from a function — the framework runs your example to determine parameter types
ctf = prodserver.mcp.build("principalStress", ...
    example=@() principalStress([120 -50 80], "max"), ...
    server="http://localhost:9910");

% Verify deployment
prodserver.mcp.ping("http://localhost:9910/principalStress/mcp")

% Call the tool directly
prodserver.mcp.call("http://localhost:9910/principalStress/mcp", ...
    "principalStress", [120 -50 80], "maxShear")

Your function is now available to any MCP client connected to that server. See the Getting Started guide for a complete walkthrough.

Key Features

Documentation: Getting Started | Cheat Sheet | Examples | Guides | Concepts | Reference | Release Notes | Security

License

See license.txt.

Contact

https://www.mathworks.com/support/contact_us.html

--- Copyright 2025-2026 The MathWorks, Inc. ---

from github.com/matlab/mcp-framework-matlab-production-server

Installing Framework Matlab Production Server

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/matlab/mcp-framework-matlab-production-server

FAQ

Is Framework Matlab Production Server MCP free?

Yes, Framework Matlab Production Server MCP is free — one-click install via Unyly at no cost.

Does Framework Matlab Production Server need an API key?

No, Framework Matlab Production Server runs without API keys or environment variables.

Is Framework Matlab Production Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Framework Matlab Production Server in Claude Desktop, Claude Code or Cursor?

Open Framework Matlab Production Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Framework Matlab Production Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs