matlab/matlab-mcp-server
Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
2a3ed9144cedio.github.matlab/matlab-mcp-serverPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
Code Safety, Capability Exposure, Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.
- Code Safety and Capability Exposure: no tool's code could be followed from its input
- Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
- Behavior Transparency: no tool description could be read to compare with the code
- 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 8 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- MEDIUM1 production dependency has known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
golang.org/x/net0.62.0 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 4 tools, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
The code of the tools could not be followed, so what they can reach is not known.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (5: 4 tools, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)resource
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
handlertool
No description.
t.handlertool
No description.
Text the model reads (5)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
(name computed at run time) tool
t.handler tool
handler tool
(name computed at run time) resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionNot checked: no tool's code could be followed from its input
- 5 checks: runs programs the caller chooses, executes caller-supplied code, reads or writes any file path, requests any address, runs caller-supplied SQLNot checked: no tool's code could be followed from its input
- Tools that start processesNot known: no tool's code could be followed
- Tools that touch filesNot known: no tool's code could be followed
- Tools that call the networkNot known: no tool's code could be followed
Where the code is: 5 handlers in 5 files at commit 2a3ed9144ced
internal/adaptors/mcp/resources/baseresource/baseresource.go(name computed at run time)internal/adaptors/mcp/tools/basetool/withstructuredcontent.go(name computed at run time)internal/adaptors/mcp/tools/basetool/withunstructuredcontent.go(name computed at run time)internal/adaptors/mcp/tools/singlesession/custom/tool.got.handlerinternal/facades/mcpfacade/mcpfacade.gohandler
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests5 manifests: .github/scripts/package.json, go.mod, internal/adaptors/mcpb/mcpbstagebuilder/assets/package.json, internal/tools/go.mod, tests/testutils/mockmcpbinary/source/go.mod
- Lockfiles checked against OSV5 files resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM1 production package with known advisories
- Known vulnerabilities in other dependencies4 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versiongithub.com/modelcontextprotocol/go-sdk v1.4.1
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkNot checked: no tool description could be read from the code
- Tools that read credentialsNot known: no tool's code could be followed
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionNot checked: no tool description could be read to compare with the code
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (1 in production)
golang.org/x/netGo v0.60.0 MEDIUM 2 advisories 0.62.0
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
4 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
node-forgenpm 1.4.0 HIGH 21 advisories 1.4.11.4.3
- HIGHGHSA-5x38-2vff-x55p CVE-2026-119190Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13
- HIGHGHSA-86w9-cpqp-85rv CVE-2026-85393node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements
- HIGHGHSA-rhr8-3pm8-cq29 CVE-2026-119191Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
- HIGHGHSA-8hrf-8g6f-7xwp CVE-2026-119188Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message
- HIGHGHSA-jc66-7q78-782g CVE-2026-118782Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
- HIGHGHSA-7wch-p9px-956x CVE-2026-118779Forge: Regular expression denial of service in PEM decoding (pem.decode)
- HIGHGHSA-6qrw-m8cv-hcxf CVE-2026-119192Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding
- HIGHGHSA-hqq3-7jhf-c5jx CVE-2026-119187Forge: Denial of service in TLS record processing via call stack exhaustion
- MEDIUMGHSA-6cv4-p8m7-4r25 CVE-2026-125333Forge: ReDoS in forge.http response header and cookie trimming
- MEDIUMGHSA-w4xr-hqv8-ch44 CVE-2026-125332Forge: TLS client crash on an unsupported ServerHello compression method
- MEDIUMGHSA-j8rw-jp99-435v CVE-2026-125334Forge: TLS client crash on a handshake record received without a session
- MEDIUMGHSA-525v-9gp9-w22h CVE-2026-118778Forge: TLS client crash when the server sends no certificate
- MEDIUMGHSA-5cwg-6vw7-rj6p CVE-2026-119186Forge: AES-GCM authentication bypass via unvalidated tagLength option
- MEDIUMGHSA-6wvx-3r32-xmcg CVE-2026-118777Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
- MEDIUMGHSA-h46v-rmh6-fq4f CVE-2026-119189Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage
- LOWGHSA-4642-5mcj-2rqw CVE-2026-118775Forge: ASN.1 OID first arc truncation in asn1.oidToDer
- LOWGHSA-2vgq-wchc-25w7 CVE-2026-118776Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
- LOWGHSA-9wg5-mj3p-v49q CVE-2026-118774Forge: Certificate signature verified with the issuer's RSA signature scheme
- LOWGHSA-h6cr-wjv9-3cpp CVE-2026-118781Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)
- LOWGHSA-6889-vf6x-f3g5 CVE-2026-125335Forge: Ed25519 signature verification accepts small-order public keys
- LOWGHSA-4487-j8r4-4g2f CVE-2026-118780Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
tmpnpm 0.0.33 HIGH 2 advisories 0.2.40.2.6
- HIGHGHSA-ph9p-34f9-6g65 CVE-2026-44705tmp has Path Traversal via unsanitized prefix/postfix that enables directory escape
- LOWGHSA-52f5-9888-hmc6 CVE-2025-54798tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/modelcontextprotocol/go-sdk v1.4.1 |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-12 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.matlab/matlab-mcp-server |
|---|---|
| Listed in | 4 catalogs (github_search, glama, mcp_registry, mcp_toplist) |
| License | NOASSERTION |
| Created | 2025-10-22 |
| Topics | engineering-tools matlab matlab-mcp-server mcp-server mcp-tools |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.