matlab-mcp-server
社区使用中by matlab
matlab-mcp-server 是 MathWorks 官方推出的 MCP 服务器,允许 AI 应用通过 Model Context Protocol 启动、运行和评估 MATLAB 代码,并支持 Claude Code、Visual Studio Code 等主流编码代理。该服务器为工程计算与 AI 工作流的结合提供了官方桥梁,可配合 MATLAB Agentic Too
安装配置
将以下配置添加到你的 AI 编程助手中
预览配置(粘贴到 claude_desktop_config.json 或 Cursor 设置中)
{
"mcpServers": {
"matlab-mcp-server": {}
}
}JSON配置
{}描述
MATLAB MCP Server
<p align="center"> English • <a href="l10n/README.es.md">Español</a> • <a href="l10n/README.ja.md">日本語</a> • <a href="l10n/README.ko.md">한국어</a> • <a href="l10n/README.zh-cn.md">简体中文</a> </p>Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. The MATLAB MCP Server allows your AI applications to:
- Start and quit MATLAB.
- Write and run MATLAB code.
- Assess your MATLAB code for style and correctness.
To assist your agent in using MATLAB and Simulink, you can use skills from MATLAB Agentic Toolkit (GitHub) and Simulink Agentic Toolkit (GitHub), which can also install this MCP server for you.
Table of Contents
- Setup
- Claude Code
- Claude Desktop
- GitHub Copilot in Visual Studio Code
- Codex
- Arguments
- Tools
- Resources
- Data Collection
- Security Considerations
- Licensing and Usage
- Contact Support
Setup
-
Install MATLAB (MathWorks) R2021a or later and add it to the system PATH. The MATLAB MCP Server supports MATLAB releases from the past five years.
-
The server supports any AI application that uses Model Context Protocol. To set up the MATLAB MCP Server for Claude Desktop, skip to the instructions for Claude Desktop. To set up the server for other applications, follow these instructions:
-
For Windows or Linux, Download the Latest Release. (Alternatively, you can build from source: install Go and build the binary using
go install github.com/matlab/matlab-mcp-server/cmd/matlab-mcp-server@latest). -
For macOS, first download the latest release by running the following command in your terminal:
- For Apple silicon processors, run:
curl -L -o ~/Downloads/matlab-mcp-server https://github.com/matlab/matlab-mcp-server/releases/latest/download/matlab-mcp-server-macos-arm64 - For Intel processors, run:
curl -L -o ~/Downloads/matlab-mcp-server https://github.com/matlab/matlab-mcp-server/releases/latest/download/matlab-mcp-server-macos-x64
Then grant executable permissions to the downloaded binary so you can run the MATLAB MCP Server:
chmod +x ~/Downloads/matlab-mcp-server - For Apple silicon processors, run:
-
-
Add the MATLAB MCP Server to your AI application. You can find instructions for adding MCP servers in the documentation of your AI application. For example instructions on using Claude Code®, Claude Desktop®, and GitHub Copilot in Visual Studio® Code, see below. Note that you can customize the server by specifying optional Arguments.
Claude Code
In your terminal, run the following, remembering to insert the full path to the server binary you acquired in the setup:
claude mcp add --transport stdio matlab -- /fullpath/to/matlab-mcp-server-binary
You can customize the server by specifying optional Arguments. Note the -- separator between Claude Code's options and the server arguments:
claude mcp add --transport stdio matlab -- /fullpath/to/matlab-mcp-server-binary --initial-working-folder=/home/username/myproject
For details on adding MCP servers in Claude Code, see Add a local stdio server (Claude Code). To remove the server later, run:
claude mcp remove matlab
Claude Desktop
You install the MATLAB MCP Server in Claude Desktop using the MATLAB MCP Server bundle.
-
Install the Filesystem extension in Claude Desktop to allow Claude to read and write files on your system. In Claude Desktop, click Settings > Extensions > Browse extensions. Search for the Filesystem extension developed by Anthropic and click Install. Specify the folders you want to allow the MCP server to access, then toggle the Disabled button to Enable the Filesystem extension.
-
Download the MATLAB MCP Server bundle
matlab-mcp-server.mcpbfrom the Latest Release page. -
To install the MATLAB MCP Server bundle as a desktop extension, double click the downloaded
matlab-mcp-server.mcpbfile and click Install in Claude Desktop. (Alternatively, navigate in Claude to File menu > Settings > Extensions > Advanced Settings > Install Extension and select thematlab-mcp-server.mcpbfile. Click Install).
To customize the behaviour of the MATLAB MCP Server,…
统计信息
1.4k
星标
117
Fork
Go
语言
2026/8/14
更新
标签
相关服务器
mcp-server-guide
Figma MCP server 将 Figma 设计文件中的设计信息直接提供给 AI 代理,使其能够基于设计生成代码、提取设计上下文(如变量、组件和布局数据),并支持通过 Code Connect 复用实际组件以提升代码一致性。该指南详细介绍了在 VS Code、Cursor 等 MCP 客户端中的安装与配置步骤,并说明了速率限制和 Beta 功能(如写入画布)的注意事项。
docs-mcp-server
docs-mcp-server 是一个开源的 MCP 服务器,为 AI 编程助手提供实时、版本精准的文档索引,可抓取网站、GitHub、npm、PyPI 及本地文件中的官方文档,有效减少 LLM 幻觉并支持本地私有化部署。它兼容 Claude、Cline、Copilot 等任意 MCP 客户端,支持 HTML、Markdown、PDF、Office 文档及 90+ 种源代码格式
mcp-use
mcp-use 是一个全栈 TypeScript 框架,用于构建、测试和部署 MCP 服务器、ChatGPT 插件及 Claude 连接器。它提供完全类型化的 Zod schema 流、原生 React Views 绑定、内置 Inspector 调试工具,并支持 Agent-first 的无头开发模式,可显著提升 MCP 应用的开发效率。
github-mcp-server
github-mcp-server 是 GitHub 官方发布的 MCP Server,用于将 AI 工具直接连接到 GitHub 平台,支持通过自然语言读取仓库与代码文件、管理 Issue 和 PR、分析代码、监控 GitHub Actions 工作流以及自动化开发流程。它提供远程托管和本地部署两种方式,兼容 VS Code、Claude Desktop、Cursor 等主流