WM

williamcloudqi/matlab-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

54 stars 15 forks 품질 69 트렌드 0Apache-2.0

williamcloudqi/matlab-mcp-server는 MCP 서버 후보로 https://github.com/williamcloudqi/matlab-mcp-server.]에서 가져온

개요

williamcloudqi/matlab-mcp-server는 MCP 서버 후보로 https://github.com/williamcloudqi/matlab-mcp-server.]에서 가져온

개요(AI 번역)

우리는 모두에서 기여를 환영합니다.

AI를 사용하여 MATLAB를 통합하는 강력한 MCP 서버로 MATLAB 코드를 실행할 수 있으며, MATLAB 스크립트를 천연 언어 설명에서 생성하고, MATLAB 문서를 AI Assistant를 통해 직접 액세스 할 수 있습니다.

특징

자원

  • matlab://documentation/getting-started을 통해 MATLAB 문서 접근 ·
  • 예제 및 사용 설명서를 시작하십시오.

도구

  • execute_matlab_code - MATLAB 코드를 실행하고 결과를 얻을

  • MATLAB 명령 또는 스크립트를 실행

  • 미래의 참조에 대한 스크립트를 저장하는 옵션

  • 대화에서 직접 출력보기

  • generate_matlab_code - 자연 언어로 MATLAB 코드를 생성

  • 당신이 일반 언어로 수행 할 일을 설명

  • MATLAB 코드를 응답

  • 생성된 스크립트를 저장하는 옵션

개발

의존성 설치:

서버 구축:

auto-rebuild를 가진 발달을 위해:

요구 사항

  • MATLAB 설치
  • Node.js (v14 이상)

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 MATLAB MCP Server를 자동으로 설치하려면:

##1. 패키지 설치

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MATLAB MCP Server

We welcome contributions from everyone.

A powerful MCP server that integrates MATLAB with AI, allowing you to execute MATLAB code, generate MATLAB scripts from natural language descriptions, and access MATLAB documentation directly through your AI assistant.

Features

Resources

  • Access MATLAB documentation via matlab://documentation/getting-started URI
  • Get started guide with examples and usage instructions

Tools

  • execute_matlab_code - Execute MATLAB code and get results

    • Run any MATLAB commands or scripts
    • Option to save scripts for future reference
    • View output directly in your conversation
  • generate_matlab_code - Generate MATLAB code from natural language

    • Describe what you want to accomplish in plain language
    • Get executable MATLAB code in response
    • Option to save generated scripts

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Requirements

  • MATLAB installed on your system
  • Node.js (v14 or higher)

Installation

Installing via Smithery

To install MATLAB MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @WilliamCloudQi/matlab-mcp-server --client claude

1. Install the package

npm install -g matlab-mcp-server

Or clone the repository and build it yourself:

git clone https://github.com/username/matlab-mcp-server.git
cd matlab-mcp-server
npm install
npm run build

2. Configure cline to use the server

To use with cline , add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On 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": []
    }
  }
}

Replace /path/to/matlab/executable with the path to your MATLAB executable:

  • Windows: Usually C:\\Program Files\\MATLAB\\R2023b\\bin\\matlab.exe
  • macOS: Usually /Applications/MATLAB_R2023b.app/bin/matlab
  • Linux: Usually /usr/local/MATLAB/R2023b/bin/matlab

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @WilliamCloudQi/matlab-mcp-server --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "matlab-server": { "command": "node", "args": ["/path/to/matlab-server/build/index.js"], "env": { "MATLAB_PATH": "/path/to/matlab/executable" }, "disabled": false, "autoApprove": [] } } }