Matlab
Enables execution of MATLAB code from Large Language Models (LLMs) through a Model Context Protocol (MCP) server.
This tool implements a Model Context Protocol (MCP) server for MATLAB, enabling seamless interaction between LLM agents and MATLAB using the MATLAB Engine API for Python. It provides a structured way for LLMs to execute MATLAB code, retrieve variables, and manage a shared MATLAB session, facilitating complex computations and data analysis within the LLM workflow.
主な機能
01Communicates results and errors as structured JSON for programmatic use.
02Runs MATLAB engine calls asynchronously to prevent blocking the server.
03Executes arbitrary MATLAB code snippets via the `runMatlabCode` tool.
04Connects to an existing shared MATLAB session.
05Retrieves variables from the MATLAB workspace using the `getVariable` tool.
064 GitHub stars
ユースケース
01Leveraging MATLAB's data analysis and visualization capabilities within LLM applications.
02Controlling Simulink models through LLM agents (future functionality).
03Integrating MATLAB computations into LLM-driven workflows.