Reference MCP server configurations for manual setup. Each file is a starting point for a specific agent platform.
Prefer automated setup — launch your agent in the toolkit repo and ask it to "set up the MATLAB Agentic Toolkit." These templates are for users who prefer or need to configure manually.
- Copy the template for your platform to the location your agent expects (see table below)
- Replace
/path/to/matlab-mcp-core-serverwith the absolute path to your installed binary - If MATLAB is not on PATH, add
--matlab-root /path/to/MATLAB/R20XXxto the args
| File | Platform | Copy to |
|---|---|---|
codex-mcp.json |
OpenAI Codex | Use codex mcp add instead, or edit ~/.codex/config.toml |
gemini-extension.json |
Gemini CLI | Project root, then gemini extensions link . (local dev) or gemini extensions install (from GitHub) |
vscode-mcp.json |
GitHub Copilot / VS Code | .vscode/mcp.json in each project |
amp-settings.json |
Sourcegraph Amp | ~/.config/amp/settings.json (global) or .amp/settings.json (project) |
For full instructions, see Configuration and Troubleshooting.
Copyright 2026 The MathWorks, Inc.