|
我vscode命令行中输入 matlab-mcp-core-server --setup-matlab,显示了Successfully setup MATLAB.但后续在vscode copilot中却无法通过@来使用mcp插件,我想知道输入matlab-mcp-core-server --setup-matlab后,我还需要写mcp.json文件来使用matlab mcp吗? |
Replies: 1 comment
|
Hi @CAGTB, thank you for your interest in the MATLAB MCP Core Server! The To use the MATLAB MCP Core Server with GitHub Copilot in VS Code, you need to create a
{
"servers": {
"matlab": {
"type": "stdio",
"command": "C:\\fullpath\\to\\matlab-mcp-core-server-win64.exe",
"args": []
}
}
}Replace For more information, see Add and Manage MCP servers in VS Code. |
Hi @CAGTB, thank you for your interest in the MATLAB MCP Core Server!
The
--setup-matlabcommand is only needed if you want to connect to an already running MATLAB using--matlab-session-mode=existing. It installs a toolbox in MATLAB but does not register the server with VS Code.To use the MATLAB MCP Core Server with GitHub Copilot in VS Code, you need to create a
.vscode/mcp.jsonfile in your workspace. From the README: