matlab-mcp-server
Provides an MCP server that lets MCP-compatible clients execute MATLAB code in a persistent session, manage MATLAB workspace variables, perform figure operations, and move data in/out (CSV/JSON/XLSX/MAT), plus access environment info and MATLAB help/toolbox metadata.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
No authentication/authorization or transport security is documented (stdio-based MCP setup implies local IPC rather than network security). The core functionality executes MATLAB code and accesses the filesystem/data via import/export, so safety depends on controlling what the agent can request and on sandboxing/host permissions. README discusses environment variables for MATLAB library paths but does not describe secret handling practices.
⚡ Reliability
Best When
You have local MATLAB installed and want an MCP tool interface to integrate MATLAB into agent-driven analysis, plotting, and data preparation pipelines.
Avoid When
You need a managed hosted service, require authentication/authorization beyond local process boundaries, or cannot control the execution environment for safety reasons.
Use Cases
- • Running MATLAB computations from an MCP-enabled agent workflow
- • Programmatic access to MATLAB workspace state (get/set/list/clear variables)
- • Automated figure generation and export (PNG/SVG/PDF, etc.) from agent calls
- • Importing/exporting datasets between MATLAB and external tools via JSON/CSV/XLSX/MAT
- • Querying MATLAB version/toolboxes and retrieving MATLAB help/search results
Not For
- • Internet-facing use without additional network controls (it executes arbitrary MATLAB code)
- • Use cases requiring strong tenant isolation between different users/agents
- • Environments where dependency on local MATLAB Engine API cannot be satisfied
- • High-level REST/GraphQL clients expecting HTTP endpoints and an OpenAPI contract
Interface
Authentication
The README describes running the server locally via an MCP stdio transport; no authentication/authorization mechanism is documented for protecting tool execution.
Pricing
Open-source (MIT) and self-hosted; costs are primarily local infrastructure and MATLAB licensing.
Agent Metadata
Known Gotchas
- ⚠ Tool calls execute arbitrary MATLAB code; agent outputs may trigger unexpected side effects unless you restrict inputs.
- ⚠ Workspace is persistent within a session; prior variables/figures may affect later calls.
- ⚠ Correct MATLAB Engine setup and library path environment variables (LD_LIBRARY_PATH/DYLD_LIBRARY_PATH) are required for stable startup.
Alternatives
Full Evaluation Report
Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for matlab-mcp-server.
AI-powered analysis · PDF + markdown · Delivered within 30 minutes
Package Brief
Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.
Delivered within 10 minutes
Score Monitoring
Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.
Continuous monitoring
Scores are editorial opinions as of 2026-03-30.