matlab/matlab-mcp-server
Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
What it solves
This project provides a bridge between AI applications and MATLAB, allowing AI agents to interact with the MATLAB environment directly. It solves the problem of AI models being unable to execute code, manage sessions, or verify the correctness of MATLAB scripts without a standardized interface.
How it works
It implements the Model Context Protocol (MCP), which allows AI applications (like Claude Desktop, Claude Code, or GitHub Copilot in VS Code) to call specific tools and access resources. The server manages the MATLAB session—either by starting a new one or connecting to an existing one—and translates AI requests into MATLAB commands.
Who it’s for
Engineers, researchers, and developers who use MATLAB and want to leverage AI agents to automate code generation, execution, and testing within their MATLAB workspace.
Highlights
- Direct Execution: AI agents can write and run MATLAB code or execute existing
.m files.
- Static Analysis: Includes a tool to assess MATLAB code for style and correctness without executing it.
- Session Management: Supports starting new MATLAB sessions or connecting to existing ones (R2023a+).
- Integrated Guidelines: Provides AI agents with built-in coding standards and live script guidelines to improve generated code quality.
- Broad Compatibility: Works with various MCP-compliant AI clients including Claude and VS Code.
Related
- Project
matlab/simulink-agentic-toolkitThe Simulink Agentic Toolkit is a MATLAB add‑on that connects LLM coding agents (Claude Code, Copilot, Codex, Gemini, etc.) to Simulink via a Model‑Context‑Protocol (MCP) server. It provides a catalog of Model‑Based Design skills and concrete tools (read, edit, test, check, query) so agents can safely manipulate Simulink models, generate tests, and enforce best practices. Installation is automated through a toolbox installer, and the toolkit works with MATLAB R2023a+ and optional MathWorks products (e.g., Simulink Test).
- Project
matlab/matlab-agentic-toolkitThe MATLAB Agentic Toolkit is a MathWorks add‑on that connects LLM coding assistants (Claude Code, Copilot, Codex, Gemini, etc.) to a running MATLAB session via a local MCP server. It installs the server, loads curated “skills” covering core MATLAB and dozens of toolboxes, and exposes tools (run code, run tests, static analysis, list toolboxes) that the AI can call. This reduces hallucinations and token use, letting agents generate, test, and debug MATLAB code reliably.
- Project
MicrosoftDocs/mcpA Model Context Protocol (MCP) server that gives AI assistants direct, real-time access to official Microsoft technical documentation and code samples to prevent hallucinations.
- Project
zereight/gitlab-mcpGitLab MCP Server is a lightweight, install‑once binary that exposes GitLab’s API as 275 MCP‑compatible tools (issues, merge‑requests, pipelines, wiki, releases, etc.) for AI agents. It supports PAT or OAuth authentication, multiple transports (stdio, SSE, streamable HTTP), fine‑grained permission modes, and can run locally, in Docker, or on custom GitLab instances. Designed for Claude, Codex, Cursor, VS Code, Copilot and other MCP clients, it lets LLM‑driven workflows manage GitLab resources without writing custom code.
- Project
googleapis/mcp-toolboxMCP Toolbox is an open‑source server that lets AI agents and IDEs talk to enterprise databases via the Model Context Protocol. It offers ready‑made database tools and a framework for defining custom, secure SQL/semantic‑search tools, with SDKs for Python, JS/TS, Go, and Java.