Error in linking Claude with MATLAB using MCP server
Show older comments
I tried to link my claude with MATLAB using the MCP server. However there is some issue in the connection. I am receing these error messges in claude:
Could not attach to MCP server MATLAB
MCP MATLAB: Server disconnected.
Unable to connect to extension server. Please try disabling and re-enabling the extension.
I downloaded the MCP server from github and added it to the extensions in claude. I tried both - mcpb version (matlab-mcp-core-server.mcpb) and the win64 application (matlab-mcp-core-server-win64) method to try adding the extension. Still some command or settings is blocking the process.
I have also attached the screenshots of the extensions and developer tabs of claude for reference.


Is there any other setting or procedure I am missing? What might be the error here...
3 Comments
Szymon
on 4 Apr 2026
Same problem! Mathworks and Anthropic should do something about it.
Yifan
on 13 Apr 2026 at 7:54
Similar problem found. Under the same setup, Claude desktop is the only application that fails to use Matlab MCP server. I believe the extension is correctly configured for Claude, and Claude recognizes it when trying to bridge Matlab software. But the server itself fails to request that, and Claude just waits for a response until timeout. This does not happen to any other agent after being tested, such as Codex or Opencode. It is a UNIQUE problem for Claude using Matlab MCP server. Waiting for a solution.
Gareth
on 16 Apr 2026 at 15:40
In the v0.8 MCPB release we added an optional Log Folder directory setting. Could you try setting this to a short, existing folder path on your local machine that you know is writable?
This can help if the issue is related to filesystem access or path length. If the problem persists, that folder should contain log files which may help with further debugging. Additional support is available via GitHub here:
https://github.com/matlab/matlab-mcp-core-server?tab=readme-ov-file#contact-support
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Programming Utilities in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!