1. Conduid
  2. Commerce
  3. Framework Matlab Production Server
MCP server · Commerce

Framework Matlab Production Server

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

Unclaimed BSD-3-Clause last commit 6 months ago matlab-production-servermatlabmatlab-mcp-servercommercemcp-tool-generator
67Good

Scored 4 days ago · breakdown

About Framework Matlab Production Server

Framework Matlab Production Server is an MCP server published by matlab in the Commerce category: publish MATLAB functions as MCP tools for AI agents using MATLAB Production Server. It has been installed 0 times through Conduid.

The repository has 15 stars and 2 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx mcp-framework-matlab-production-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Framework Matlab Production Server

Powered by Claude · Grounded in docs

I know everything about Framework Matlab Production Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.3.2More granular metrics · 30 Jun 2026Added metrics for: All MCP-related requests Calls to a given server And new function prodserver.mcp.metrics which retrieves metrics from a MATLAB Production Server instance. Also fixed mustBeVectorOrEmpty error by adding new validator of…
v1.3.1Add user-specified files to deployable archive. · 24 Jun 2026New argument to prodserver.mcp.build: 'files', which allows specification of full paths to files that will be copied into the archive and made available to the tool functions when the archive is deployed.
v1.2.4Better server validation. · 19 May 2026Better server validation. Increased retries in ping. Minor bug fixes.
v1.2.3Server address without port · 4 May 2026Support server address without a port number, typically encountered when server is behind a load balancer. Before this release, the authority section of the server address required a port number, e.g., http://mps-gateway.company.com:9910.…
v1.2.2UNC Paths and MCP_Framework_Request metric · 1 May 2026Fixed a bug with URL parsing of file URLs with Windows-style UNC paths, e.g., file:////storage/location/data.csv. The previous version couldn't correctly parse all those slashes. Added a MATLAB Production Server metric,…

README

MCP Framework for MATLAB Production Server

Publish your MATLAB® functions to MATLAB Production Server™ as Model Context Protocol (MCP) 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 = prodserver.mcp.build("primeSequence",wrapper="None", definition="primeSequence.json");

endpoint = prodserver.mcp.deploy(ctf,"localhost",9910);

available = prodserver.mcp.ping(endpoint)
available = 
    true

>> gp = prodserver.mcp.call(endpoint, "primeSequence", 11, "gaussian")
gp = 1×11
     3    7    11    19    23    31    43    47    59    67    71

And then you might be able to use it from your LLM host with the prompt: "Generate the first 11 Gaussian primes." See the discussion of external data sources for details of the wrapper input to prodserver.mcp.build.

If you're using the MATLAB R2026a prerelease, the definition argument is no longer necessary. MCP tool definitions can be automatically generated in R2026a.

Step 3: Configure MCP Client

There are many MCP clients and each has its own configuration mechanism for MCP tools. But they all share the same idea: identifying the location of each MCP tool and the communication protocol the tool understands. MCP Framework creates HTTP-based MCP tools. To aid development and testing, an STDIO to HTTP server bridge is also included.

MCP Framework has been tested against these MCP clients, using the configuration each of these links describes.

Any client that supports pure HTTP-based MCP servers should work. Note that MCP Framework for MATLAB Production Server does not support streamable HTTP -- connections are transient and transactional, not persistent.

Examples

The Examples folder contains several complete MCP tools of varying complexity. Each example includes a MATLAB Live Script (*.mlx file) that demonstrates how to create, deploy and test the MCP tool.

  • Primes: Generates four different kinds of prime number sequences. Does not require a data marshaling wrapper function.
  • Periodic Noise: Eliminates periodic noise from a measured signal. Demonstrates explicit use of an automatically generated wrapper function.
  • Earthquake: Generates plots of earthquake data. Demonstates use of a user-written wrapper function.
  • Multiple Tools: Build a server hosting multiple MCP tools.

To become effective MCP tools, MATLAB functions must accommodate the MCP environment. In particular, your functions must:

If you add comments and function argument blocks to your code, MCP Framework can automate most of this process. See the links for details.

Reference

Public Functions

The functions have their own namespace, prodserver.mcp, which must be used as a prefix when calling them in MATLAB. For example, call build using its full name: prodserver.mcp.build.

Function Description Example
build Package function as MCP tool build("primeSequence",wrapper="None")
call Invoke deployed tool (for testing) call(endpoint, "primeSequence", 9, "Eisenstein")
deploy Upload tool to MATLAB Production Server deploy(tool, "localhost", 9910)
exist Check existence of tool on MATLAB Production Server exist("http://localhost:9910/primes/mcp", "primeSequenceMCP", "tool")
list List MCP primitives available at endpoint list(endpoint, "Tools")
ping Send a ping to server at endpoint. Return true if server responsive. ping(endpoint)

Utilities

Name Description
mcpstdio2http.py MCP STDIO to HTTP server bridge.
linePlot.py MCP STDIO server. Creates line plots from CSV files.

In addition, each MCP server supports a simple ping HTTP endpoint which confirms server existence and readiness. Once the primeSequence tool is uploaded to a MATLAB Production Server running at http://localhost:9910, send a ping with curl:

% curl http://localhost:9910/primeSequence/ping
pong

Security

Security is your responsiblity. MCP Servers hosted by MATLAB Production Server may use HTTPS for security. Set security parameters by configuration in MATLAB Production Server.

Directory Structure

Folder Description
+prodserver Top-level directory for prodserver.mcp namespace. Contains the bulk of the functions.
Documentation Collection of Markdown reference pages documenting the public functions.
Examples Complete examples of MCP tools and the workflows to create, deploy and use them.
Test Unit and Integration tests.
Utilities Mostly standalone functions and scripts that simplify integration with other environments.

Have Questions?

Contact us at genai-support@mathworks.com

License

The license is available in the license.txt file.

README mirrored from the source repository 4 days ago. The original is authoritative.

Questions

About Framework Matlab Production Server

How do I install Framework Matlab Production Server?

Run npx mcp-framework-matlab-production-server, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Framework Matlab Production Server safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Framework Matlab Production Server still maintained?

Yes — the latest release is v1.3.2 (30 Jun 2026), and the last commit was 6 months ago. The repository has 15 stars and 0 open issues.