MCP Catalogs
首页

matlab-mcp-core-server

by matlab·636·综合分 53

官方 MATLAB MCP 服务器,让 AI 应用程序能够执行 MATLAB 代码并访问 MATLAB 功能。

developer-toolsai-llmproductivity
62
Forks
30
活跃 Issue
本月
最近提交
2 天前
收录于

概述

MATLAB MCP 核心服务器是 MathWorks 官方实现的协议,允许 Claude Code 和 VS Code 中的 GitHub Copilot 等 AI 编码助手与 MATLAB 交互。它提供启动/退出 MATLAB、运行 MATLAB 代码以及检查代码风格和正确性的工具。服务器支持独立的 MATLAB 会话和连接到现有的 MATLAB 实例。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 编码助手生成和调试 MATLAB 代码
:自动化分析 MATLAB 脚本的代码质量
:将 MATLAB 功能集成到 AI 开发工作流中
:支持哪些 MATLAB 版本?
:我可以连接到现有的 MATLAB 会话吗?

什么时候选它

在使用 MATLAB 环境并需要 AI 辅助进行代码开发、分析或执行时选择此服务器。

什么时候不要选它

如果没有 MATLAB 许可证应避免使用此服务器,因为需要有效的 MATLAB 安装;如果担心与 MathWorks 的供应商锁定问题,请考虑替代方案。

此 server 暴露的工具

从 README 抽取出 5 个工具
  • detect_matlab_toolboxes

    Returns information about installed MATLAB and toolboxes, including version numbers

  • check_matlab_code

    Performs static code analysis on a MATLAB script to identify code quality issues

  • evaluate_matlab_code

    Evaluates a string of MATLAB code and returns the output

  • run_matlab_file

    Executes a MATLAB script file and returns the output

  • run_matlab_test_file

    Executes a MATLAB test script and returns comprehensive test results

可对比工具

octave-mcppython-mcp-serverjulia-mcp-server

安装

安装步骤

  1. 安装 MATLAB 2021a 或更高版本并添加到系统 PATH
  1. 为您的平台下载最新版本或从源代码构建:

``bash go install github.com/matlab/matlab-mcp-core-server/cmd/matlab-mcp-core-server@latest ``

  1. 对于 Claude Desktop,先安装 Filesystem 扩展,然后下载并安装 matlab-mcp-core-server.mcpb
  1. 对于 Claude Code,运行:

``bash claude mcp add --transport stdio matlab -- /path/to/matlab-mcp-core-server ``

  1. 对于 VS Code 中的 GitHub Copilot,创建 .vscode/mcp.json 文件,内容如下:

``json { "servers": { "matlab": { "type": "stdio", "command": "/path/to/matlab-mcp-core-server", "args": [] } } } ``

FAQ

支持哪些 MATLAB 版本?
该服务器支持过去五年内的 MATLAB 版本,从 MATLAB 2021a 开始。
我可以连接到现有的 MATLAB 会话吗?
是的,使用 --matlab-session-mode=existing 参数和 MATLAB 中的 shareMATLABSession() 函数。

matlab-mcp-core-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。