
使用MathWorks®官方的MATLAB MCP服务器,使用AI应用程序运行MATLAB®。该MATLAB的MCP服务器支持多种编码代理,如Claude Code®和Visual Studio® Code。
概览
自 v0.11.0 起,MATLAB MCP 核心服务器已更名为 MATLAB MCP 服务器。在此更改后,要使用最新版本的服务器,您必须更新设置。 使用MathWorks®官方的MATLAB MCP服务器,使用AI应用程序运行MATLAB®。MATLAB MCP服务器允许您的AI应用能够: - 开始并退出MATLAB。- 编写并运行MATLAB代码。- 评估你的MATLAB代码的样式和正确性。 为了帮助你的代理使用 MATLAB 和 Simulink,你可以使用 MATLAB Agentic Toolkit(GitHub)和 Simulink Agentic Toolkit(GitHub)中的技能,它们也能帮你安装这个 MCP 服务器。 1. 安装 MATLAB(MathWorks)R2021a 或更高版本,并将其添加到系统 PATH。MATLAB MCP 服务器支持过去五年的 MATLAB 版本。1. 服务器支持任何使用 Model Context 协议的 AI 应用程序。要为 Claude Desktop 设置 MATLAB MCP 服务器,请跳到 Claude Desktop 的说明。
概述(AI 翻译)
英语 • 西班牙语 • 日本語 • 한국어 • 简体中文
使用MathWorks®官方的MATLAB MCP服务器,使用AI应用程序运行MATLAB®。MATLAB MCP服务器允许您的AI应用能够:
- 开始并退出MATLAB。
- 编写并运行MATLAB代码。
- 评估你的MATLAB代码的样式和正确性。
为了帮助你的代理使用 MATLAB 和 Simulink,你可以使用 MATLAB Agentic Toolkit(GitHub)和 Simulink Agentic Toolkit(GitHub)中的技能,它们也能帮你安装这个 MCP 服务器。
目录
- 设置
- 克劳德密码
- Claude桌面
- Visual Studio Code 中的 GitHub Copilot
- 法典
- 论证
- 工具
- 资源
- 数据收集
- 安全考量
- 许可与使用
- 联系支持团队
布置
- 安装 MATLAB(MathWorks)R2021a 或更高版本,并将其添加到系统 PATH。
- 服务器支持任何使用模型上下文协议的人工智能应用程序。要为 Claude Desktop 设置 MATLAB MCP 服务器,请跳到 Claude Desktop 的说明。要为其他应用程序设置服务器,请按照以下步骤操作:
- 对于Windows或Linux,下载最新版本。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MATLAB MCP Server
English • Español • 日本語 • 한국어 • 简体中文
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.
If you use Claude Code®, GitHub® Copilot CLI, or OpenAI® Codex, MathWorks recommends you install this MCP server using the Agentic Toolkit Installer (GitHub), which is the easiest way to configure these AI coding agents to use MATLAB and Simulink.
Otherwise, you can install this MCP server manually using the instructions for Manual Setup.
Table of Contents
- Manual Setup
- Arguments
- Tools
- Resources
- Data Collection
- Security Considerations
- Licensing and Usage
- Contact Support
Manual Setup
To set up the MATLAB MCP Server manually, rather than using the Agentic Toolkit Installer (GitHub), follow these instructions:
-
Install MATLAB (MathWorks) R2021a or later and add it to the system PATH.
-
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:
- For Apple silicon processors, run:
-
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →