MCP Framework for MATLAB Production Server
Calling deployed MCP tools in MATLAB Production Server
Available on Github
Access the official MCP Framework for MATLAB Production Server on GitHub. This repository contains the source code, documentation, and examples to help you implement MCP tools with MATLAB Production Server.
The repository includes:
- Complete source code for the MCP Framework
- Implementation examples
- Documentation on setup and configuration
- Best practices for deploying MCP tools
How to configure Visual Studio Code with GitHub Copilot to use your MCP Tools
- Add a new MCP Server:
- For Windows
Ctrl-Shift-P - For Mac
Cmd-Shift-P
- For Windows
- choose MCP: Add Server
- Select HTTP
- Enter the URL of the MCP tool
https://production-server-demo.mathworks-workshop.com/primeSequence/mcp - Enter a name for your MCP tool
- Choose Global as the scope
- This will add your MCP tool the mcp.json configuration file
- Go to GitHub Copilot chat and make sure you are in Agent mode
- You can click on the gear icon in the GitHub Copilot chat input window to confirm that your MCP Server is in the list that will be queried
- Ask GitHub Copilot to perform a task that requires the MCP tool e.g. Generate me the first 10 prime numbers in a gaussian primeSequence
- After thinking for a while GitHub Copilot should call your MCP tool and display the result in the chat window
How to configure Claude Desktop to use your MCP Tools
⚠️ Note: You need a paid Claude account to use remote MCP servers- Launch Claude Desktop
- Click on your name in the bottom left corner of the app
- Choose Settings
- Choose Connectors
- Add Custom Connector
- Enter the name of your MCP tool
- Enter the URL of your MCP tool e.g.
https://production-server-demo.mathworks-workshop.com/primeSequence/mcp - Start a new chat
- Ask Claude to perform a task that requires the MCP tool e.g. Generate me the first 10 prime numbers in a gaussian primeSequence
- After thinking for a while Claude should call your MCP tool and display the result in the chat window