Borrowing it
Nothing to install: this file belongs to matlab/mcp-framework-matlab-production-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/matlab/mcp-framework-matlab-production-server/main/.claude/skills/mps-mcp-build/SKILL.mdgit clone --depth 1 https://github.com/matlab/mcp-framework-matlab-production-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/matlab/mcp-framework-matlab-production-server/mps-mcp-build)<a href="https://agentmods.dev/skills/matlab/mcp-framework-matlab-production-server/mps-mcp-build"><img src="https://agentmods.dev/badge/skills/matlab/mcp-framework-matlab-production-server/mps-mcp-build/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/matlab/mcp-framework-matlab-production-server/mps-mcp-build"><img src="https://agentmods.dev/badge/skills/matlab/mcp-framework-matlab-production-server/mps-mcp-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 119 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Rogue Agent · line 149 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.06836 |
| Opus 5 | $0.00014 | $0.03418 |
| Sonnet 5 | $0.00006 | $0.01367 |
| Haiku 4.5 | $0.00003 | $0.00684 |
Grade A, and why
mps-mcp-build scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
allowed-tools: Read Bash(matlab *) Bash(which matlab) Bash(ls *) Bash(grep *) Bash(sha256sum *) Bash(cat *) Bash(curl *) Bash(mkdir *) Bash(rm *) Bash(cp *) How it starts
The opening of the file, as written. The whole thing — 435 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create MCP Tool from MATLAB Function
You are helping the user create and deploy MCP tools from MATLAB functions to a MATLAB Production Server using the MCP Framework for MATLAB Production Server support package.
Step 1: Check Prerequisites
Before doing anything else, verify these prerequisites are met:
- MATLAB availability: Check if MATLAB is accessible by running
which matlab. Alternatively, check if the MATLAB MCP Server is available as a configured MCP tool. - MCP Framework availability: This is verified automatically as part of the combined build call in Step 5. Do NOT run a separate
matlab -batchjust to check for the support package.
If MATLAB is not available, report clearly what is needed and stop. Do NOT attempt to download, install, or otherwise acquire MATLAB or the support package.
Prefer using the MATLAB MCP Server if it is available as a configured MCP tool. Fall back to matlab -batch "..." on the command line otherwise.
Step 2: Parse User Intent
Extract the following from the user's request:
- Function path(s): One or more paths to
.mfiles (required) - Server address: Host and port of the MATLAB Production Server (required), e.g.
localhost:9910 - Scheme:
http(default) orhttpsif the user specifies it - Additional files: Extra files to include in the CTF archive (optional)
- Resources: MCP resources to include (optional), specified in flexible formats such as:
"add a resource at config://settings with the contents from settings.json""create the resource data://AuthorName with string value 'Mr. Author'""add the following resources: config://settings,settings.json, data://AuthorName,'Mr. Author'"
- Force rebuild: Whether the user explicitly wants a full rebuild regardless of input state. Triggered by keywords like "force", "rebuild", "clean", "from scratch", or "fresh".
For resources, construct a MATLAB struct array where each element has:
uri: the resource URI (e.g."config://settings")contents: the resource contents — either a file path to read from or a literal string value
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 435 lines · 28 tokens per session scan A 262ba304c3e2
mps-mcp-build is a skill published in the GitHub repository matlab/mcp-framework-matlab-production-server (31 stars, last pushed 5d ago), licensed BSD-3-Clause. It adds 28 tokens to every session and 6,836 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
simulink-generate-embedded-code
Configure Simulink models for Embedded Coder (ERT) or AUTOSAR code generation. Use when the user asks to configure a model for production/ECU deployment, generate embedded C or C++ code, target ARM or x86 hardware, optimize code generation for speed or RAM, apply MISRA C/C++ compliance, or set up ERT, AUTOSAR, or…
simulink-streaming-dsp
Building or editing Simulink (.slx) models that stream signals in frames using DSP System Toolbox — audio, vibration, radar, comms. Use when the prompt names a Simulink block (Discrete FIR Filter, Buffer, Unbuffer, Rate Transition, Downsample, Upsample, Sample-Rate Converter, FIR Decimation, Time Scope, Spectrum…
create-sdi-run
Import data into the Simulation Data Inspector (SDI) from MAT, CSV, or Excel files, from workspace variables, or from a Simulink simulation. Use when the user wants to view a logged file in SDI, load a bench-test log, or verify what a just-completed Simulink.sdi.createRun or sim(model) produced. Covers the 'file'…
simulink-control-motors
Build motor control solutions using Motor Control Blockset for PMSM, induction motors, BLDC, and SynRM. Implement field oriented control, sensorless FOC, six-step control, speed control, current control, and torque control. Configure SVPWM, flux weakening, MTPA, MTPV, control of non-linear motors, inverter control…
simulink-frequency-response
Estimate frequency response from Simulink models using frestimate. Use when frequency response should be obtained from simulation rather than model linearization.
author-modeladvisor-checks
Author or upgrade Model Advisor checks for Simulink and System Composer models. Covers the full lifecycle: guideline authoring, check specification, Model Advisor check implementation, and qualification testing. Use when creating new checks (edit-time, standard batch, config-parameter, auto-fix), converting legacy…