Skip to content

Warning: Failed to install MATLAB MCP Server Toolbox #47

Description

@mathieuboudreau

MATLAB Release

R2026b

Operating System

macOS (Apple Silicon)

Agent Platform

Other

Other Agent Platform

No response

MCP Server Version

No response

Steps to Reproduce

Downloaded agenticToolkitInstaller.mltbx.

Opened the file

Ran: setupAgenticToolkit("install")

Expected Behavior

Installs toolkit fully.

Actual Behavior

Received this warning:

  Checking for latest MCP server version...
  Downloading MATLAB MCP Server v0.11.1 for macOS arm64...
  MCP server binary installed to: /Users/mathieuboudreau/.matlab/agentic-toolkits/bin/matlab-mcp-server
  Installing MATLAB MCP Server Toolbox v0.11.1...
Warning: Failed to install MATLAB MCP Server Toolbox:
  Unrecognized function or variable 'knownNames'. 

Additional Context

Full log:

Details
Prerelease License -- for engineering feedback and testing
	purposes only. Not for sale.

Warning: Name is nonexistent or not a directory: /usr/local/fsl/etc/matlab 
> In [path](matlab:matlab.lang.internal.introspective.errorDocCallback('path', '/Applications/MATLAB_R2026b.app/toolbox/matlab/general/path.m', 89)) ([line 89](matlab: opentoline('/Applications/MATLAB_R2026b.app/toolbox/matlab/general/path.m',89,0)))
In [startup](matlab:matlab.lang.internal.introspective.errorDocCallback('startup', '/Users/mathieuboudreau/Documents/MATLAB/startup.m', 7)) ([line 7](matlab: opentoline('/Users/mathieuboudreau/Documents/MATLAB/startup.m',7,0))) 
>> setupAgenticToolkit("install")
Warning: P-code file /Users/mathieuboudreau/Library/Application
Support/MathWorks/MATLAB
Add-Ons/setup_installer_staging@1.1.0/setupAgenticToolkit.p is older than source
code file /Users/mathieuboudreau/Library/Application Support/MathWorks/MATLAB
Add-Ons/setup_installer_staging@1.1.0/setupAgenticToolkit.m.
/Users/mathieuboudreau/Library/Application Support/MathWorks/MATLAB
Add-Ons/setup_installer_staging@1.1.0/setupAgenticToolkit.p may be obsolete and
may need to be regenerated.
Type "help pcode" for information about generating P-code. 

  MathWorks Agentic Toolkit Setup — Install
  —————————————————————————————————————————

  Detected:
    Platform:     macOS arm64
    MATLAB:       R2026b (/Applications/MATLAB_R2026b.app)

  Select toolkits to install:
    1. MATLAB Agentic Toolkit
    2. Simulink Agentic Toolkit
    3. Both

  Enter selection: 3

  Plan:
    - Download and install the MATLAB MCP Server
    - Install the MATLAB MCP Server Toolbox (enables agents to connect to a running MATLAB session)
    - Download the MATLAB Agentic Toolkit
    - Download the Simulink Agentic Toolkit

  Proceed? [Y/n]: y
  Checking for latest MCP server version...
  Downloading MATLAB MCP Server v0.11.1 for macOS arm64...
  MCP server binary installed to: /Users/mathieuboudreau/.matlab/agentic-toolkits/bin/matlab-mcp-server
  Installing MATLAB MCP Server Toolbox v0.11.1...
Warning: Failed to install MATLAB MCP Server Toolbox:
  Unrecognized function or variable 'knownNames'. 
> In [setupAgenticToolkit](matlab:matlab.lang.internal.introspective.errorDocCallback('setupAgenticToolkit'))
In [setupAgenticToolkit](matlab:matlab.lang.internal.introspective.errorDocCallback('setupAgenticToolkit'))
In [setupAgenticToolkit](matlab:matlab.lang.internal.introspective.errorDocCallback('setupAgenticToolkit')) 
  Downloading MATLAB Agentic Toolkit 2026.07.02...
  MATLAB Agentic Toolkit installed to: /Users/mathieuboudreau/.matlab/agentic-toolkits/matlab
  Downloading Simulink Agentic Toolkit 2026.07.02...
  Simulink Agentic Toolkit installed to: /Users/mathieuboudreau/.matlab/agentic-toolkits/simulink
  Merged marketplace.json written (28 plugins).

  Artifacts installed.

  Would you like to configure your coding agent now? [Y/n]:

Metadata

Metadata

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions