MATLAB MCP Server
MATLAB MCP 服务器

我们欢迎大家的贡献。
Related MCP server: MATLAB MCP Tool
一个强大的 MCP 服务器,将 MATLAB 与 AI 集成在一起,允许您执行 MATLAB 代码,从自然语言描述生成 MATLAB 脚本,并直接通过您的 AI 助手访问 MATLAB 文档。
特征
资源
通过
matlab://documentation/getting-startedURI 访问 MATLAB 文档包含示例和使用说明的入门指南
工具
execute_matlab_code- 执行 MATLAB 代码并获取结果运行任何 MATLAB 命令或脚本
可选择保存脚本以供将来参考
直接在对话中查看输出
generate_matlab_code- 从自然语言生成 MATLAB 代码用简单的语言描述你想要实现的目标
获取可执行的 MATLAB 代码作为响应
保存生成的脚本的选项
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch要求
您的系统上已安装 MATLAB
Node.js(v14 或更高版本)
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 MATLAB MCP 服务器:
npx -y @smithery/cli install @WilliamCloudQi/matlab-mcp-server --client claude1. 安装软件包
npm install -g matlab-mcp-server或者克隆存储库并自行构建:
git clone https://github.com/username/matlab-mcp-server.git
cd matlab-mcp-server
npm install
npm run build2.配置cline使用服务器
要与 cline 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"matlab-server": {
"command": "node",
"args": ["/path/to/matlab-server/build/index.js"],
"env": {
"MATLAB_PATH": "/path/to/matlab/executable"
},
"disabled": false,
"autoApprove": []
}
}
}将/path/to/matlab/executable替换为您的 MATLAB 可执行文件的路径:
Windows:通常为
C:\\Program Files\\MATLAB\\R2023b\\bin\\matlab.exemacOS:通常为
/Applications/MATLAB_R2023b.app/bin/matlabLinux:通常为
/usr/local/MATLAB/R2023b/bin/matlab
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAllows interaction with MATLAB by creating and executing scripts and functions through Claude or other MCP clients, supporting script management and execution result retrieval with environment configuration capabilities.39
- AlicenseNot gradedqualityDmaintenanceEnables interactive MATLAB development by allowing users to execute scripts and specific code sections, manage workspace variables, and capture generated plots. It integrates with the MATLAB Python Engine to provide persistent execution context for MCP-compatible clients.18BSD 3-Clause
- AlicenseAqualityAmaintenanceMCP server that connects any AI agent to MATLAB — execute code, async jobs, interactive Plotly plots, custom tools, and monitoring dashboard205MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to control MATLAB Simulink models through natural language, providing tools for model creation, block management, wiring, simulation, and more via a local MCP backend.3MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WilliamCloudQi/matlab-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server